/* Product marks (Danny 16/10/2026): each product looks like its own space at a glance, inside design kit v1.
   No new colour: the glyph sits on an ink tile in the one orange; the product's own rule (its motif) replaces the
   plain separator under its header. Shared by Backstage (index.html) and the conversation page (fight.html). */
.mk-tile{display:inline-grid;place-items:center;flex:none;width:44px;height:44px;border-radius:12px;background:#191919;color:var(--accent)}
.mk-tile.sm{width:32px;height:32px;border-radius:10px}
.mk-tile svg{width:26px;height:26px}
.mk-tile.sm svg{width:20px;height:20px}
.mk-glyph{fill:none;stroke:currentColor;stroke-width:1.75;stroke-linecap:round;stroke-linejoin:round}
.mk-rule{display:block;width:100%;height:12px;color:var(--muted);overflow:visible}
.mk-rule pattern path,.mk-rule pattern rect{fill:none;stroke:currentColor;stroke-width:1.25;stroke-linecap:round;stroke-linejoin:round}
.mk-rule .mk-line{stroke:var(--line);stroke-width:1}
.mk-rule pattern circle.dot{fill:currentColor;stroke:none}
/* in dark the ink tile sits on an ink page: a line gives it its edge */
:root[data-theme="dark"] .mk-tile{box-shadow:inset 0 0 0 1px var(--line)}
@media (prefers-color-scheme: dark){:root:not([data-theme="light"]) .mk-tile{box-shadow:inset 0 0 0 1px var(--line)}}

/* the header of a product's space: tile, name, its line, then its rule */
.space-head{margin-bottom:28px}
.space-head .sh-top{display:flex;align-items:center;gap:16px}
.space-head h1{font-size:clamp(36px,4.4vw,54px)}
.space-head .sh-of{font:600 11px/1.5 var(--f-body);letter-spacing:.1em;text-transform:uppercase;color:var(--muted);margin-bottom:2px}
.space-head .sub{color:var(--muted);max-width:620px;margin-top:14px;font-size:17px;line-height:1.6}
.space-head .mk-rule{margin-top:18px}

/* the home: one block per product, each opened by its own small header and rule */
.space{margin-top:40px}
#s-home>.head{margin-bottom:0}
#s-home>.head+*{margin-top:32px}
#s-home>.card+.space{margin-top:32px}
.space .sp-h{display:flex;align-items:center;gap:12px;margin-bottom:10px}
.space .sp-h h2{font:800 28px/1.05 var(--f-head);letter-spacing:-.01em;text-transform:none;color:var(--ink)}
.space .sp-h .sp-state{margin-left:auto;font-size:14px;color:var(--muted);text-align:right}
.space>.mk-rule{margin-bottom:16px}
.space .sp-body{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:12px 24px}
.space .sp-body p{margin:0;max-width:560px;color:var(--muted)}
.space .sp-addons{margin-top:18px}
.addon{display:flex;flex-wrap:wrap;align-items:center;gap:8px 16px;padding:12px 0;border-top:1px solid var(--line)}
.addon .ad-t{flex:1 1 220px;min-width:0}
.addon .ad-t strong{display:block;font:800 18px/1.15 var(--f-head)}
.addon .ad-state{display:block;margin-top:2px;font-size:14px;color:var(--muted)}
.addon .ad-acts{display:flex;gap:8px;flex-wrap:wrap}
.addon .ad-more{flex:1 1 100%;margin:4px 0 0;max-width:560px;font-size:15px;line-height:1.55;color:var(--muted)}
.spaces-more{margin-top:56px}
.spaces-more>h2{margin-bottom:16px}
.offer-row{display:flex;align-items:flex-start;gap:16px;padding:16px 0;border-top:1px solid var(--line)}
.offer-row .btn{align-self:center}
.offer-row:last-child{border-bottom:1px solid var(--line)}
.offer-row .or-t{flex:1;min-width:0}
.offer-row strong{display:block;font:800 22px/1.1 var(--f-head)}
.offer-row p{margin:4px 0 0;font-size:15px;color:var(--muted)}
@media (max-width:640px){
  .space .sp-h{flex-wrap:wrap}
  .space .sp-h .sp-state{margin-left:44px;width:100%;text-align:left;margin-top:-6px}
  .offer-row{flex-wrap:wrap}
  .offer-row .or-t{flex:1 1 calc(100% - 48px)}
  .offer-row .btn{margin-left:48px;align-self:flex-start}
}

/* the menu: grouped by product, each group under its own glyph */
nav .grp{display:flex;align-items:center;gap:10px;font:600 11px/1.5 var(--f-body);letter-spacing:.1em;text-transform:uppercase;color:var(--muted);padding:18px 8px 6px}
nav .grp .mk-tile{width:24px;height:24px;border-radius:7px}
nav .grp .mk-tile svg{width:16px;height:16px}
nav a .mk-glyph{width:20px;height:20px;flex:none}
nav .sep.gap{padding:0;margin:10px 8px;border-top:1px solid var(--line)}

/* Take Two's saved sessions under its block on the home, and one session to read (#session) - the app's list, flat */
.tt-sessions{margin-top:18px}
.tt-start{margin-bottom:12px}
.tt-list{border-top:1px solid var(--line)}
.tt-row{display:block;padding:14px 0;border-bottom:1px solid var(--line);color:var(--ink);text-decoration:none}
.tt-row:hover strong{text-decoration:underline;text-decoration-color:var(--accent);text-decoration-thickness:2px;text-underline-offset:4px}
.tt-row .tt-t{display:flex;flex-wrap:wrap;align-items:baseline;justify-content:space-between;gap:4px 16px}
.tt-row strong{font:800 18px/1.15 var(--f-head)}
.tt-row .tt-state{font-size:14px;color:var(--muted)}
.tt-row .tt-line{display:block;margin-top:4px;font-size:15px;line-height:1.5;color:var(--muted);overflow-wrap:anywhere}
.tt-foot:not(:empty){margin-top:12px}
.tt-err{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin:0}
.tt-back{margin:0 0 20px;color:var(--muted)}
.tt-back a{color:inherit;text-decoration:underline;text-underline-offset:3px}
.tt-tags{margin:0 0 20px}
.tt-said{margin:0 0 16px;padding:14px 18px;border-left:4px solid var(--accent);background:var(--raised);border-radius:var(--r-small);white-space:pre-wrap;overflow-wrap:anywhere;font-size:19px;line-height:1.5}
.tt-doc{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:12px;margin:16px 0;border-radius:var(--r-card)}
#s-session .space-head{margin-bottom:20px}
