/* Skins. Each skin is scoped under body.skin-<id>; layouts under body.sl-<layout>.
   The original archive look (skin-archive) uses style.css alone. */

/* ------------------------------------------------------------ shared */
.skinpick { display: flex; align-items: center; gap: 6px; font-size: 12px; color: var(--muted); white-space: nowrap; }
.skinpick select { border: 1px solid var(--line); background: var(--panel-2); color: var(--text); border-radius: 6px; padding: 3px 6px; font: 12px var(--sans); }
#skinChrome:empty, #sideTop:empty, #listIntro:empty, #skinExtra:empty { display: none; }
.av { --h: 200; display: inline-flex; align-items: center; justify-content: center; flex: none; width: 40px; height: 40px;
  border-radius: 50%; background: hsl(var(--h) 42% 45%); color: #fff; font: 600 15px/1 var(--sans); letter-spacing: 0; }
.av.sm { width: 32px; height: 32px; font-size: 12px; }
.av.xs { width: 22px; height: 22px; font-size: 9px; }
.skin-src { font: 11.5px/1.5 var(--sans); color: var(--muted); padding: 10px 0; overflow-wrap: anywhere; }
.skin-src a { color: inherit; text-decoration: underline; }
.skin-src code { font: 11px var(--mono); }
.skin-bates { font: 10.5px var(--mono); color: var(--muted); }
.skin-blank { color: var(--muted); }
#toast { position: fixed; left: 50%; bottom: 32px; transform: translate(-50%, 16px); opacity: 0; transition: opacity .18s, transform .18s;
  background: #202124; color: #fff; padding: 11px 18px; border-radius: 8px; font: 13.5px/1.4 var(--sans); z-index: 1000;
  pointer-events: none; max-width: min(560px, 90vw); box-shadow: 0 4px 18px rgba(0,0,0,.35); }
#toast.on { opacity: 1; transform: translate(-50%, 0); }
body:not(.skin-archive) .item { border-left: 0; }
body:not(.skin-archive) .item.on { border-left: 0; }

/* ------------------------------------------------------------ layouts */
/* replace: the reader takes the list's place when a document is open */
body.sl-replace #reader { display: none; }
body.sl-replace.hasdoc #reader { display: block; }
body.sl-replace.hasdoc #listPane { display: none; }
body.sl-replace .layout { grid-template-columns: var(--side-w, 256px) minmax(0, 1fr); }
/* modal: the reader floats over the list */
body.sl-modal #reader { display: none; }
body.sl-modal.hasdoc #reader { display: block; position: fixed; inset: 0; z-index: 60; background: rgba(0, 0, 0, .72); overflow: auto; }
body.sl-modal.hasdoc #listPane { display: block; }
body.sl-modal .layout { grid-template-columns: 245px minmax(0, 1fr); }
@media (max-width: 1100px) {
  body.sl-replace .layout, body.sl-modal .layout, body.sl-oe .layout { grid-template-columns: minmax(0, 1fr); }
  body:not(.skin-archive) .toplink { display: none; }
}
@media (max-width: 760px) {
  .skinpick { font-size: 0; }
  .skinpick select { font-size: 12px; max-width: 120px; }
}

/* ============================================================ GMAIL-ISH */
body.skin-gmail { --bg: #f6f8fc; --panel: #fff; --panel-2: #f6f8fc; --line: #e0e3e7; --text: #1f1f1f; --muted: #5f6368;
  --accent: #0b57d0; --accent-soft: #d3e3fd; --mark: #fde293; --side-w: 256px;
  font-family: Roboto, "Segoe UI", Arial, sans-serif; background: #f6f8fc; color: #1f1f1f; color-scheme: light; }
.skin-gmail .gi { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.skin-gmail .topbar { background: #f6f8fc; border: 0; height: 64px; padding: 8px 12px 8px 8px; gap: 8px; }
.skin-gmail .brand { display: flex; align-items: center; gap: 2px; width: 238px; flex: none; font: 400 22px/1 "Google Sans", "Product Sans", "Segoe UI", Arial, sans-serif; color: #444746; }
.g-burger { display: inline-flex; width: 48px; height: 48px; align-items: center; justify-content: center; border-radius: 50%; color: #444746; }
.g-burger .gi { width: 24px; height: 24px; }
.g-logo { width: 32px; height: 24px; margin: 0 8px 0 4px; position: relative; border-radius: 3px; background: #fff; box-shadow: inset 0 0 0 3px #c5221f; }
.g-logo::before { content: ""; position: absolute; left: 3px; right: 3px; top: 3px; height: 13px;
  background: linear-gradient(to bottom right, transparent 47%, #c5221f 48% 58%, transparent 59%) left / 50% 100% no-repeat,
              linear-gradient(to bottom left, transparent 47%, #c5221f 48% 58%, transparent 59%) right / 50% 100% no-repeat; }
.skin-gmail #searchForm { flex: 1; max-width: 720px; }
.skin-gmail #q { height: 48px; border: 0; border-radius: 24px; padding: 0 20px 0 58px; font-size: 16px; color: #1f1f1f;
  background: #e9eef6 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23444746' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='10.5' cy='10.5' r='6'/%3E%3Cpath d='M15 15l5 5'/%3E%3C/svg%3E") no-repeat 18px center / 22px; }
.skin-gmail #q::placeholder { color: #444746; }
.skin-gmail #q:focus { background-color: #fff; outline: 0; box-shadow: 0 1px 1px rgba(65,69,73,.3), 0 1px 3px 1px rgba(65,69,73,.15); }
.skin-gmail #searchForm button { display: none; }
.skin-gmail .toplink { display: none; }
.skin-gmail .skinpick { order: 2; margin-left: auto; font-size: 0; }
.skin-gmail #topRight { order: 3; display: flex; align-items: center; gap: 2px; }
.skin-gmail .skinpick select { border: 1px solid #c4c7c5; border-radius: 18px; background: #fff; padding: 6px 10px; font: 500 13px "Google Sans", "Segoe UI", sans-serif; color: #444746; }
.g-ib { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border: 0; border-radius: 50%;
  background: transparent; color: #444746; cursor: pointer; padding: 0; text-decoration: none; flex: none; }
.g-ib:hover { background: rgba(68,71,70,.08); }
.g-nav:not([href]) { opacity: .38; pointer-events: none; }
.g-me { width: 32px; height: 32px; margin: 0 4px 0 10px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center;
  color: #fff; font: 500 15px "Google Sans", "Segoe UI", sans-serif; background: linear-gradient(135deg, #7b1fa2, #0b57d0); }

/* sidebar */
.skin-gmail #sidebar { background: transparent; border: 0; padding: 8px 0 24px; }
.g-compose { display: inline-flex; align-items: center; gap: 12px; height: 56px; padding: 0 24px 0 16px; margin: 0 0 16px 8px;
  border: 0; border-radius: 16px; background: #c2e7ff; color: #001d35; font: 500 14px "Google Sans", "Segoe UI", sans-serif; cursor: pointer; }
.g-compose:hover { box-shadow: 0 1px 2px rgba(60,64,67,.3), 0 1px 3px 1px rgba(60,64,67,.15); }
.g-compose .gi { width: 24px; height: 24px; }
.skin-gmail .kinds { gap: 0; }
.skin-gmail .kinds a { display: flex; align-items: center; height: 32px; padding: 0 12px 0 26px; margin-right: 16px; border-radius: 0 16px 16px 0; font-size: 14px; color: #202124; }
.skin-gmail .kinds a > span:first-child { display: flex; align-items: center; gap: 18px; }
.skin-gmail .kinds a .gi { color: #444746; }
.skin-gmail .kinds a.on { background: #d3e3fd; color: #001d35; font-weight: 700; }
.skin-gmail .kinds a.on .gi { color: #001d35; }
.skin-gmail .kinds a:hover:not(.on) { background: #e8eaed; }
.skin-gmail .kinds .count { font-size: 12px; color: inherit; font-weight: inherit; letter-spacing: .3px; }
.skin-gmail #sidebar section { padding: 0; margin-top: 6px; }
.skin-gmail #sidebar h3 { font: 500 16px "Google Sans", "Segoe UI", sans-serif; color: #1f1f1f; text-transform: none; letter-spacing: 0; padding: 14px 16px 6px 26px; margin: 0; }
.skin-gmail section:has(#years) > h3 { font-size: 0; }
.skin-gmail section:has(#years) > h3::after { content: "Labels"; font-size: 16px; }
.skin-gmail #senderSection > h3 { font-size: 0; }
.skin-gmail #senderSection > h3::after { content: "People"; font-size: 16px; }
.skin-gmail .chips { display: block; }
.skin-gmail .chips a { display: flex; align-items: center; gap: 18px; height: 32px; padding: 0 12px 0 26px; margin-right: 16px; border: 0;
  border-radius: 0 16px 16px 0; background: transparent; font-size: 14px; color: #202124; }
.skin-gmail .chips a::before { content: ""; width: 16px; height: 12px; flex: none; background: #a142f4; clip-path: polygon(0 0, 68% 0, 100% 50%, 68% 100%, 0 100%); }
.skin-gmail .chips a:nth-child(6n+2)::before { background: #e8710a; }
.skin-gmail .chips a:nth-child(6n+3)::before { background: #1e8e3e; }
.skin-gmail .chips a:nth-child(6n+4)::before { background: #d93025; }
.skin-gmail .chips a:nth-child(6n+5)::before { background: #1a73e8; }
.skin-gmail .chips a:nth-child(6n)::before { background: #f9ab00; }
.skin-gmail .chips a small { margin-left: auto; font-size: 12px; color: #444746; }
.skin-gmail .chips a.on { background: #d3e3fd; font-weight: 700; }
.skin-gmail .chips a.on small { color: #001d35; opacity: 1; }
.skin-gmail .chips a:hover:not(.on) { background: #e8eaed; }
.skin-gmail .range { padding: 8px 16px 0 26px; }
.skin-gmail .range input { border-radius: 8px; }
.skin-gmail #senderFilter { margin: 2px 16px 6px 26px; width: calc(100% - 42px); border-radius: 8px; background: #fff; }
.skin-gmail .facet a { height: 32px; align-items: center; padding: 0 12px 0 26px; margin-right: 16px; border-radius: 0 16px 16px 0; font-size: 14px; color: #202124; }
.skin-gmail .facet a:hover { background: #e8eaed; }
.skin-gmail .facet a.on { background: #d3e3fd; color: #001d35; }
.skin-gmail #flagSection .check { padding: 4px 16px 4px 26px; font-size: 14px; }
.skin-gmail .active { padding: 0 16px 0 26px; }
.skin-gmail #moreSenders { margin-left: 20px; }

/* list */
.skin-gmail #listPane, .skin-gmail #reader { background: #fff; border: 0; border-radius: 16px; margin: 0 16px 16px 0; }
.skin-gmail .listhead { display: none; }
.skin-gmail .sentinel { padding: 20px; }
.g-tb { display: flex; align-items: center; gap: 2px; height: 48px; padding: 0 8px 0 16px; position: sticky; top: 0; background: #fff; z-index: 3; border-radius: 16px 16px 0 0; }
.g-car { display: inline-flex; color: #444746; margin: 0 6px 0 2px; }
.g-car .gi { width: 16px; height: 16px; }
.g-sort { border: 0; background: transparent; color: #444746; font: 500 13px "Google Sans", "Segoe UI", sans-serif; padding: 6px; border-radius: 6px; cursor: pointer; margin-left: 4px; }
.g-sort:hover { background: #f1f3f4; }
.g-sp { flex: 1; }
.g-range { font-size: 12px; color: #444746; margin-right: 8px; white-space: nowrap; }
.g-tabs { display: flex; border-bottom: 1px solid #f1f3f4; }
.g-tab { display: flex; align-items: center; gap: 18px; width: 252px; height: 56px; padding: 0 18px; color: #444746; text-decoration: none;
  font: 500 14px "Google Sans", "Segoe UI", sans-serif; position: relative; }
.g-tab:hover { background: #f5f5f5; }
.g-tab.on { color: #0b57d0; }
.g-tab.on::after { content: ""; position: absolute; left: 8px; right: 8px; bottom: 0; height: 3px; border-radius: 3px 3px 0 0; background: #0b57d0; }
.g-promo.on { color: #188038; }
.g-promo.on::after { background: #188038; }
.g-new { background: #188038; color: #fff; font: 500 11px Roboto, sans-serif; border-radius: 8px; padding: 1px 7px; margin-left: 8px; }
.g-cbx { width: 18px; height: 18px; border: 2px solid #747775; border-radius: 2px; box-sizing: border-box; display: inline-block; opacity: .55; flex: none; }
.g-row { display: grid !important; grid-template-columns: 20px 20px 176px minmax(0, 1fr) 26px 66px; align-items: center; gap: 0 10px;
  height: 40px; padding: 0 16px 0 16px !important; border: 0 !important; border-bottom: 1px solid rgba(100,121,143,.12) !important;
  background: #fff; color: #1f1f1f !important; font-size: 14px; position: relative; text-decoration: none; }
.g-row:hover { box-shadow: inset 1px 0 0 #dadce0, inset -1px 0 0 #dadce0, 0 1px 2px rgba(60,64,67,.3), 0 1px 3px 1px rgba(60,64,67,.15); z-index: 2; background: #fff; }
.g-row.on { background: #c2dbff; }
.g-star { color: #9aa0a6; display: inline-flex; }
.g-star .gi { width: 20px; height: 20px; }
.g-from { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: #1f1f1f; }
.g-from small { color: #5f6368; font-size: 12px; margin-left: 2px; }
.g-from.g-dim { font-style: italic; color: #5f6368; }
.g-main { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
.g-sj { color: #1f1f1f; }
.g-snip { color: #5f6368; }
.g-lbl { display: inline-block; background: #e8eaed; color: #444746; border-radius: 4px; padding: 0 5px; margin-right: 6px; font-size: 12px; line-height: 18px; vertical-align: 1px; }
.g-lred { background: #fce8e6; color: #b3261e; }
.g-clip { color: #5f6368; display: flex; justify-content: flex-end; }
.g-clip .gi { width: 18px; height: 18px; }
.g-date { text-align: right; font-size: 12px; color: #444746; white-space: nowrap; }
.g-hov { display: none; grid-column: 5 / span 2; justify-content: flex-end; gap: 14px; color: #444746; }
.g-row:hover .g-hov { display: flex; }
.g-row:hover .g-date, .g-row:hover .g-clip { display: none; }

/* reader */
.g-read { padding: 0 0 48px; font-size: 14px; }
.g-tools { display: flex; align-items: center; gap: 2px; height: 48px; padding: 0 8px 0 12px; position: sticky; top: 0; background: #fff; z-index: 3; border-radius: 16px 16px 0 0; }
.g-tsp { flex: 1; }
.g-subjrow { display: flex; align-items: flex-start; gap: 8px; padding: 16px 16px 6px 72px; }
.g-subj { flex: 1; font: 400 22px/28px "Google Sans", "Segoe UI", Arial, sans-serif; color: #1f1f1f; overflow-wrap: anywhere; }
.g-sr { display: flex; }
.g-chip { display: inline-block; font: 400 12px/16px Roboto, Arial, sans-serif; background: #ddd; color: #666; border-radius: 4px; padding: 2px 6px; margin-left: 8px; vertical-align: 4px; }
.g-chip.g-red { background: #fce8e6; color: #b3261e; }
.g-msg { display: flex; gap: 16px; padding: 12px 16px 0; align-items: flex-start; }
.g-av { width: 40px; height: 40px; font-size: 18px; font-weight: 500; }
.g-head { flex: 1; min-width: 0; padding-top: 2px; }
.g-nm { font-weight: 700; font-size: 14px; color: #1f1f1f; }
.g-addr { font-size: 12px; color: #5f6368; }
.g-to { font-size: 12px; color: #5f6368; margin-top: 2px; overflow-wrap: anywhere; }
.g-to .g-car { vertical-align: -3px; margin: 0 0 0 2px; }
.g-hr { display: flex; align-items: center; color: #5f6368; font-size: 12px; white-space: nowrap; margin-top: -8px; }
.g-when { margin-right: 6px; }
.g-body { padding: 14px 32px 0 72px; }
.skin-gmail .bodytext { font: 14px/1.55 Arial, Helvetica, sans-serif; color: #222; margin: 0; }
.g-trim > summary { display: inline-block; list-style: none; background: #e8eaed; border-radius: 8px; padding: 0 8px; margin: 12px 0 4px;
  font-size: 12px; letter-spacing: 2px; line-height: 14px; cursor: pointer; color: #444; }
.g-trim > summary::-webkit-details-marker { display: none; }
.g-trim > summary:hover { background: #dadce0; }
.g-q { margin: 14px 0 6px 2px; padding-left: 14px; border-left: 1px solid #ccc; }
.g-qh { font: 13px/1.5 Arial, Helvetica, sans-serif; color: #5f6368; margin: 0 0 8px; white-space: pre-wrap; overflow-wrap: anywhere; }
.g-q .bodytext { color: #3c4043; }
.g-att { margin: 28px 32px 0 72px; border-top: 1px solid #f1f3f4; padding-top: 16px; }
.g-atth { font: 500 14px "Google Sans", "Segoe UI", sans-serif; color: #444746; margin-bottom: 12px; }
.g-attgrid { display: flex; flex-wrap: wrap; gap: 12px; }
.g-attcard { display: block; width: 172px; border: 1px solid #dadce0; border-radius: 8px; overflow: hidden; color: #3c4043; text-decoration: none; background: #f8f9fa; }
.g-attcard:hover { box-shadow: 0 1px 3px rgba(60,64,67,.3); }
.g-attcard img { display: block; width: 100%; height: 118px; object-fit: cover; object-position: top; background: #fff; border-bottom: 1px solid #f1f3f4; }
.g-attcard span { display: flex; align-items: center; gap: 6px; font-size: 12px; padding: 8px 10px; overflow: hidden; white-space: nowrap; }
.g-attcard span .gi { width: 16px; height: 16px; color: #d93025; }
.g-acts { display: flex; gap: 12px; margin: 26px 32px 0 72px; }
.g-acts button { display: inline-flex; align-items: center; gap: 8px; border: 1px solid #747775; background: #fff; border-radius: 18px; padding: 8px 22px 8px 16px;
  font: 500 14px "Google Sans", "Segoe UI", sans-serif; color: #444746; cursor: pointer; }
.g-acts button:hover { background: #f1f3f4; }
.g-thread { margin: 30px 32px 0 72px; }
.g-trow { display: grid; grid-template-columns: 32px 190px minmax(0, 1fr) 110px; gap: 12px; align-items: center; padding: 8px 6px;
  border-top: 1px solid #f1f3f4; color: #1f1f1f; text-decoration: none; }
.g-trow:hover { background: #f6f8fc; }
.g-trow span, .g-trow b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.g-trow b { font-weight: 500; }
.g-tdate { text-align: right; font-size: 12px; color: #5f6368; }
.g-foot { margin: 18px 32px 0 72px; }
@media (max-width: 1100px) {
  .skin-gmail #listPane, .skin-gmail #reader { margin: 0; border-radius: 0; }
  .skin-gmail .brand { width: auto; }
  .g-row { grid-template-columns: 0 0 130px minmax(0, 1fr) 0 60px; gap: 0 8px; }
  .g-row .g-cbx, .g-row .g-star, .g-row .g-clip { display: none; }
  .g-subjrow, .g-body, .g-att, .g-acts, .g-thread, .g-foot { padding-left: 16px; margin-left: 16px; }
  .g-subjrow { padding-left: 16px; }
  .g-body { padding-left: 16px; margin-left: 0; }
}

/* ============================================================ FACEBOOK-ISH */
body.skin-facebook { --bg: #f0f2f5; --panel: #fff; --panel-2: #f0f2f5; --line: #ced0d4; --text: #050505; --muted: #65676b;
  --accent: #1877f2; --accent-soft: #e7f3ff; --side-w: 300px;
  font-family: "Segoe UI Historic", "Segoe UI", Helvetica, Arial, sans-serif; background: #f0f2f5; color: #050505; color-scheme: light; }
.skin-facebook .topbar { background: #fff; border: 0; height: 56px; box-shadow: 0 1px 2px rgba(0,0,0,.1); z-index: 5; position: relative; padding: 0 16px; }
.fb-logo { font: 700 30px/1 Helvetica, Arial, sans-serif; color: #1877f2; letter-spacing: -1.2px; }
.skin-facebook #searchForm { max-width: 260px; }
.skin-facebook #q { border: 0; border-radius: 20px; background: #f0f2f5; height: 40px; padding: 0 16px; font-size: 15px; }
.skin-facebook #searchForm button { display: none; }
.skin-facebook #sidebar { background: transparent; border: 0; padding: 16px 8px; }
.skin-facebook .kinds a { padding: 10px 8px; border-radius: 8px; font: 500 15px inherit; }
.skin-facebook .kinds a::before { content: ""; width: 36px; height: 36px; border-radius: 50%; margin-right: 12px; flex: none;
  background: linear-gradient(135deg, #1877f2, #45bd62); }
.skin-facebook .kinds a > span:first-child { margin-right: auto; align-self: center; }
.skin-facebook .kinds a .count { align-self: center; }
.skin-facebook .kinds a.on { background: #e4e6eb; color: #050505; }
.skin-facebook .kinds a:hover { background: #e4e6eb; }
.skin-facebook #sidebar h3 { font: 600 17px inherit; text-transform: none; letter-spacing: 0; color: #65676b; }
.skin-facebook .chips a { background: #e4e6eb; border: 0; }
.skin-facebook .chips a.on { background: #1877f2; }
@media (min-width: 1101px) {
  body.skin-facebook .layout { grid-template-columns: 300px minmax(0, 1fr) 300px; }
  .skin-facebook #senderSection { position: fixed; right: 0; top: 56px; bottom: 0; width: 300px; overflow-y: auto; padding: 16px 16px 30px 8px; }
  .skin-facebook #senderSection h3::after { content: " (Contacts)"; }
  .skin-facebook #senderSection .facet a::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #31a24c; flex: none; align-self: center; margin-right: -2px; }
}
.skin-facebook .facet a { padding: 8px; border-radius: 8px; font-size: 15px; gap: 10px; justify-content: flex-start; }
.skin-facebook .facet a .count { margin-left: auto; }
.skin-facebook .facet a:hover { background: #e4e6eb; }
.skin-facebook #listPane, .skin-facebook #reader { background: transparent; border: 0; }
.skin-facebook .listhead { background: transparent; border: 0; max-width: 590px; margin: 0 auto; padding: 16px 0 0; position: static; }
.skin-facebook .listhead select { background: #fff; }
.fb-post { display: block; background: #fff; border-radius: 8px !important; box-shadow: 0 1px 2px rgba(0,0,0,.2); margin: 16px auto;
  max-width: 590px; padding: 12px 16px 4px !important; border: 0 !important; color: #050505 !important; text-decoration: none; }
.fb-post:hover { background: #fff; }
.fb-ph { display: flex; gap: 8px; align-items: center; }
.fb-ph b { font-size: 15px; }
.fb-meta { font-size: 13px; color: #65676b; }
.fb-to { font-weight: 400; font-size: 15px; color: #65676b; }
.fb-text { font-size: 15px; line-height: 1.34; margin: 10px 0; overflow-wrap: anywhere; display: -webkit-box; -webkit-line-clamp: 5; -webkit-box-orient: vertical; overflow: hidden; }
.fb-full .fb-text { display: block; -webkit-line-clamp: unset; overflow: visible; }
.skin-facebook .bodytext { font: 15px/1.4 inherit; font-family: inherit; margin: 6px 0 0; }
.fb-photo { margin: 0 -16px; height: 340px; overflow: hidden; background: #f0f2f5; border-top: 1px solid #e4e6eb; border-bottom: 1px solid #e4e6eb; }
.fb-photo img, .fb-photos img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top; background: #fff; }
.fb-counts { display: flex; justify-content: space-between; color: #65676b; font-size: 15px; padding: 10px 0; border-bottom: 1px solid #ced0d4; }
.fb-acts { display: flex; justify-content: space-around; padding: 4px 0; color: #65676b; font: 600 15px inherit; }
.fb-acts > * { flex: 1; text-align: center; padding: 6px; border-radius: 4px; border: 0; background: transparent; color: inherit; font: inherit; cursor: pointer; }
.fb-acts > *:hover { background: #f0f2f5; }
.fb-post > .skin-bates { text-align: right; padding: 2px 0 6px; }
.fb-wrap { padding: 16px; }
.fb-full { max-width: 680px; padding-bottom: 8px !important; }
.fb-back { border: 0; background: #e4e6eb; border-radius: 6px; padding: 6px 12px; font: 600 14px inherit; cursor: pointer; margin-bottom: 12px; }
.fb-photos { display: grid; grid-template-columns: 1fr 1fr; gap: 3px; margin: 0 -16px; }
.fb-photos a { position: relative; display: block; height: 260px; overflow: hidden; }
.fb-photos.n1 a, .fb-photos.n3 a:first-child { grid-column: span 2; height: 480px; }
.fb-more { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; background: rgba(0,0,0,.45); color: #fff; font: 700 32px inherit; }
.fb-cmts { padding: 8px 0; }
.fb-ch { font-weight: 600; color: #65676b; font-size: 15px; margin: 6px 0 8px; }
.fb-cmt { display: flex; gap: 6px; margin: 8px 0; }
.fb-cw { min-width: 0; flex: 1; }
.fb-bubble { display: inline-block; max-width: 100%; background: #f0f2f5; border-radius: 18px; padding: 8px 12px; }
.fb-bubble b { font-size: 13px; }
.fb-bubble pre { margin: 2px 0 0; white-space: pre-wrap; overflow-wrap: anywhere; font: 15px/1.34 inherit; font-family: inherit; }
.fb-cmeta { font-size: 12px; color: #65676b; padding: 3px 12px; font-weight: 600; }
.fb-rel { display: flex; gap: 8px; align-items: center; padding: 6px; border-radius: 8px; color: #050505; text-decoration: none; font-size: 14px; }
.fb-rel:hover { background: #f0f2f5; }

/* ============================================================ REDDIT-ISH */
body.skin-reddit { --bg: #dae0e6; --panel: #fff; --panel-2: #f6f7f8; --line: #ccc; --text: #1c1c1c; --muted: #787c7e;
  --accent: #0079d3; --accent-soft: #e9f5fd; font-family: "IBM Plex Sans", "Segoe UI", Arial, sans-serif; background: #dae0e6; color: #1c1c1c; color-scheme: light; }
.skin-reddit .topbar { background: #fff; border-bottom: 1px solid #edeff1; height: 48px; padding: 0 20px; }
.skin-reddit .brand { display: flex; align-items: center; gap: 8px; }
.rd-logo { width: 32px; height: 32px; border-radius: 50%; background: #ff4500; color: #fff; display: inline-flex; align-items: center; justify-content: center; font: 800 14px Arial, sans-serif; }
.rd-word { font: 700 20px Arial, sans-serif; color: #1c1c1c; letter-spacing: -.5px; }
.skin-reddit #q { background: #f6f7f8; border: 1px solid #edeff1; border-radius: 20px; height: 38px; padding: 0 16px; }
.skin-reddit #searchForm button { display: none; }
@media (min-width: 1101px) {
  body.skin-reddit .layout { grid-template-columns: minmax(0, 1fr) 336px; }
  .skin-reddit #sidebar { order: 2; }
}
.skin-reddit #sidebar { background: transparent; border: 0; padding: 20px 24px 30px 0; }
.skin-reddit #sidebar > section, .skin-reddit #kinds, .rd-card { background: #fff; border: 1px solid #ccc; border-radius: 4px; padding: 12px; margin-bottom: 16px; }
.skin-reddit #sidebar > section h3 { margin-top: 0; }
.rd-card { padding: 0; overflow: hidden; }
.rd-ch { background: #0079d3; color: #fff; font: 700 14px Arial, sans-serif; padding: 12px; }
.rd-card p { font-size: 14px; padding: 0 12px; line-height: 1.4; }
.rd-stats { display: flex; gap: 18px; padding: 4px 12px 12px; border-bottom: 1px solid #edeff1; }
.rd-stats b { display: block; font-size: 16px; }
.rd-stats span { font-size: 12px; color: #7c7c7c; }
.rd-rule { font-size: 12px !important; color: #7c7c7c; }
.skin-reddit .kinds { flex-direction: row; flex-wrap: wrap; }
.skin-reddit .kinds a { border-radius: 20px; font-weight: 700; color: #878a8c; gap: 6px; }
.skin-reddit .kinds a.on { background: #f6f7f8; color: #0079d3; }
.skin-reddit #listPane, .skin-reddit #reader { background: transparent; border: 0; }
.rd-banner { height: 80px; background: linear-gradient(120deg, #33a8ff, #0079d3); }
.rd-comm { display: flex; align-items: flex-end; gap: 14px; background: #fff; padding: 0 24px 14px; }
.rd-icon { width: 72px; height: 72px; margin-top: -16px; border-radius: 50%; border: 4px solid #fff; background: #ff4500; color: #fff;
  display: inline-flex; align-items: center; justify-content: center; font: 800 26px Arial, sans-serif; flex: none; }
.rd-comm h1 { font: 700 28px Arial, sans-serif; }
.rd-comm div > div { font-size: 14px; color: #7c7c7c; }
.rd-join { margin-left: 16px; border: 0; border-radius: 20px; background: #0079d3; color: #fff; font: 700 14px Arial, sans-serif; padding: 6px 26px; cursor: pointer; align-self: center; }
.skin-reddit .listhead { background: #fff; border: 1px solid #ccc; border-radius: 4px; max-width: 740px; margin: 16px auto 12px; padding: 10px 12px; position: static; }
.skin-reddit #items { padding: 0 20px; }
.rd-post { display: flex !important; background: #fff; border: 1px solid #ccc !important; border-radius: 4px; margin: 0 auto 10px; max-width: 740px;
  padding: 0 !important; color: #1c1c1c !important; text-decoration: none; overflow: hidden; }
.rd-post:hover { border-color: #898989 !important; background: #fff; }
.rd-post.on { border-color: #0079d3 !important; }
.rd-vote { width: 40px; flex: none; background: #f8f9fa; display: flex; flex-direction: column; align-items: center; padding: 8px 0; color: #878a8c; font-size: 12px; }
.rd-vote span { font-size: 16px; line-height: 1; }
.rd-vote b { color: #1a1a1b; margin: 4px 0 0; }
.rd-vote small { font-size: 9px; margin-bottom: 4px; }
.rd-body { flex: 1; min-width: 0; padding: 8px 8px 4px; }
.rd-meta { font-size: 12px; color: #787c7e; overflow-wrap: anywhere; }
.rd-title { font: 500 18px/1.3 "IBM Plex Sans", Arial, sans-serif; margin: 4px 0 6px; overflow-wrap: anywhere; }
.rd-flair { display: inline-block; font: 500 12px Arial, sans-serif; background: #edeff1; color: #1a1a1b; border-radius: 2px; padding: 0 5px; vertical-align: 2px; }
.rd-redf { background: #1a1a1b; color: #fff; }
.rd-snip { font-size: 14px; color: #1c1c1c; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; overflow-wrap: anywhere; }
.rd-foot { display: flex; flex-wrap: wrap; gap: 4px 14px; font: 700 12px Arial, sans-serif; color: #878a8c; padding: 8px 0 4px; }
.rd-foot button { border: 0; background: transparent; font: inherit; color: inherit; cursor: pointer; padding: 0; }
.rd-thumb { width: 140px; height: 105px; object-fit: cover; object-position: top; margin: 8px; border-radius: 4px; flex: none; background: #f6f7f8; border: 1px solid #edeff1; }
.rd-wrap { padding: 16px 20px; }
.rd-full { display: flex; background: #fff; border: 1px solid #ccc; border-radius: 4px; max-width: 900px; margin: 0 auto; overflow: hidden; }
.rd-full .rd-body { padding: 8px 16px 16px; }
.rd-full .rd-title { font-size: 20px; }
.rd-back { border: 0; background: transparent; color: #0079d3; font: 700 12px Arial, sans-serif; cursor: pointer; padding: 4px 0 8px; }
.skin-reddit .bodytext { font: 14px/1.5 "Noto Sans", "Segoe UI", Arial, sans-serif; }
.rd-gal { position: relative; background: #000; margin: 12px 0; display: flex; justify-content: center; }
.rd-gal img { display: block; max-width: 100%; max-height: 640px; object-fit: contain; background: #fff; }
.rd-prev, .rd-next, .ig-prev, .ig-next { position: absolute; top: 50%; transform: translateY(-50%); width: 34px; height: 34px; border-radius: 50%;
  border: 0; background: rgba(255,255,255,.9); color: #000; font: 700 22px/1 Arial, sans-serif; cursor: pointer; box-shadow: 0 1px 4px rgba(0,0,0,.4); }
.rd-prev, .ig-prev { left: 10px; }
.rd-next, .ig-next { right: 10px; }
.rd-prev:disabled, .rd-next:disabled, .ig-prev:disabled, .ig-next:disabled { opacity: 0; pointer-events: none; }
.rd-count, .ig-count { position: absolute; top: 10px; right: 10px; background: rgba(0,0,0,.6); color: #fff; font: 12px Arial, sans-serif; padding: 2px 8px; border-radius: 10px; }
.rd-sort { font-size: 12px; color: #787c7e; border-top: 1px solid #edeff1; margin-top: 12px; padding-top: 12px; }
.rd-cmt { margin-top: 14px; padding-left: 14px; border-left: 2px solid #edeff1; }
.rd-cmt:hover { border-left-color: #0079d3; }
.rd-cmeta { display: flex; gap: 6px; align-items: center; font-size: 12px; color: #787c7e; flex-wrap: wrap; }
.rd-cmeta b { color: #1c1c1c; }
.rd-cmt .bodytext { margin: 6px 0 0 4px; }
.rd-cact { display: flex; gap: 14px; font: 700 12px Arial, sans-serif; color: #878a8c; padding: 6px 4px 0; }
.rd-pg { font-family: var(--mono); }

/* ============================================================ INSTAGRAM-ISH */
body.skin-instagram { --bg: #fff; --panel: #fff; --panel-2: #fafafa; --line: #dbdbdb; --text: #000; --muted: #737373; --accent: #0095f6;
  --accent-soft: #efefef; font-family: -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; background: #fff; color: #000; color-scheme: light; }
.skin-instagram .topbar { background: #fff; border-bottom: 1px solid #dbdbdb; height: 60px; }
.ig-word { font: 400 32px/1 "Segoe Script", "Brush Script MT", "Snell Roundhand", "Lucida Handwriting", cursive; color: #000; }
.skin-instagram #q { background: #efefef; border: 0; border-radius: 8px; height: 36px; max-width: 268px; }
.skin-instagram #searchForm { justify-content: center; }
.skin-instagram #searchForm button { display: none; }
.skin-instagram #sidebar { background: #fff; border-right: 1px solid #dbdbdb; padding: 12px; }
.skin-instagram .kinds a { padding: 12px; border-radius: 8px; font-size: 16px; white-space: pre; }
.skin-instagram .kinds a.on { background: transparent; color: #000; font-weight: 700; }
.skin-instagram .kinds a:hover { background: #f2f2f2; }
.skin-instagram #listPane { background: #fff; border: 0; }
.ig-prof { display: flex; gap: 72px; padding: 30px 20px 40px; max-width: 935px; margin: 0 auto; border-bottom: 1px solid #dbdbdb; align-items: flex-start; }
.ig-ring { width: 160px; height: 160px; border-radius: 50%; padding: 5px; flex: none;
  background: conic-gradient(from 200deg, #feda75, #fa7e1e, #d62976, #962fbf, #4f5bd5, #feda75); }
.ig-ring span { display: flex; width: 100%; height: 100%; border-radius: 50%; background: #fafafa; border: 4px solid #fff; align-items: center; justify-content: center; font-size: 64px; }
.ig-pi { min-width: 0; }
.ig-name { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; font-size: 20px; }
.ig-name b { font-weight: 400; margin-right: 10px; }
.ig-follow, .ig-msg { border: 0; border-radius: 8px; padding: 7px 16px; font: 600 14px inherit; font-family: inherit; cursor: pointer; }
.ig-follow { background: #0095f6; color: #fff; }
.ig-msg { background: #efefef; color: #000; }
.ig-stats { display: flex; gap: 36px; margin: 20px 0; font-size: 16px; }
.ig-bio { font-size: 14px; white-space: pre-line; line-height: 1.45; }
.skin-instagram .listhead { max-width: 935px; margin: 0 auto; border: 0; justify-content: center; gap: 24px; text-transform: uppercase;
  letter-spacing: 1px; font-weight: 600; position: static; border-top: 1px solid #000; width: fit-content; }
.skin-instagram #items { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 4px; max-width: 935px; margin: 0 auto; }
.ig-tile { position: relative; display: block; aspect-ratio: 1; overflow: hidden; padding: 0 !important; border: 0 !important; background: #efefef; }
.ig-tile img { width: 100%; height: 100%; object-fit: cover; object-position: top; display: block; background: #fff; }
.ig-ov { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; gap: 26px; background: rgba(0,0,0,.32);
  color: #fff; font: 700 16px inherit; font-family: inherit; opacity: 0; transition: opacity .12s; }
.ig-tile:hover .ig-ov, .ig-tile.on .ig-ov { opacity: 1; }
.ig-multi { position: absolute; top: 8px; right: 10px; color: #fff; font-size: 20px; text-shadow: 0 0 4px rgba(0,0,0,.6); }
.ig-bg { min-height: 100%; display: flex; align-items: center; justify-content: center; padding: 24px 64px; }
.ig-close { position: fixed; top: 14px; right: 18px; border: 0; background: transparent; color: #fff; font-size: 30px; cursor: pointer; z-index: 2; }
.ig-modal { display: flex; background: #fff; width: min(1250px, 100%); height: min(92vh, 960px); border-radius: 4px; overflow: hidden; }
.ig-img { flex: 1 1 60%; min-width: 0; background: #000; position: relative; display: flex; align-items: center; justify-content: center; }
.ig-img img { max-width: 100%; max-height: 100%; object-fit: contain; background: #fff; }
.ig-side { flex: 0 0 420px; display: flex; flex-direction: column; border-left: 1px solid #efefef; min-width: 0; }
.ig-side header { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-bottom: 1px solid #efefef; font-size: 14px; }
.ig-flw { border: 0; background: transparent; color: #0095f6; font: 600 14px inherit; font-family: inherit; cursor: pointer; padding: 0; }
.ig-cmts { flex: 1; overflow-y: auto; padding: 16px; }
.ig-c { display: flex; gap: 14px; margin-bottom: 18px; font-size: 14px; }
.ig-c > div { min-width: 0; }
.ig-c pre { display: inline; white-space: pre-wrap; overflow-wrap: anywhere; font: 14px/1.4 inherit; font-family: inherit; margin: 0; }
.ig-t { color: #737373; font-size: 12px; margin-top: 6px; overflow-wrap: anywhere; }
.ig-side footer { border-top: 1px solid #efefef; padding: 6px 16px 10px; }
.ig-icons { display: flex; gap: 14px; }
.ig-icons button { border: 0; background: transparent; font-size: 24px; padding: 4px 0; cursor: pointer; }
.ig-likes { font-weight: 600; font-size: 14px; }
.skin-instagram .skin-src { font-size: 11px; }
@media (max-width: 900px) {
  .ig-bg { padding: 0; align-items: stretch; }
  .ig-modal { flex-direction: column; height: auto; min-height: 100vh; border-radius: 0; }
  .ig-img { flex: none; height: 62vh; }
  .ig-side { flex: none; border-left: 0; }
  .ig-prof { gap: 24px; padding: 20px 14px; }
  .ig-ring { width: 86px; height: 86px; }
  .ig-ring span { font-size: 36px; }
  .ig-stats { gap: 16px; font-size: 14px; }
}

/* ============================================================ OUTLOOK EXPRESS 98 */
body.skin-outlook { --bg: #c0c0c0; --panel: #fff; --panel-2: #fff; --line: #808080; --text: #000; --muted: #444; --accent: #000080;
  --accent-soft: #000080; --mark: #ffff00; --mono: "Courier New", monospace;
  font: 11px Tahoma, "MS Sans Serif", Verdana, sans-serif; background: #008080; color: #000; color-scheme: light; padding: 12px; }
.skin-outlook .topbar, .skin-outlook #skinChrome, .skin-outlook .layout { background: #c0c0c0; margin: 0;
  box-shadow: inset -1px 0 #000, inset 1px 0 #fff, inset -2px 0 #808080, inset 2px 0 #dfdfdf; }
.skin-outlook .topbar { background: linear-gradient(90deg, #000080, #1084d0); height: 26px; padding: 2px 4px 2px 6px; gap: 10px; border: 0;
  box-shadow: inset 0 2px #c0c0c0, inset -2px 0 #c0c0c0, inset 2px 0 #c0c0c0; }
.skin-outlook .topbar::after { content: "_  □  ×"; font: 700 11px Tahoma, sans-serif; color: #000; background: #c0c0c0; padding: 0 5px; letter-spacing: 3px; white-space: pre;
  box-shadow: inset -1px -1px #000, inset 1px 1px #fff; }
.skin-outlook .brand { color: #fff; font: 700 12px Tahoma, sans-serif; display: flex; align-items: center; gap: 4px; }
.skin-outlook #searchForm { max-width: 260px; margin-left: auto; }
.skin-outlook #q { height: 18px; border-radius: 0; border: 0; background: #fff; font: 11px Tahoma, sans-serif; padding: 0 4px;
  box-shadow: inset 1px 1px #808080, inset -1px -1px #fff, inset 2px 2px #000; }
.skin-outlook #searchForm button, .skin-outlook .oe-tools button, .skin-outlook .docbar button, .skin-outlook .seg button, .clippy-b button {
  font: 11px Tahoma, sans-serif; color: #000; background: #c0c0c0; border: 0; border-radius: 0; padding: 2px 8px; cursor: pointer;
  box-shadow: inset -1px -1px #000, inset 1px 1px #fff, inset -2px -2px #808080, inset 2px 2px #dfdfdf; }
.skin-outlook #searchForm button:active, .skin-outlook .oe-tools button:active { box-shadow: inset 1px 1px #000, inset -1px -1px #fff; }
.skin-outlook .toplink, .skin-outlook .skinpick { color: #fff; font-size: 11px; }
.skin-outlook .skinpick select { border-radius: 0; font: 11px Tahoma, sans-serif; background: #fff; color: #000; }
.oe-menu { display: flex; gap: 2px; padding: 3px 6px; border-bottom: 1px solid #808080; }
.oe-menu span { padding: 1px 7px; cursor: default; }
.oe-menu span:hover { background: #000080; color: #fff; }
.oe-tools { display: flex; gap: 2px; padding: 4px 6px; border-top: 1px solid #fff; overflow-x: auto; }
.oe-tools button { display: flex; flex-direction: column; align-items: center; min-width: 58px; padding: 4px 6px !important; box-shadow: none !important; background: transparent !important; }
.oe-tools button:hover { box-shadow: inset -1px -1px #808080, inset 1px 1px #fff !important; }
.oe-tools button span { font-size: 20px; line-height: 24px; }
body.sl-oe .layout { display: grid; grid-template-columns: 210px minmax(0, 1fr); grid-template-rows: minmax(0, 42%) minmax(0, 58%); gap: 3px; padding: 3px 4px 4px; }
body.sl-oe #sidebar { grid-row: 1 / span 2; }
body.sl-oe #listPane { grid-column: 2; grid-row: 1; }
body.sl-oe #reader { grid-column: 2; grid-row: 2; display: block; }
@media (max-width: 1100px) { body.sl-oe .layout { grid-template-columns: minmax(0, 1fr); } body.sl-oe #listPane, body.sl-oe #reader { grid-column: 1; } }
.skin-outlook #sidebar, .skin-outlook #listPane, .skin-outlook #reader { background: #fff; border: 0;
  box-shadow: inset 1px 1px #808080, inset -1px -1px #fff, inset 2px 2px #000, inset -2px -2px #dfdfdf; padding: 3px; }
.skin-outlook #sidebar h3 { font: 700 11px Tahoma, sans-serif; color: #000; text-transform: none; letter-spacing: 0; margin: 10px 0 4px; }
.skin-outlook .kinds a { border-radius: 0; padding: 1px 4px 1px 20px; font-size: 11px; position: relative; color: #000; }
.skin-outlook .kinds a::before { content: "📁"; position: absolute; left: 2px; font-size: 11px; }
.skin-outlook .kinds a.on { background: #000080; color: #fff; font-weight: 400; }
.skin-outlook .kinds a.on .count { color: #fff; }
.skin-outlook .chips a, .skin-outlook .facet a { border-radius: 0; font-size: 11px; }
.skin-outlook .chips a.on, .skin-outlook .facet a.on { background: #000080; color: #fff; border-color: #000080; }
.skin-outlook .listhead { position: static; padding: 2px 4px; font-size: 11px; background: #fff; border: 0; }
.oe-cols { display: grid; grid-template-columns: 18px 22px 190px minmax(0, 1fr) 140px; position: sticky; top: 0; z-index: 2; }
.oe-cols span { background: #c0c0c0; padding: 1px 4px; box-shadow: inset -1px -1px #000, inset 1px 1px #fff, inset -2px -2px #808080; font-size: 11px; white-space: nowrap; overflow: hidden; }
.oe-row { display: grid !important; grid-template-columns: 18px 22px 190px minmax(0, 1fr) 140px; padding: 0 !important; border: 0 !important;
  color: #000 !important; font-size: 11px; line-height: 17px; }
.oe-row span { padding: 0 4px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.oe-row:hover { background: #fff; text-decoration: underline; }
.oe-row.on { background: #000080 !important; color: #fff !important; }
.skin-outlook .docbar { background: #c0c0c0; border: 0; padding: 3px 6px; position: static; }
.skin-outlook .seg { border: 0; gap: 2px; }
.skin-outlook .seg button.on { box-shadow: inset 1px 1px #000, inset -1px -1px #fff; background: #dfdfdf; color: #000; }
.skin-outlook .textcol { padding: 8px 10px; }
.skin-outlook .doc h1 { font: 700 12px Tahoma, sans-serif; margin-bottom: 4px; }
.skin-outlook .hdr { background: #c0c0c0; font-size: 11px; }
.skin-outlook .hdr th, .skin-outlook .hdr td { padding: 1px 6px; }
.skin-outlook .prov { border-radius: 0; font-size: 10px; background: #ffffe1; border: 1px solid #000; }
.skin-outlook .bodytext { font: 13px/1.35 Arial, sans-serif; }
.skin-outlook .part { border-left: 2px solid #000080; background: #fff; border-radius: 0; }
.skin-outlook .part .marker { font: 11px "Courier New", monospace; color: #000080; }
.skin-outlook .empty { color: #444; padding: 10vh 20px; }
.clippy { position: fixed; right: 26px; bottom: 26px; z-index: 80; display: flex; flex-direction: column; align-items: flex-end; gap: 6px; font: 11px Tahoma, sans-serif; }
.clippy-b { background: #ffffe1; border: 1px solid #000; border-radius: 8px; padding: 10px; width: 230px; position: relative; box-shadow: 2px 2px 0 rgba(0,0,0,.4); }
.clippy-b::after { content: ""; position: absolute; right: 40px; bottom: -10px; border: 10px solid transparent; border-top-color: #000; border-bottom: 0; }
.clippy-b button { display: block; width: 100%; margin-top: 6px; text-align: left; }
.clippy-c { font-size: 64px; line-height: 1; transform: rotate(-20deg); margin-right: 24px; position: relative; filter: drop-shadow(1px 2px 0 rgba(0,0,0,.3)); }
.clippy-c i { position: absolute; top: 14px; width: 9px; height: 9px; background: #fff; border: 2px solid #000; border-radius: 50%; }
.clippy-c i:first-of-type { left: 16px; } .clippy-c i:last-of-type { left: 30px; }

/* ============================================================ TERMINAL (MUTT) */
body.skin-mutt { --bg: #000; --panel: #000; --panel-2: #000; --line: #333; --text: #c0c0c0; --muted: #808080; --accent: #00aaaa;
  --accent-soft: #003a3a; --mark: #aa5500; --side-w: 220px; background: #000; color: #c0c0c0; color-scheme: dark; }
body.skin-mutt, body.skin-mutt * { font-family: ui-monospace, "Cascadia Mono", Consolas, "DejaVu Sans Mono", monospace !important; }
body.skin-mutt { font-size: 14px; }
.skin-mutt .topbar { background: #000; border: 0; height: 30px; padding: 0 8px; gap: 12px; }
.skin-mutt .brand { color: #c0c0c0; font-size: 14px; font-weight: 400; }
.tm-p { color: #55ff55; } .tm-d { color: #5555ff; }
.skin-mutt #q { background: #000; border: 0; border-bottom: 1px solid #555; border-radius: 0; color: #fff; height: 24px; }
.skin-mutt #q::placeholder { color: #777; }
.skin-mutt #searchForm button { background: #000; color: #c0c0c0; border: 1px solid #555; border-radius: 0; padding: 0 8px; }
.skin-mutt .toplink, .skin-mutt .skinpick { color: #808080; }
.skin-mutt .skinpick select { background: #000; color: #c0c0c0; border-color: #555; border-radius: 0; }
.tm-help { background: #0000aa; color: #fff; padding: 1px 8px; white-space: pre; overflow: hidden; font-size: 13px; }
.skin-mutt #sidebar { background: #000; border-right: 1px solid #555; padding: 8px; }
.skin-mutt #sidebar h3 { color: #ffff55; text-transform: none; letter-spacing: 0; font-size: 13px; }
.skin-mutt .kinds a, .skin-mutt .facet a { border-radius: 0; padding: 0 4px; color: #c0c0c0; }
.skin-mutt .kinds a.on, .skin-mutt .facet a.on { background: #00aaaa; color: #000; font-weight: 400; }
.skin-mutt .chips a { border-radius: 0; border-color: #555; background: #000; color: #c0c0c0; }
.skin-mutt .chips a.on { background: #00aaaa; color: #000; }
.skin-mutt #senderFilter, .skin-mutt .range input { background: #000; color: #c0c0c0; border-color: #555; border-radius: 0; }
.skin-mutt #listPane, .skin-mutt #reader { background: #000; border: 0; }
.skin-mutt .listhead { background: #00aaaa; color: #000; border: 0; padding: 0 8px; }
.skin-mutt .listhead select { background: #00aaaa; color: #000; border: 0; }
.tm-line { display: block; white-space: pre; padding: 0 8px !important; border: 0 !important; line-height: 1.35; color: #c0c0c0 !important; overflow: hidden; text-overflow: ellipsis; }
.tm-line:hover { color: #fff !important; }
.tm-line.on { background: #c0c0c0 !important; color: #000 !important; }
.tm-line.on .tm-s { color: #000; }
.tm-s { color: #c0c0c0; }
.skin-mutt .sentinel { color: #5555ff; text-align: left; padding-left: 8px; }
.tm-pager { padding: 6px 10px 40px; }
.tm-pager pre { margin: 0; white-space: pre-wrap; overflow-wrap: anywhere; font-size: 14px; line-height: 1.35; }
.tm-h { color: #c0c0c0; margin-bottom: 1.35em !important; }
.tm-k { color: #55ff55; }
.tm-h b { color: #fff; }
.skin-mutt .bodytext { font-size: 14px; color: #c0c0c0; }
.tm-q { color: #55ffff; margin-top: 1.35em; border-left: 2px solid #00aaaa; padding-left: 1ch; }
.tm-q pre, .tm-q .bodytext { color: #55ffff; }
.tm-att { color: #ffff55; white-space: pre-wrap; margin-top: 1.35em; }
.tm-att a { color: #ffff55; font-weight: 700; }
.tm-end .skin-src { color: #808080; }
.tm-end .skin-src a { color: #55ffff; }
.tm-status { position: sticky; bottom: 0; background: #00aaaa; color: #000; padding: 0 6px; margin: 12px -10px -40px; white-space: pre; overflow: hidden; }
.skin-mutt .redact { background: #aa5500; color: #fff; }
.skin-mutt .redact.r-bar { background: #c0c0c0; color: #c0c0c0; }
.skin-mutt .url { border-radius: 0; background: #000; border-color: #55ffff; color: #55ffff; }
.skin-mutt mark { background: #aa5500; color: #fff; }

/* ============================================================ TELETEXT */
body.skin-teletext { --bg: #000; --panel: #000; --panel-2: #000; --line: #00f; --text: #fff; --muted: #0ff; --accent: #ff0;
  --accent-soft: #00f; --mark: #f0f; background: #000; color: #fff; color-scheme: dark; padding-bottom: 40px; }
body.skin-teletext, body.skin-teletext * { font-family: "Courier New", "Lucida Console", monospace !important; font-weight: 700; }
.skin-teletext .topbar { background: #000; border: 0; height: 40px; gap: 14px; font-size: 18px; }
.skin-teletext .brand { color: #fff; font-size: 18px; letter-spacing: 1px; }
.tt-p { color: #fff; } .tt-n { color: #ff0; } .tt-clk { color: #ff0; }
.skin-teletext #q { background: #000; border: 2px solid #0ff; border-radius: 0; color: #ff0; text-transform: uppercase; height: 30px; }
.skin-teletext #q::placeholder { color: #0aa; }
.skin-teletext #searchForm button { background: #f00; color: #fff; border: 0; border-radius: 0; }
.skin-teletext .toplink, .skin-teletext .skinpick { color: #0ff; }
.skin-teletext .skinpick select { background: #000; color: #ff0; border: 2px solid #0ff; border-radius: 0; }
.skin-teletext .layout { grid-template-columns: minmax(0, 1fr) !important; }
.skin-teletext #sidebar { display: none; }
@media (max-width: 1100px) { .skin-teletext #sidebar { display: block; } }
.skin-teletext #listPane, .skin-teletext #reader { background: #000; border: 0; }
.skin-teletext #listIntro, .skin-teletext #items, .skin-teletext .listhead, .skin-teletext .sentinel, .tt-read { max-width: 820px; margin-left: auto; margin-right: auto; }
.tt-mosaic { height: 16px; margin-top: 10px;
  background: repeating-linear-gradient(90deg, #f00 0 20px, #ff0 20px 40px, #0f0 40px 60px, #0ff 60px 80px, #00f 80px 100px, #f0f 100px 120px); }
.tt-band { background: #00f; padding: 6px 12px 2px; }
.tt-band h1 { font-size: 46px; color: #ff0; letter-spacing: 6px; transform: scaleY(1.45); transform-origin: top; height: 70px; }
.tt-sub { color: #0ff; font-size: 18px; padding: 8px 12px; }
.skin-teletext .listhead { background: #000; color: #0f0; border: 0; font-size: 16px; position: static; }
.skin-teletext .listhead select { background: #000; color: #ff0; border: 1px solid #0ff; border-radius: 0; }
.tt-row { display: block; padding: 4px 12px !important; border: 0 !important; color: #fff !important; font-size: 19px; text-decoration: none; }
.tt-row:nth-child(even) .tt-s { color: #0ff; }
.tt-row:hover, .tt-row.on { background: #00f; }
.tt-l1 { display: flex; gap: 6px; min-width: 0; }
.tt-s { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; text-transform: uppercase; flex: 0 1 auto; }
.tt-dots { flex: 1 1 30px; overflow: hidden; white-space: nowrap; color: #0f0; min-width: 30px; }
.tt-dots::before { content: "........................................................................................................"; }
.tt-pg { color: #ff0; flex: none; }
.tt-l2 { display: block; color: #0f0; font-size: 15px; text-transform: uppercase; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.skin-teletext .sentinel { color: #f0f; }
.tt-read { padding: 10px 12px 30px; font-size: 18px; }
.tt-band.tt-small { color: #fff; font-size: 18px; padding: 6px 12px; }
.tt-band.tt-small span { color: #ff0; }
.tt-hl { color: #ff0; font-size: 28px; line-height: 1.2; text-transform: uppercase; margin: 14px 0 10px; overflow-wrap: anywhere; }
.tt-by { color: #fff; margin-bottom: 14px; overflow-wrap: anywhere; }
.tt-by span { color: #0ff; }
.skin-teletext .bodytext { font-size: 18px; line-height: 1.35; color: #fff; }
.tt-q { margin-top: 16px; }
.tt-q .bodytext { color: #0f0; }
.tt-qh { color: #000; background: #0ff; padding: 2px 8px; display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.tt-img { margin-top: 18px; }
.tt-img img { display: block; max-width: 100%; margin-top: 6px; filter: contrast(1.6) grayscale(1) sepia(1) hue-rotate(80deg) saturate(6); image-rendering: pixelated; }
.tt-prev, .tt-next { background: #ff0; color: #000; border: 0; border-radius: 0; font-size: 16px; cursor: pointer; padding: 0 8px; }
.tt-prev:disabled, .tt-next:disabled { background: #555; }
.tt-count { color: #000; }
.tt-back { margin-top: 12px; background: #f00; color: #fff; border: 0; border-radius: 0; font-size: 18px; padding: 4px 12px; cursor: pointer; }
.skin-teletext .skin-src { color: #0ff; font-size: 14px; }
.skin-teletext .skin-src a { color: #ff0; }
.skin-teletext .redact { background: #f00; color: #fff; }
.skin-teletext .redact.r-bar { background: #fff; color: #fff; }
.skin-teletext mark { background: #f0f; color: #fff; }
.skin-teletext .url { background: #000; border: 1px solid #ff0; color: #ff0; border-radius: 0; }
.tt-fast { position: fixed; left: 0; right: 0; bottom: 0; display: grid; grid-template-columns: repeat(4, 1fr); background: #000; z-index: 30;
  font-size: 18px; padding: 4px 8px; gap: 8px; }
.tt-fast a { text-decoration: none; text-transform: uppercase; text-align: center; }
.tt-fast .r { color: #f00; } .tt-fast .g { color: #0f0; } .tt-fast .y { color: #ff0; } .tt-fast .c { color: #0ff; }

/* ============================================================ BROADSHEET */
body.skin-gazette { --bg: #f4efe4; --panel: #f4efe4; --panel-2: #ece5d5; --line: #1a1a1a; --text: #1a1a1a; --muted: #555; --accent: #1a1a1a;
  --accent-soft: #e2d9c4; --mark: #f3d36b; --side-w: 230px;
  font-family: Georgia, "Times New Roman", Times, serif; background: #f4efe4; color: #1a1a1a; color-scheme: light; }
.skin-gazette .topbar { background: #f4efe4; border-bottom: 1px solid #1a1a1a; height: 44px; }
.np-brand { font: 700 18px "Old English Text MT", "UnifrakturMaguntia", Georgia, serif; color: #1a1a1a; }
.skin-gazette #q { border: 1px solid #1a1a1a; border-radius: 0; background: #fbf8f1; font-style: italic; }
.skin-gazette #searchForm button { background: #1a1a1a; border-color: #1a1a1a; border-radius: 0; font-variant: small-caps; }
.skin-gazette .toplink, .skin-gazette a { color: #1a1a1a; }
.skin-gazette #sidebar { background: #f4efe4; border-right: 1px solid #1a1a1a; }
.skin-gazette #sidebar h3 { font: 700 13px Georgia, serif; font-variant: small-caps; letter-spacing: .08em; color: #1a1a1a; border-bottom: 3px double #1a1a1a; padding-bottom: 2px; }
.skin-gazette .kinds a { border-radius: 0; font-variant: small-caps; font-size: 15px; letter-spacing: .04em; border-bottom: 1px dotted #999; }
.skin-gazette .kinds a.on { background: #1a1a1a; color: #f4efe4; }
.skin-gazette .chips a { border-radius: 0; background: transparent; border-color: #1a1a1a; }
.skin-gazette .chips a.on, .skin-gazette .facet a.on { background: #1a1a1a; color: #f4efe4; }
.skin-gazette #listPane, .skin-gazette #reader { background: #f4efe4; border: 0; }
.np-mast { text-align: center; padding: 18px 24px 0; }
.np-ears { display: flex; justify-content: space-between; font: italic 12px Georgia, serif; border-bottom: 1px solid #1a1a1a; padding-bottom: 6px; }
.np-mast h1 { font: 400 clamp(40px, 6vw, 76px)/1.1 "Old English Text MT", "UnifrakturMaguntia", "Engravers MT", Georgia, serif; margin: 10px 0 6px; }
.np-dl { display: flex; justify-content: space-between; gap: 10px; font: 12px Georgia, serif; text-transform: uppercase; letter-spacing: .08em;
  border-top: 3px double #1a1a1a; border-bottom: 1px solid #1a1a1a; padding: 5px 0; }
.skin-gazette .listhead { background: #f4efe4; border: 0; border-bottom: 1px solid #1a1a1a; margin: 0 24px; padding: 6px 0; position: static; font-style: italic; }
.skin-gazette .listhead select { background: #fbf8f1; border-color: #1a1a1a; border-radius: 0; }
.skin-gazette #items { column-count: 3; column-gap: 30px; column-rule: 1px solid #b9b0a0; padding: 14px 24px; }
@media (max-width: 1400px) { .skin-gazette #items { column-count: 2; } }
@media (max-width: 760px) { .skin-gazette #items { column-count: 1; } }
.np-art { display: block; break-inside: avoid; padding: 0 0 14px !important; margin-bottom: 14px; border: 0 !important; border-bottom: 1px solid #b9b0a0 !important;
  color: #1a1a1a !important; text-decoration: none; }
.np-art:hover { background: transparent; }
.np-art:hover h3 { text-decoration: underline; }
.np-art.on h3 { background: #f3d36b; }
.np-fig { display: none; }
.np-art:first-child { column-span: all; display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 0 26px; border-bottom: 3px double #1a1a1a !important; padding-bottom: 18px !important; }
.np-art:first-child .np-fig { display: block; grid-row: 1 / span 4; width: 300px; height: 260px; object-fit: cover; object-position: top; border: 1px solid #1a1a1a; filter: grayscale(1) contrast(1.1); }
.np-art:first-child h3 { font-size: 34px; }
.np-art h3 { font: 700 20px/1.15 Georgia, "Times New Roman", serif; margin: 0 0 6px; overflow-wrap: anywhere; }
.np-art .np-by, .np-read .np-by { font: italic 13px Georgia, serif; color: #444; margin-bottom: 6px; overflow-wrap: anywhere; }
.np-art p { font-size: 14px; line-height: 1.45; margin: 0 0 6px; text-align: justify; hyphens: auto; overflow-wrap: anywhere; }
.np-read { max-width: 980px; margin: 0 auto; padding: 18px 30px 50px; }
.np-back { border: 0; background: transparent; font: italic 14px Georgia, serif; cursor: pointer; padding: 0; text-decoration: underline; }
.np-kick { font: 700 12px Georgia, serif; text-transform: uppercase; letter-spacing: .15em; margin-top: 18px; border-top: 3px double #1a1a1a; padding-top: 8px; }
.np-read h1 { font: 700 clamp(30px, 4vw, 50px)/1.08 Georgia, "Times New Roman", serif; margin: 8px 0 10px; overflow-wrap: anywhere; }
.np-photo { float: right; width: 300px; margin: 6px 0 14px 24px; }
.np-photo img { width: 100%; border: 1px solid #1a1a1a; filter: grayscale(1) contrast(1.08); display: block; }
.np-photo figcaption { font: italic 12px Georgia, serif; color: #444; margin-top: 4px; }
.np-body { column-count: 2; column-gap: 30px; column-rule: 1px solid #b9b0a0; margin-top: 16px; }
@media (max-width: 900px) { .np-body { column-count: 1; } .np-photo { float: none; width: 100%; margin: 10px 0; } }
.skin-gazette .bodytext { font: 16px/1.55 Georgia, "Times New Roman", serif; text-align: left; }
.np-body > .bodytext::first-letter { float: left; font: 700 62px/.82 Georgia, serif; padding: 6px 8px 0 0; }
.np-box { break-inside: avoid; border: 1px solid #1a1a1a; background: #ece5d5; padding: 10px 12px; margin: 16px 0; }
.np-box h4 { font: 700 12px Georgia, serif; text-transform: uppercase; letter-spacing: .1em; margin: 0 0 4px; }
.np-box .bodytext { font-size: 14px; }
.np-corr { clear: both; border-top: 1px solid #1a1a1a; margin-top: 20px; font-style: italic; }
.skin-gazette .redact.r-bar { background: #1a1a1a; }

/* active folder counts must stay readable on the inverted highlight */
.skin-mutt .kinds a.on .count, .skin-gazette .kinds a.on .count { color: inherit; opacity: .75; }
