/* modern.css: the Modern shell (Nov 19 2026). The same pages and data as the paper, in a plain
   app wrapper: one header row, the section's pages as pills, an icon tab bar, white rounded
   cards with colour pictures. Loaded after everything else; every rule is scoped to
   html[data-shell="modern"], so the paper is untouched. Section files: css/modern-<tab>.css. */

/* ------------------------------------------------------------ tokens */
html:root[data-shell="modern"][data-look] {
  color-scheme: light;
  --paper: #F7F6F3; --paper-2: #ECEAE4; --card: #FFFFFF; --ink: #1F1F1F; --ink-2: #4A4A48; --ink-3: #76746F;
  --rule: #E6E3DC; --rule-2: #E6E3DC; --rule-w: 1px; --accent: #CF4A16; --accent-ink: #FFFFFF;
  --f-head: "DM Sans", -apple-system, "Helvetica Neue", Arial, sans-serif; --f-body: var(--f-head); --f-ui: var(--f-head); --f-mark: var(--f-head);
  --mark-w: 800; --mark-style: normal; --mark-ls: -.04em; --mark-tt: none;
  --head-w: 700; --head-style: normal; --head-ls: -.018em; --head-tt: none; --head-scale: 1;
  --img-filter: none; --img-blend: normal; --halftone: 0; --grain: 0;
  --glass: rgba(255, 255, 255, .9); --glass-line: rgba(255, 255, 255, 0); --glass-edge: var(--rule);
  --glass-on: #1F1F1F; --glass-on-ink: #FFFFFF; --glass-shadow: 0 1px 2px rgba(0, 0, 0, .05);
  --box: #FFFFFF; --r: 14px; --r-s: 10px;
  --shadow: 0 1px 2px rgba(20, 18, 14, .05), 0 8px 24px rgba(20, 18, 14, .06); --shadow-up: var(--shadow);
  --cream: var(--paper); --cream-2: var(--paper-2); --thumb-bg: var(--paper-2);
  --bar-h: 58px; --strip-h: 52px;
}
/* dark: the Dark button in this shell (data-mode), or Night already chosen in the paper */
html:root[data-shell="modern"][data-look="night"], html:root[data-shell="modern"][data-mode="dark"][data-look] {
  color-scheme: dark;
  --paper: #121314; --paper-2: #26282B; --card: #1C1D20; --ink: #F3F2EF; --ink-2: #C3C1BB; --ink-3: #8F8D87;
  --rule: #2E3033; --rule-2: #2E3033; --accent: #F0703B; --accent-ink: #121314;
  --glass: rgba(28, 29, 32, .92); --glass-edge: var(--rule); --glass-on: #F3F2EF; --glass-on-ink: #121314;
  --box: #1C1D20; --shadow: 0 1px 2px rgba(0, 0, 0, .4);
}
html[data-shell="modern"] body { font: 16px/1.45 var(--f-body); background-image: none; padding-bottom: calc(var(--bar-h) + 24px + env(safe-area-inset-bottom, 0px)); }
html[data-shell="modern"] body::before { display: none; }

/* ------------------------------------------------------------ the header: one row */
html[data-shell="modern"] .mast { padding: calc(10px + env(safe-area-inset-top, 0px)) var(--gutter) 0; }
html[data-shell="modern"] .mtop { display: flex; align-items: center; gap: 8px; min-height: 44px; }
html[data-shell="modern"] .mtitle { flex: 1; min-width: 0; margin: 0; font: 800 28px/1.1 var(--f-head); letter-spacing: -.035em; color: var(--ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
html[data-shell="modern"] .mast.sub .mtitle { font-size: 21px; letter-spacing: -.02em; }
html[data-shell="modern"] .mpage { margin: 2px 0 0; font: 600 14px/1.3 var(--f-ui); color: var(--ink-2); }
html[data-shell="modern"] .gbtn { width: 40px; height: 40px; background: var(--card); border: 1px solid var(--rule); box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; color: var(--ink); }
html[data-shell="modern"] .gbtn.back { font: 500 26px/1 var(--f-head); }
html[data-shell="modern"] .dateline { margin: 2px 0 0; text-align: left; font: 500 13px/1.3 var(--f-ui); font-style: normal; color: var(--ink-3); }
html[data-shell="modern"] .mast-sub { font: 400 14px/1.4 var(--f-ui); font-style: normal; color: var(--ink-2); }

/* scope and views: segmented controls */
html[data-shell="modern"] .controls { margin-top: 10px; padding-bottom: 0; border-bottom: 0; }
html[data-shell="modern"] .sw { padding: 3px; gap: 0; background: var(--paper-2); border-radius: 999px; font: 600 13px/1 var(--f-ui); letter-spacing: 0; text-transform: none; color: var(--ink-2); }
html[data-shell="modern"] .sw a, html[data-shell="modern"] .sw a:first-child { padding: 7px 12px; border-radius: 999px; border: 0; }
html[data-shell="modern"] .sw .on { background: var(--card); color: var(--ink); text-decoration: none; box-shadow: 0 1px 2px rgba(0, 0, 0, .08); }
html[data-shell="modern"] .views { padding: 3px; gap: 0; background: var(--paper-2); border-radius: 999px; color: var(--ink-3); }
html[data-shell="modern"] .views button { width: 34px; height: 28px; border-radius: 999px; }
html[data-shell="modern"] .views button.on { background: var(--card); color: var(--ink); box-shadow: 0 1px 2px rgba(0, 0, 0, .08); }

/* stories: colour, an accent ring */
html[data-shell="modern"] .stories { margin-top: 12px; gap: 12px; }
html[data-shell="modern"] .story .ring { border: 2px solid var(--accent); padding: 2px; }
html[data-shell="modern"] .story .ring img { filter: none; mix-blend-mode: normal; }
html[data-shell="modern"] .story small { font: 600 11px/1.2 var(--f-ui); letter-spacing: 0; text-transform: none; color: var(--ink-2); }

/* search */
html[data-shell="modern"] .searchbar input { background: var(--card); border: 1px solid var(--rule); font: 500 16px/1 var(--f-ui); }

/* ------------------------------------------------------------ the section's pages, and a page's filters */
html[data-shell="modern"] .pillbar { top: env(safe-area-inset-top, 0px); padding: 8px 0 8px; pointer-events: auto; background: color-mix(in srgb, var(--paper) 90%, transparent); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
html[data-shell="modern"] .pillbar .chips { padding: 0 var(--gutter); gap: 8px; border-radius: 0; background: none; border: 0; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
html[data-shell="modern"] .chip { padding: 9px 14px; border-radius: 999px; background: var(--card); border: 1px solid var(--rule); color: var(--ink); font: 600 14px/1 var(--f-ui); letter-spacing: 0; text-transform: none; }
html[data-shell="modern"] .chip.on { background: var(--ink); border-color: var(--ink); color: var(--paper); }
html[data-shell="modern"] .pagestrip .chip .pc { display: none; }
html[data-shell="modern"] .chip b { background: var(--accent); color: var(--accent-ink); }
html[data-shell="modern"] .chip.on b { background: var(--paper); color: var(--ink); }
html[data-shell="modern"] .filters { padding: 2px 0 0; }
html[data-shell="modern"] .filters .chips { padding: 0 var(--gutter) 4px; gap: 6px; border-bottom: 0; }
html[data-shell="modern"] .filters .chip { padding: 7px 12px; border-radius: 999px; border: 1px solid var(--rule); background: none; color: var(--ink-2); font: 600 13px/1 var(--f-ui); letter-spacing: 0; text-transform: none; }
html[data-shell="modern"] .filters .chip.on { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }

/* ------------------------------------------------------------ the tab bar: icons, full width */
html[data-shell="modern"] .bar { left: 0; right: 0; bottom: 0; padding: 6px 6px calc(6px + env(safe-area-inset-bottom, 0px)); border-radius: 0; border: 0; border-top: 1px solid var(--rule); background: var(--glass); box-shadow: none; }
html[data-shell="modern"] .bar a { gap: 3px; padding: 5px 2px 3px; border-radius: 12px; color: var(--ink-3); }
html[data-shell="modern"] .bar a svg { width: 24px; height: 24px; }
html[data-shell="modern"] .bar a span { font: 600 10.5px/1 var(--f-ui); letter-spacing: 0; }
html[data-shell="modern"] .bar a.on { background: none; color: var(--accent); }

/* ------------------------------------------------------------ the two floating switches */
.shellbtn { position: fixed; left: 14px; bottom: calc(var(--bar-h) + 26px + env(safe-area-inset-bottom, 0px)); z-index: 60; padding: 9px 13px; border-radius: 999px; 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); color: var(--ink); font: 700 10px/1 var(--f-ui); letter-spacing: .16em; text-transform: uppercase; }
html[data-shell="modern"] .shellbtn, html[data-shell="modern"] .lookbtn { bottom: calc(var(--bar-h) + 14px + env(safe-area-inset-bottom, 0px)); background: var(--card); border: 1px solid var(--rule); box-shadow: var(--shadow); -webkit-backdrop-filter: none; backdrop-filter: none; font: 600 12px/1 var(--f-ui); letter-spacing: 0; text-transform: none; }
html[data-shell="modern"] .lookbox { display: none; }

/* ------------------------------------------------------------ type on every card */
html[data-shell="modern"] .hed { font-family: var(--f-head); font-weight: 700; font-style: normal; text-transform: none; letter-spacing: -.018em; }
html[data-shell="modern"] .line { font: 400 14.5px/1.42 var(--f-body); font-style: normal; color: var(--ink-2); }
html[data-shell="modern"] .meta, html[data-shell="modern"] .kicker { font: 600 12px/1.2 var(--f-ui); letter-spacing: 0; text-transform: none; color: var(--ink-3); }
html[data-shell="modern"] .meta .feed, html[data-shell="modern"] .kicker { color: var(--accent); }
html[data-shell="modern"] .meta time { font: 500 12px/1.2 var(--f-ui); letter-spacing: 0; text-transform: none; }
html[data-shell="modern"] .meta time::before { content: "· "; }

/* pictures: colour, rounded, no screen */
html[data-shell="modern"] .pic, html[data-shell="modern"] .lthumb, html[data-shell="modern"] .hero-pic { border-radius: var(--r-s); overflow: hidden; background: var(--paper-2); }
html[data-shell="modern"] .pic img, html[data-shell="modern"] .tile img, html[data-shell="modern"] .lthumb img, html[data-shell="modern"] .hero-pic img { filter: none; mix-blend-mode: normal; }
html[data-shell="modern"] .pic::after, html[data-shell="modern"] .hero-pic::after { display: none; }
/* only the picture plate's date stamp goes; .stamp elsewhere is a checked-on date or a source and stays */
html[data-shell="modern"] .plain > .stamp { display: none; }

/* ------------------------------------------------------------ cards: white, rounded, picture first */
html[data-shell="modern"] .feedlist { display: flex; flex-direction: column; gap: 12px; padding-top: 12px; }
html[data-shell="modern"] .card { margin: 0; padding: 14px; border: 0; border-radius: var(--r); background: var(--card); box-shadow: var(--shadow); }
html[data-shell="modern"] .card > .meta { order: 9; margin: 10px 0 0; }
html[data-shell="modern"] .card > .kicker { order: 1; margin: 0 0 4px; }
html[data-shell="modern"] .card .txt > .meta { order: 9; margin: 8px 0 0; }
html[data-shell="modern"] .card .txt > .kicker { order: 0; }
/* the lead and the photo card: the picture bleeds to the card's top edge, the words follow */
html[data-shell="modern"] .card.lead, html[data-shell="modern"] .card.photo { padding: 0 0 14px; overflow: hidden; border-bottom: 0; }
html[data-shell="modern"] .card.lead > .plain, html[data-shell="modern"] .card.photo > .plain { order: 0; margin: 0 0 12px; }
html[data-shell="modern"] .card.lead .pic, html[data-shell="modern"] .card.photo .pic { border-radius: 0; }
html[data-shell="modern"] .card.lead > :not(.plain), html[data-shell="modern"] .card.photo > :not(.plain) { margin-left: 14px; margin-right: 14px; }
html[data-shell="modern"] .card.lead > .kicker, html[data-shell="modern"] .card.photo > .kicker { order: 1; margin-top: 0; }
html[data-shell="modern"] .card.lead:not(:has(.plain)), html[data-shell="modern"] .card.photo:not(:has(.plain)) { padding-top: 14px; }
html[data-shell="modern"] .card.lead .hed { order: 2; font-size: 25px; line-height: 1.14; font-weight: 800; letter-spacing: -.025em; }
html[data-shell="modern"] .card.lead > .line { order: 3; margin-top: 6px; font-size: 15.5px; line-height: 1.4; }
html[data-shell="modern"] .card.lead .pic.wide { aspect-ratio: 16 / 10; }
html[data-shell="modern"] .card.photo .hed { order: 2; font-size: 19px; line-height: 1.2; }
html[data-shell="modern"] .card.photo > .line { order: 3; margin-top: 4px; }
/* pairs: two cards side by side */
html[data-shell="modern"] .pair { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; border-bottom: 0; }
html[data-shell="modern"] .pair .pcard, html[data-shell="modern"] .pair .pcard + .pcard { margin: 0; padding: 0 0 12px; border: 0; overflow: hidden; }
html[data-shell="modern"] .pcard .plain { order: 0; }
html[data-shell="modern"] .pcard .pic { border-radius: 0; }
html[data-shell="modern"] .pcard > :not(.plain) { margin-left: 12px; margin-right: 12px; }
html[data-shell="modern"] .pcard .hed { order: 2; margin-top: 10px; font-size: 15.5px; line-height: 1.22; }
html[data-shell="modern"] .pcard > .meta { order: 9; margin-top: 8px; margin-bottom: 0; }
html[data-shell="modern"] .ptile { margin: 0 !important; min-height: 110px; padding: 12px; border-top: 0; border-radius: 0; background: var(--ink) !important; }
html[data-shell="modern"] .ptile .hed { margin: 0; font-size: 17px; color: var(--paper); }
/* rows */
html[data-shell="modern"] .card.row { flex-direction: row; gap: 12px; align-items: flex-start; }
html[data-shell="modern"] .card.compact { padding: 12px; }
html[data-shell="modern"] .card.compact .hed { font-size: 16.5px; line-height: 1.22; }
html[data-shell="modern"] .card.row .pic.thumb, html[data-shell="modern"] .card.row .pic.thumb.sm { width: 72px; height: 72px; }
/* things you do: the same white card with an accent edge where the paper boxed it */
html[data-shell="modern"] .card.porch, html[data-shell="modern"] .card.ev, html[data-shell="modern"] .card.tonight, html[data-shell="modern"] .card.game { margin: 0; padding: 14px; border: 0; border-radius: var(--r); background: var(--card); box-shadow: var(--shadow); }
html[data-shell="modern"] .card.ev .pic.thumb, html[data-shell="modern"] .card.porch .pic.thumb, html[data-shell="modern"] .card.porch .pic.wide { border-radius: var(--r-s); }
html[data-shell="modern"] .card.porch .hed, html[data-shell="modern"] .card.ev .hed, html[data-shell="modern"] .card.tonight .hed { font-size: 18px; line-height: 1.2; font-weight: 700; }
html[data-shell="modern"] .card.porch .kicker, html[data-shell="modern"] .card.tonight .kicker { font: 700 12px/1.2 var(--f-ui); letter-spacing: 0; text-transform: none; color: var(--accent); }
html[data-shell="modern"] .card.tonight .kicker { border-bottom: 0; padding-bottom: 2px; }
html[data-shell="modern"] .card.tonight .tn-time { font: 700 13px/1.4 var(--f-ui); letter-spacing: 0; }
html[data-shell="modern"] .card.invite, html[data-shell="modern"] .card.porch.maple { background: var(--accent); color: var(--accent-ink); border: 0; }
html[data-shell="modern"] .card.invite .hed, html[data-shell="modern"] .card.porch.maple .hed { color: var(--accent-ink); font-size: 24px; font-weight: 800; }
html[data-shell="modern"] .card.invite .lines li, html[data-shell="modern"] .card.porch.maple .lines li { border-radius: 999px; }
html[data-shell="modern"] .card.invite .door, html[data-shell="modern"] .card.porch.maple .door { background: #fff; color: #1F1F1F; border-color: #fff; }
html[data-shell="modern"] .card.invite .door.going, html[data-shell="modern"] .card.porch.maple .door.going { background: #1F1F1F; color: #fff; border-color: #1F1F1F; }
html[data-shell="modern"] .card.porch.dusk, html[data-shell="modern"] .card.porch.sun, html[data-shell="modern"] .card.porch.moss { background: var(--card); border-left: 4px solid var(--accent); }

/* doors and small buttons: pills */
html[data-shell="modern"] .doors { gap: 6px; font: 600 13px/1 var(--f-ui); letter-spacing: 0; text-transform: none; }
html[data-shell="modern"] .door { padding: 9px 13px; border: 1px solid var(--rule); border-radius: 999px; background: var(--card); color: var(--ink); }
html[data-shell="modern"] .door.going { background: var(--ink); color: var(--paper); border-color: var(--ink); }
html[data-shell="modern"] .door.going.on { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
html[data-shell="modern"] .doorline { font: 600 12.5px/1 var(--f-ui); letter-spacing: 0; text-transform: none; }
html[data-shell="modern"] .tile-doors a, html[data-shell="modern"] .card.tonight .tile-doors a, html[data-shell="modern"] .pcard .tile-doors a { border-radius: 999px; border: 1px solid var(--rule); }
html[data-shell="modern"] .opt { border-radius: 12px; border: 1px solid var(--rule); background: var(--card); font: 600 14px/1 var(--f-ui); }
html[data-shell="modern"] .pill, html[data-shell="modern"] .btn, html[data-shell="modern"] .follow, html[data-shell="modern"] .lines li, html[data-shell="modern"] .card.place .attrs span, html[data-shell="modern"] .wb { border-radius: 999px; border: 1px solid var(--rule); background: var(--card); color: var(--ink); font: 600 13px/1 var(--f-ui); letter-spacing: 0; text-transform: none; }
html[data-shell="modern"] .pill.on, html[data-shell="modern"] .btn.moss, html[data-shell="modern"] .card.place .attrs .on, html[data-shell="modern"] .follow.on, html[data-shell="modern"] .wb.on { background: var(--ink); border-color: var(--ink); color: var(--paper); }
html[data-shell="modern"] .btn { padding: 12px 16px; }
html[data-shell="modern"] .btn.primary, html[data-shell="modern"] .follow { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
html[data-shell="modern"] .facts { padding: 4px 14px; border: 0; border-radius: var(--r); background: var(--card); box-shadow: var(--shadow); }

/* ------------------------------------------------------------ grid and list */
html[data-shell="modern"] .gridlist { gap: 8px; background: none; border: 0; }
html[data-shell="modern"] .gridlist .tile { border: 0; border-radius: var(--r); overflow: hidden; }
html[data-shell="modern"] .tile.txt, html[data-shell="modern"] .tile.txt[class*="c-"] { border-top: 0; }
html[data-shell="modern"] .tile-foot .feed { font: 600 11px/1 var(--f-ui); letter-spacing: 0; }
html[data-shell="modern"] .rows { margin-top: 12px; padding: 2px 14px; border-radius: var(--r); background: var(--card); box-shadow: var(--shadow); }
html[data-shell="modern"] .lrow { padding: 12px 0; border-bottom: 1px solid var(--rule); }
html[data-shell="modern"] .lrow:last-child { border-bottom: 0; }
html[data-shell="modern"] .lrow .hed { font-size: 15.5px; line-height: 1.25; font-weight: 600; }

/* ------------------------------------------------------------ sections on a page: a plain bold label */
html[data-shell="modern"] .sec { margin-top: 24px; }
html[data-shell="modern"] .sec-h { margin: 0 var(--gutter) 8px; padding-top: 0; border-top: 0; font: 800 20px/1.15 var(--f-head); letter-spacing: -.02em; text-transform: none; color: var(--ink); align-items: baseline; }
html[data-shell="modern"] .sec-h::after { content: none; }
html[data-shell="modern"] .sec-h small { font: 500 13px/1 var(--f-ui); font-style: normal; color: var(--ink-3); }
html[data-shell="modern"] .sec-h .full, html[data-shell="modern"] .full { margin-left: auto; font: 600 13px/1 var(--f-ui); letter-spacing: 0; text-transform: none; color: var(--accent); }
html[data-shell="modern"] .divider { display: block; padding: 22px var(--gutter) 8px; text-align: left; font: 800 18px/1.2 var(--f-head); letter-spacing: -.02em; text-transform: none; color: var(--ink); }
html[data-shell="modern"] .divider::before, html[data-shell="modern"] .divider::after { content: none; }
html[data-shell="modern"] .empty { font: 400 15px/1.45 var(--f-body); font-style: normal; color: var(--ink-3); }
html[data-shell="modern"] .checked { font-style: normal; }

/* the foot of a page: one button to the next page; no end mark */
html[data-shell="modern"] .turn { margin: 22px var(--gutter) 0; border: 0; }
html[data-shell="modern"] .turn a { align-items: center; gap: 10px; padding: 15px 16px; border-radius: var(--r); background: var(--card); box-shadow: var(--shadow); }
html[data-shell="modern"] .turn b { display: none; }
html[data-shell="modern"] .turn span { font: 700 16px/1.2 var(--f-head); font-style: normal; letter-spacing: -.01em; }
html[data-shell="modern"] .turn span::before { content: "Next: "; font-weight: 500; color: var(--ink-3); }
html[data-shell="modern"] .turn i { font: 500 22px/1 var(--f-head); color: var(--ink-3); }
html[data-shell="modern"] .thirty { display: none; }
html[data-shell="modern"] .end { border: 0; border-radius: var(--r); background: var(--card); box-shadow: var(--shadow); }
html[data-shell="modern"] .end .hed { font-size: 20px; }

/* the view switch sits in the title row on pages with no scope switch: three icons, the one in use lit */
html[data-shell="modern"] .mtop .views { flex: none; padding: 3px; }
html[data-shell="modern"] .mtop .views button { width: 32px; height: 30px; }
html[data-shell="modern"] .mtop.has-views .mtitle { font-size: 24px; }
/* bars are solid: nothing shows through them while the page scrolls */
html[data-shell="modern"] .bar { background: var(--card); -webkit-backdrop-filter: none; backdrop-filter: none; }
html[data-shell="modern"] .pillbar { background: var(--paper); -webkit-backdrop-filter: none; backdrop-filter: none; }

/* a lead that is also a notice: one inset. #main outranks the sections' own notice padding. */
html[data-shell="modern"] #main :is(.card.lead, .card.photo):is(.porch, .game) { padding: 0 0 14px; overflow: hidden; }
html[data-shell="modern"] #main :is(.card.lead, .card.photo):is(.porch, .game):not(:has(.plain)) { padding-top: 14px; }
html[data-shell="modern"] #main :is(.card.lead, .card.photo):is(.porch, .game) .pic { border-radius: 0; }

/* ------------------------------------------------------------ Mix (Nov 19 2026): Modern's layout in Paper's dress
   The same shell as Modern (one-row header, full-width cards, docked tab bar) with the paper's cream,
   its red, hairline rules instead of drop shadows, and the paper's type: Source Serif 4 for
   headlines, Libre Franklin for everything else. Only tokens change, so every section follows. */
html:root[data-shell="modern"][data-dress="paper"][data-look] {
  --paper: #F1ECE1; --paper-2: #E6DFCF; --card: #FBF8F1; --box: #FBF8F1; --ink: #1A1714; --ink-2: #48423A; --ink-3: #7A7266;
  --rule: #D8CFBD; --rule-2: #D8CFBD; --accent: #A3271F; --accent-ink: #FFFFFF;
  --f-head: "Source Serif 4", Georgia, serif; --f-mark: "Source Serif 4", Georgia, serif;
  --f-body: "Libre Franklin", -apple-system, "Helvetica Neue", Arial, sans-serif; --f-ui: var(--f-body);
  --head-w: 700; --head-ls: -.012em; --mark-ls: -.015em;
  --glass: #FBF8F1; --glass-edge: var(--rule); --glass-on: #1A1714; --glass-on-ink: #F4EFE5;
  --r: 8px; --r-s: 5px; --shadow: 0 0 0 1px var(--rule); --shadow-up: var(--shadow);
  --cream: var(--paper); --cream-2: var(--paper-2); --thumb-bg: var(--paper-2);
}
html:root[data-shell="modern"][data-dress="paper"][data-look="night"], html:root[data-shell="modern"][data-dress="paper"][data-mode="dark"][data-look] {
  --paper: #171511; --paper-2: #26221C; --card: #1F1B16; --box: #1F1B16; --ink: #EEE7D7; --ink-2: #BDB3A2; --ink-3: #8A8072;
  --rule: #3A342B; --rule-2: #3A342B; --accent: #E8743D; --accent-ink: #171511;
  --glass: #1F1B16; --glass-on: #EEE7D7; --glass-on-ink: #171511;
}
html[data-shell="modern"][data-dress="paper"] .mtitle { font-family: var(--f-head); font-weight: 800; letter-spacing: -.02em; }
html[data-shell="modern"][data-dress="paper"] .bar { border-top-color: var(--ink); }
