/* the people pages: one column, plain rows, the same violet as the door; faces and names are me.css's */
:root { --bg: var(--sy-bg); --line: var(--sy-line); --text: var(--sy-text); --dim: var(--sy-dim); --bright: var(--sy-bright); --wave: var(--sy-wave); --accent: var(--sy-accent); }
* { box-sizing: border-box; }
html { background: var(--bg); }
body { margin: 0; min-height: 100dvh; color: var(--text); font: 15px/1.55 system-ui, -apple-system, "Segoe UI", sans-serif; background: radial-gradient(ellipse 70% 40% at 50% 0%, color-mix(in srgb, var(--sy-wave) 14%, transparent), color-mix(in srgb, var(--sy-bg) 0%, transparent) 70%), var(--bg); overflow-x: hidden; }
a { color: var(--bright); text-decoration: none; }

.top { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; max-width: 760px; margin: 0 auto; padding: max(18px, env(safe-area-inset-top)) 16px 18px; }
.top, main { position: relative; z-index: 1; }
/* someone signed out on an open profile: the other pages are behind the door, so their links go; view plans stays */
body.sy-visitor .links > a { display: none; }
.home { display: flex; align-items: center; gap: 10px; }
.home img { width: 26px; height: 26px; border-radius: 6px; }
.home b { font-weight: 400; font-size: 16px; }
.links { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; font-size: 14px; }
.links > a, .links .plans { color: var(--dim); padding: 2px 0; transition: color .2s, text-shadow .2s; }
/* view plans and the account corner keep together at the far right */
.ends { display: inline-flex; align-items: center; gap: 18px; }
.ends [data-syringa-corner]:empty { display: none; }
.links > a:hover, .links > a.on, .links .plans:hover, .links .plans.on { color: var(--bright); text-shadow: 0 0 10px color-mix(in srgb, var(--sy-wave) 55%, transparent); }
body.sy-visitor .apps-menu { display: none; }
/* the bar stands over the page while its list is open */
.top:has(.apps-list:not([hidden])) { z-index: 3; }

main { max-width: 760px; margin: 0 auto; padding: 8px 16px max(48px, env(safe-area-inset-bottom)); }
h1 { display: flex; flex-wrap: wrap; align-items: baseline; column-gap: 10px; margin: 18px 0 14px; color: var(--bright); font-size: 30px; font-weight: 300; }
h1 small { color: var(--dim); font-size: 14px; font-variant-numeric: tabular-nums; }
h2 { margin: 28px 0 10px; color: var(--bright); font-size: 16px; font-weight: 400; }
.quiet { color: var(--dim); }
.big .sy-role, .line .sy-role { margin-left: 8px; font-size: 12px; }

/* home: who is on, and the two apps */
.live { display: flex; align-items: center; gap: 8px; color: var(--dim); font-size: 13px; }
.live i { width: 7px; height: 7px; border-radius: 50%; background: #5fd38a; box-shadow: 0 0 8px rgba(95, 211, 138, .6); }
.heres { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 6px 18px; }
.here { display: flex; align-items: center; gap: 10px; min-width: 0; padding: 6px 0; }
/* door.css has its own .who; these are a name over a line */
.here .who, .row .who { min-width: 0; margin: 0; gap: 0; display: flex; flex-direction: column; align-items: stretch; }
.apps { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 24px; align-items: start; margin-top: 34px; }
h2 + .apps { margin-top: 0; }
.apps a { display: grid; grid-template-columns: 34px 1fr; grid-template-rows: auto auto; column-gap: 12px; align-items: center; padding: 6px 0; text-decoration: none; }
.apps a:hover b { color: #fff; text-shadow: 0 0 1px currentColor, 0 0 12px color-mix(in srgb, var(--sy-wave) 60%, transparent), 0 0 26px color-mix(in srgb, var(--sy-wave) 25%, transparent); }
.apps a:hover img { transform: translateY(-2px); }
.apps img { grid-row: span 2; width: 34px; height: 34px; border-radius: 8px; transition: transform .25s ease-out; }
.apps b { font-weight: 400; color: var(--bright); transition: color .25s, text-shadow .25s; }
.apps b small { margin-left: 6px; color: var(--dim); font-size: 12px; font-variant-numeric: tabular-nums; }
.apps span { color: var(--dim); font-size: 12px; }

/* users: a row each */
.row { display: flex; align-items: center; gap: 14px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.row .who { flex: 1; }
.row .vip-mark { margin-left: 6px; font-size: 11px; color: #f07a9a; letter-spacing: .04em; }
.row .vip-mark.ended { color: var(--dim); }
.line { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.when { color: var(--dim); font-size: 13px; }
.uid { color: var(--dim); font-size: 13px; font-variant-numeric: tabular-nums; }

/* a profile: the face large, the name as styled, what to do */
.card { display: flex; align-items: center; gap: 24px; margin: 26px 0 10px; }
.card .sy-moves, .card .about { min-width: 0; }
.card .big { font-size: 30px; font-weight: 300; line-height: 1.2; overflow-wrap: anywhere; }
.card .when { margin-top: 4px; }
.card .sy-doing { margin-top: 4px; font-size: 13px; white-space: normal; overflow-wrap: anywhere; }
/* every mark before a profile line sits in one 13px slot, its middle on the middle of the letters, so dots, the doing dot and the clock line up */
.dot { display: inline-block; width: 7px; height: 7px; margin: 0 9px 0 3px; border-radius: 50%; background: var(--sy-st-online); vertical-align: middle; }
.card .sy-doing::before { width: 7px; height: 7px; margin: 0 9px 0 3px; vertical-align: middle; }
.acts { display: flex; gap: 16px; margin-top: 12px; font-size: 14px; }
.acts a { cursor: pointer; color: var(--sy-pale); transition: color .2s, text-shadow .2s; }
.acts a:hover { color: #fff; text-shadow: 0 0 10px color-mix(in srgb, var(--sy-accent) 60%, transparent); }

/* stats */
.tally { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 10px 0; }
.tally div { border-top: 1px solid var(--line); padding-top: 8px; }
.tally b { display: block; color: var(--bright); font-size: 22px; font-weight: 300; font-variant-numeric: tabular-nums; }
.tally span { color: var(--dim); font-size: 13px; }
table { width: 100%; border-collapse: collapse; font-size: 14px; font-variant-numeric: tabular-nums; }
td, th { text-align: right; padding: 7px 0; border-bottom: 1px solid var(--line); font-weight: 400; }
th { color: var(--dim); font-size: 12px; }
td:first-child, th:first-child { text-align: left; color: var(--bright); }

@media (max-width: 520px) {
  h1 { font-size: 26px; }
  .card { flex-direction: column; align-items: flex-start; gap: 14px; }
  .card > .sy-face { --s: 92px !important; }
  .apps { grid-template-columns: 1fr; }
  .tally b { font-size: 19px; }
  .links { gap: 14px; }
  /* the bar wraps on a phone: the corner up beside the name, the links and view plans in a row of their own beneath,
     so a corner full of icons never runs into the name; signed out, plans alone sits up beside it */
  .top .links { width: 100%; }
  .top .ends { display: contents; }
  .top [data-syringa-corner] { position: absolute; right: 16px; top: max(18px, env(safe-area-inset-top)); height: 26px; }
  body.sy-visitor .top .links { width: auto; }
}

/* a page of one's own (builder.ts): the background behind everything, blocks in six columns round the card */
main:has(> .pg-wide) { max-width: 1100px; }
.pg-card { margin: 26px 0 18px; }
.pg-card > .card { margin: 0; }
.pg-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; }
.pg-block { position: relative; grid-column: span 6; min-width: 0; color: var(--c, var(--text)); }
.pg-align-center { text-align: center; }
.pg-align-right { text-align: right; }
.pg-text { margin: 0; white-space: pre-wrap; overflow-wrap: anywhere; }
.pg-heading { margin: 4px 0 0; font-weight: 300; color: var(--c, var(--bright)); overflow-wrap: anywhere; }
.pg-size-1 .pg-text { font-size: 13px; }
.pg-size-3 .pg-text { font-size: 18px; }
.pg-size-1 .pg-heading { font-size: 18px; }
.pg-size-2 .pg-heading { font-size: 24px; }
.pg-size-3 .pg-heading { font-size: 34px; }
.pg-media { display: block; width: 100%; height: auto; }
.pg-round .pg-media { border-radius: 14px; }
.pg-empty { display: grid; place-items: center; height: 120px; border: 1px dashed var(--line); border-radius: 14px; color: var(--dim); }
.pg-empty .sy-icon { width: 28px; height: 28px; }
.pg-link { display: inline-flex; align-items: center; gap: 8px; padding: 4px 0; color: var(--c, var(--bright)); transition: text-shadow .25s, color .25s; }
a.pg-link:hover { color: #fff; text-shadow: 0 0 1px currentColor, 0 0 10px color-mix(in srgb, var(--c, var(--wave)) 60%, transparent), 0 0 24px color-mix(in srgb, var(--c, var(--wave)) 30%, transparent); }
.pg-size-1 .pg-link { font-size: 13px; padding: 5px 11px; }
.pg-size-3 .pg-link { font-size: 18px; padding: 11px 18px; }
.pg-icon { display: inline-grid; place-items: center; color: var(--c, var(--bright)); }
/* a turned, slanted or grown block turns what it holds; a link round it is a box so it can */
.pg-block[data-turn] > a, .pg-block[data-skew] > a, .pg-block[data-zoom] > a { display: inline-block; }
.pg-block > :first-child { transition: transform .12s ease-out; }
.pg-icon .sy-icon { width: 26px; height: 26px; }
.pg-size-1 .pg-icon .sy-icon { width: 18px; height: 18px; }
.pg-size-3 .pg-icon .sy-icon { width: 40px; height: 40px; }
.pg-icon-block a:hover .pg-icon { color: var(--accent); }
.pg-gap { height: 24px; }
.pg-size-1 .pg-gap { height: 10px; }
.pg-size-3 .pg-gap { height: 56px; }
.pg-line { border: 0; border-top: 1px solid var(--c, var(--line)); margin: 8px 0; }
/* a box round the card or a block, only when its owner picks one: any shape, see-through, tinted or frosted, a
   line round it or none; with none at all the page is the background and the words alone */
.pg-box { padding: 14px 16px; }
.pg-card.pg-box { padding: 22px 24px; }
.pg-shape-square { border-radius: 0; }
.pg-shape-soft { border-radius: 12px; }
.pg-shape-round { border-radius: 24px; }
.pg-shape-pill { border-radius: 999px; padding-inline: 26px; }
.pg-shape-circle { border-radius: 50%; }
.pg-block.pg-shape-circle { display: grid; place-items: center; aspect-ratio: 1; padding: 10px; text-align: center; }
.pg-shape-leaf { border-radius: 28px 4px 28px 4px; }
.pg-shape-arch { border-radius: 999px 999px 12px 12px; padding-top: 26px; }
.pg-shape-blob { border-radius: 42% 58% 63% 37% / 41% 44% 56% 59%; padding: 22px 26px; }
.pg-fill-clear { background: transparent; }
.pg-fill-tint { background: color-mix(in srgb, var(--sy-bg) 55%, transparent); }
.pg-fill-frosted { background: rgba(28, 20, 40, .35); -webkit-backdrop-filter: blur(14px) saturate(1.3); backdrop-filter: blur(14px) saturate(1.3); }
.pg-edge { border: 1px solid color-mix(in srgb, var(--c, var(--sy-bright)) 18%, transparent); }
/* a profile's box edges show only for someone who turned edges on in the panel; the border stays as space so nothing shifts */
html:not(.sy-edged) .pg-edge { border-color: transparent; }
.pg-box .pg-media { border-radius: inherit; }
/* free blocks stand where they were let go under the card, over or beside the grid */
.pg-under { position: relative; }
.pg-block.pg-free { position: absolute; grid-column: auto; z-index: 1; transform-origin: 0 0; }
.pg-dragging { opacity: .85; cursor: grabbing !important; z-index: 3; }
.pg-editing .pg-block:not(.pg-text-block):not(.pg-heading-block):not(.pg-link-block), .pg-move { touch-action: none; }
.pg-move { cursor: grab !important; }

/* editing: a block picked wears a ring and its bar of icons; the dock sits at the foot */
.pg-editing .pg-block { cursor: pointer; outline: 1px dashed color-mix(in srgb, var(--sy-bright) 12%, transparent); outline-offset: 4px; }
.pg-editing .pg-block:not(.pg-box) { border-radius: 6px; }
.pg-editing .pg-block:hover { outline-color: color-mix(in srgb, var(--sy-wave) 45%, transparent); }
.pg-editing .pg-block.pg-picked { outline: 1px solid var(--wave); z-index: 6; }
/* room under the page for the open sheet, so the block picked scrolls up clear of it */
.pg-editing .pg { padding-bottom: var(--sheet-room, 0px); }
/* files held over the page: a dashed edge round it and what a drop does */
.pg-dropping .pg { outline: 2px dashed color-mix(in srgb, var(--sy-wave) 70%, transparent); outline-offset: 6px; border-radius: 14px; }
.pg-dropping::after { content: "drop to add"; position: fixed; z-index: 40; left: 50%; top: 50%; transform: translate(-50%, -50%); color: var(--bright); font: 15px/1.2 system-ui, sans-serif; text-shadow: 0 1px 10px rgba(0, 0, 0, .8); pointer-events: none; }
.pg-dock > label { position: relative; display: inline-grid; place-items: center; width: 30px; height: 30px; color: var(--dim); cursor: pointer; }
.pg-dock > label:hover { color: var(--bright); }
.pg-editing [contenteditable] { cursor: text; outline: none; min-width: 2ch; }
.pg-tools, .pg-dock { display: flex; align-items: center; gap: 2px; padding: 4px; border: 1px solid color-mix(in srgb, var(--sy-bright) 12%, transparent); border-radius: 12px; background: rgba(16, 11, 24, .66); backdrop-filter: blur(4px); box-shadow: 0 10px 30px rgba(0, 0, 0, .45); }
.pg-tools { position: absolute; z-index: 5; left: 50%; bottom: calc(100% + 10px); transform: translateX(-50%); color: var(--text); font-size: 12px; white-space: nowrap; text-align: left; }
.pg-tools a, .pg-tools label, .pg-dock > a { position: relative; display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 8px; color: var(--dim); cursor: pointer; }
.pg-tools a:hover, .pg-tools label:hover, .pg-dock > a:hover { color: var(--bright); }
.pg-tools a.on, .pg-dock > a.on { color: var(--wave); }
.pg-tools em, .pg-dock em { position: absolute; right: 2px; bottom: 0; font: 9px/1 system-ui; font-style: normal; color: var(--bright); }
.pg-dock { position: fixed; z-index: 30; left: 50%; bottom: max(14px, env(safe-area-inset-bottom)); transform: translateX(-50%); flex-wrap: wrap; justify-content: center; max-width: calc(100vw - 32px); }
.pg-dock > i { width: 1px; height: 18px; margin: 0 4px; background: var(--line); }
.pg-dock > a[data-dock=edit] { width: auto; grid-auto-flow: column; gap: 6px; padding: 0 12px; }
.pg-dock > a[data-dock=edit] em { position: static; font-size: 13px; color: inherit; }
.pg-dock.pg-plain { padding: 0; border: 0; background: none; backdrop-filter: none; box-shadow: none; }
/* the edit link alone sits over the footer line, not on it */
.pg-dock.pg-plain { bottom: calc(max(14px, env(safe-area-inset-bottom)) + 34px); }
.pg-dock.pg-plain > a, .pg-dock.pg-plain > a:hover { background: none; text-shadow: 0 1px 8px rgba(0, 0, 0, .7); }
.pg-state { min-width: 0; padding: 0 6px; color: var(--dim); font-size: 12px; }
.pg-sheet { position: absolute; left: 50%; bottom: calc(100% + 8px); transform: translate(calc(-50% + var(--dx, 0px)), var(--dy, 0px)); display: grid; gap: 10px; width: min(360px, calc(100vw - 32px)); padding: 0 12px 12px; border: 1px solid color-mix(in srgb, var(--sy-bright) 12%, transparent); border-radius: 14px; background: rgba(16, 11, 24, .74); backdrop-filter: blur(5px); font-size: 13px; }
/* a sheet's bar: dragged to move it, folded down to itself, or closed */
.pg-sheet-bar { position: sticky; top: 0; z-index: 1; display: flex; align-items: center; gap: 4px; margin: 0 -12px; padding: 4px 6px 4px 8px; border-bottom: 1px solid color-mix(in srgb, var(--sy-bright) 8%, transparent); color: var(--dim); font-size: 12px; cursor: grab; touch-action: none; user-select: none; }
.pg-sheet-bar > span { flex: 1; }
.pg-sheet-bar > a { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 8px; color: var(--dim); cursor: pointer; }
.pg-sheet-bar > a:hover { color: var(--bright); }
.pg-sheet-bar > a[data-sheet-grab] { cursor: grab; }
.pg-sheet-body { display: grid; gap: 10px; }
.pg-folded { padding-bottom: 0; }
.pg-folded .pg-sheet-body { display: none; }
.pg-kinds { display: flex; flex-wrap: wrap; gap: 6px; }
.pg-kinds a { display: inline-flex; align-items: center; gap: 5px; padding: 4px 2px; color: var(--dim); cursor: pointer; transition: color .2s, text-shadow .2s; }
.pg-kinds a:hover { color: var(--text); }
.pg-kinds a.on { color: var(--bright); text-shadow: 0 0 10px color-mix(in srgb, var(--wave) 55%, transparent); }
.pg-swatches { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.pg-swatches a { display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; border: 1px solid color-mix(in srgb, var(--sy-bright) 20%, transparent); color: var(--dim); cursor: pointer; }
.pg-swatches a.on { box-shadow: 0 0 0 2px var(--bg), 0 0 0 3px var(--bright); }
.pg-swatches .sy-icon { width: 12px; height: 12px; }
.pg-swatches input[type=color] { width: 26px; height: 24px; padding: 0; border: 0; background: none; cursor: pointer; }
.pg-range { display: grid; grid-template-columns: 80px 1fr; align-items: center; gap: 10px; color: var(--dim); }
.pg-range input { accent-color: var(--wave); }
.pg-upload { display: flex; align-items: center; gap: 8px; padding: 9px 12px; border: 1px dashed var(--line); border-radius: 10px; color: var(--text); cursor: pointer; }
.pg-upload:hover { border-color: var(--wave); }
.pg-icons { display: grid; grid-template-columns: repeat(8, 1fr); gap: 4px; }
.pg-icons a { display: grid; place-items: center; height: 34px; border-radius: 8px; color: var(--dim); cursor: pointer; }
.pg-icons a:hover { color: var(--bright); }
.pg-places { max-height: 180px; overflow-y: auto; scrollbar-width: thin; }
.pg-places a .sy-icon { width: 18px; height: 18px; }
.pg-href { display: flex; gap: 6px; }
.pg-href input { flex: 1; min-width: 0; padding: 7px 10px; border: 1px solid var(--line); border-radius: 8px; background: rgba(0, 0, 0, .3); color: var(--bright); font: inherit; }
.pg-href button { display: grid; place-items: center; width: 34px; border: 1px solid var(--line); border-radius: 8px; background: none; color: var(--bright); cursor: pointer; }

/* staff: a bin on each block, and the page's own two marks */
.pg-bin { position: absolute; top: -6px; right: -6px; display: grid; place-items: center; width: 22px; height: 22px; color: #f07a9a; cursor: pointer; opacity: .55; filter: drop-shadow(0 0 3px color-mix(in srgb, var(--sy-bg) 90%, transparent)); transition: opacity .2s, filter .2s; }
.pg-bin:hover { opacity: 1; filter: drop-shadow(0 0 6px rgba(240, 122, 154, .7)); }
.pg-bin .sy-icon { width: 14px; height: 14px; }
.pg-staff { display: flex; gap: 16px; margin-top: 22px; font-size: 13px; }
.pg-staff a { display: inline-flex; align-items: center; gap: 6px; color: #f07a9a; cursor: pointer; }
.pg-staff .sy-icon { width: 14px; height: 14px; }
/* a ban from the page: its reason, what else goes, then how long */
.pg-ban { display: flex; flex-direction: column; gap: 10px; margin-top: 12px; font-size: 13px; }
.pg-ban-why { max-width: 360px; padding: 6px 0; border: 0; border-bottom: 1px solid var(--line); background: none; color: var(--text); font: inherit; outline: none; }
.pg-ban-why:focus { border-bottom-color: #f07a9a; }
.pg-ban-row { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; }
.pg-ban-row > span { color: var(--dim); }
.pg-ban-row a { color: var(--dim); cursor: pointer; transition: color .15s; }
.pg-ban-row a:hover, .pg-ban-row a.on { color: #f07a9a; }
.pg-vip { margin-top: 12px; font-size: 13px; }
.pg-ban-row a[data-ban-for] { color: var(--text); }
.pg-ban-row a[data-ban-for]:hover { color: #f07a9a; }
.dot.sy-away { background: var(--sy-st-away); }
.dot.sy-busy { background: var(--sy-st-busy); }
.dot.sy-offline, .dot.sy-invisible { background: var(--sy-st-offline); }
.played .sy-icon { width: 13px; height: 13px; margin-right: 6px; vertical-align: middle; }
.acts .sy-icon { width: 16px; height: 16px; vertical-align: -3px; }
.acts a[data-act=talk] { border-bottom: 0; }

@media (max-width: 520px) {
  .pg-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pg-block { grid-column: span 2 !important; }
  .pg-icon-block { grid-column: span 1 !important; }
  /* on a phone a block's tools sit at the top of the screen, whole, wherever the block is */
  .pg-tools, .pg-free > .pg-tools { position: fixed; top: max(10px, env(safe-area-inset-top)); bottom: auto; left: 50%; transform: translateX(-50%); flex-wrap: wrap; justify-content: center; width: max-content; max-width: calc(100vw - 32px); z-index: 31; }
  .pg-tools a, .pg-tools label { width: 36px; height: 36px; }
  .pg-tools .pg-move { display: none; }
}
/* what the line under a name says: plain words, the one in use lit */
h1 .pick { display: inline-flex; align-items: baseline; gap: 12px; margin-left: 8px; font-size: 14px; }
h1 .pick a { color: var(--dim); cursor: pointer; transition: color .2s, text-shadow .2s; }
h1 .pick a:hover { color: var(--text); }
h1 .pick a.on { color: var(--bright); text-shadow: 0 0 10px color-mix(in srgb, var(--wave) 55%, transparent); }
/* girlymo.de's home: a line under the name, a quiet count beside a heading, a plain way on */
.lead { max-width: 560px; margin: -4px 0 0; color: var(--text); }
h2 small { margin-left: 6px; font-size: 13px; }
.more { display: inline-flex; align-items: center; gap: 6px; color: var(--dim); font-size: 13px; text-decoration: none; transition: color .2s, text-shadow .2s; }
.more:hover { color: var(--bright); text-shadow: 0 0 10px color-mix(in srgb, var(--sy-wave) 50%, transparent); }
.more svg { width: 13px; height: 13px; }
/* quick on a phone: no tap delay or grey flash, a press shows at once, pages fade one into the next */
html { touch-action: manipulation; -webkit-tap-highlight-color: transparent; }
.row, .here, .apps a, .links > a, .links .plans { transition: opacity .12s; }
.row:active, .here:active, .apps a:active, .links > a:active, .links .plans:active { opacity: .6; transition: none; }
@view-transition { navigation: auto; }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: .16s; }
@media (prefers-reduced-motion: reduce) { ::view-transition-old(root), ::view-transition-new(root) { animation: none; } }
/* a profile's two views, as plain words, and the log of what their apps said */
.views { display: flex; gap: 14px; margin: 8px 0 6px; font-size: 13px; }
.views a { color: var(--dim); cursor: pointer; transition: color .2s, text-shadow .2s; }
.views a:hover { color: var(--text); }
.views a.on { color: var(--bright); text-shadow: 0 0 10px color-mix(in srgb, var(--wave) 55%, transparent); }
.views small { opacity: .6; }
.views-row { display: flex; align-items: center; gap: 14px; }
.views-row .views { flex: 1; }
.compare { display: inline-flex; translate: 0 1px; color: var(--dim); cursor: pointer; transition: color .2s, filter .2s; }
.compare .sy-icon { width: 15px; height: 15px; }
.compare:hover { color: var(--text); }
.compare.on { color: var(--wave); filter: drop-shadow(0 0 6px color-mix(in srgb, var(--wave) 55%, transparent)); }
.counted { max-height: 420px; margin-top: 4px; overflow-y: auto; overscroll-behavior: contain; }
.counted .app-stat { padding: 6px 0 10px; }
.counted .app-head img { width: 22px; height: 22px; }
.counted .games { grid-template-columns: 1fr; margin-bottom: 4px; }
.game .what small { margin-left: 8px; color: var(--dim); font-size: 11.5px; }
.fig .you { color: var(--dim); font-size: 11.5px; font-style: normal; opacity: .75; }
.used[hidden] { display: none; }
.used { margin-top: 6px; }
.log { display: flex; flex-direction: column; gap: 2px; max-height: 340px; margin-top: 4px; overflow-y: auto; overscroll-behavior: contain; }
.act { display: flex; align-items: center; gap: 4px; padding: 5px 0; font-size: 13px; }
.act .sy-mark { width: 22px; height: 22px; margin-right: 8px; flex: none; }
.act .what { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.act .what small { margin-left: 8px; color: var(--dim); font-size: 11.5px; }
.act .at { flex: none; color: var(--dim); font-size: 12px; }
/* stats: numbers with an icon each, an app a line, versions folded, games in their own icons */
.figs { display: flex; flex-wrap: wrap; gap: 6px 22px; align-items: baseline; color: var(--dim); font-size: 13px; }
.figs.sum { margin: 4px 0 8px; font-size: 14px; }
.fig { display: inline-flex; align-items: baseline; gap: 6px; white-space: nowrap; }
.fig b { color: var(--bright); font-weight: 500; font-variant-numeric: tabular-nums; }
.fig .sy-icon { width: 14px; height: 14px; align-self: center; color: var(--wave); opacity: .85; }
.fig .dot { align-self: center; }
.app-stat { padding: 10px 0 12px; }
.app-head { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.app-head img { width: 22px; height: 22px; object-fit: contain; }
/* a bot's own discord picture, round as discord shows it */
.app-head img.face { border-radius: 50%; object-fit: cover; }
.app-head b { color: var(--bright); font-weight: 500; }
.app-head small { color: var(--dim); }
.unfold { display: inline-flex; align-items: center; gap: 4px; margin-top: 8px; color: var(--dim); font-size: 12.5px; cursor: pointer; transition: color .2s; }
.unfold:hover { color: var(--text); }
.unfold .sy-icon { width: 12px; height: 12px; transition: rotate .2s ease; }
.unfold.open .sy-icon { rotate: 90deg; color: var(--wave); }
.vers[hidden], .figs.vers[hidden] { display: none; }
.vers { margin-top: 4px; }
.ver { display: grid; grid-template-columns: 90px repeat(3, 56px); gap: 8px; padding: 3px 0; color: var(--dim); font-size: 12.5px; font-variant-numeric: tabular-nums; }
.ver b { color: var(--text); font-weight: 400; }
.ver span { display: inline-flex; align-items: center; justify-content: flex-end; gap: 5px; }
.ver .sy-icon { width: 12px; height: 12px; opacity: .6; }
.games { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 4px 24px; }
.game { display: flex; align-items: center; gap: 10px; padding: 5px 0; font-size: 13px; }
.game img, .game .no-icon { width: 28px; height: 28px; flex: none; object-fit: contain; }
.game .no-icon { display: grid; place-items: center; color: var(--dim); }
.game .what { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--text); }
.game .fig { font-size: 12px; }
/* girlymode as it is written: white, a soft violet light passing through it now and then */
.gm { color: #fff; background: linear-gradient(100deg, #fff 42%, #c99bf2 50%, #fff 58%) 0 0 / 300% 100% no-repeat; -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; animation: gm-shine 7s ease-in-out infinite; }
.gm i { font-style: normal; }
@keyframes gm-shine { 0%, 55% { background-position: 100% 0; } 100% { background-position: 0 0; } }
@media (prefers-reduced-motion: reduce) { .gm { animation: none; background: none; -webkit-text-fill-color: #fff; } }
/* a girl as the mark reads small at the bunny's size: bigger, its own shape, the header no taller */
.home img.girl { width: 40px; height: 40px; margin: -7px -2px; border-radius: 0; object-fit: contain; }
/* a line under a name too long for its room reads along to its end, waits, fades and comes back from its start */
.slide { display: block; overflow: hidden; white-space: nowrap; }
.slide > span { display: inline-block; }
.slide.long { -webkit-mask-image: linear-gradient(90deg, #000 86%, transparent); mask-image: linear-gradient(90deg, #000 86%, transparent); }
.slide.long > span { animation: glide var(--for, 8s) ease-in-out infinite; }
@keyframes glide { 0%, 18% { translate: 0; opacity: 1; } 62%, 78% { translate: var(--run, 0); opacity: 1; } 88% { translate: var(--run, 0); opacity: 0; } 89% { translate: 0; opacity: 0; } 100% { translate: 0; opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .slide.long > span { animation: none; } }
/* the name's card tried in the sheet while its look is painted */
.pg-try.sy-card { position: relative; z-index: auto; justify-self: center; animation: none; box-shadow: none; }
.pg-aim { padding-bottom: 8px; border-bottom: 1px solid color-mix(in srgb, var(--sy-bright) 10%, transparent); }
.pg-ask { display: inline-flex; gap: 10px; padding: 0 6px; color: var(--dim); font-size: 12px; }
.pg-ask a { color: var(--text); cursor: pointer; }
.pg-ask a:first-child { color: var(--bright); }

/* a track: its picture, words and tabs, the wave drawn by tracks.js, the play, the time and the save */
.tk { display: grid; gap: 10px; color: var(--text); text-align: left; }
.tk-top { display: flex; gap: 12px; align-items: center; min-width: 0; }
.tk-art { flex: none; width: 96px; aspect-ratio: 1; border-radius: 10px; overflow: hidden; display: grid; place-items: center; }
/* cut to the shape its owner chose; a face in it fills it square and is cut with it */
.tk-art[data-shape] { border-radius: 0; clip-path: var(--clip); }
.tk-art[data-shape] .sy-face { border-radius: 0; }
.tk-art img { width: 100%; height: 100%; object-fit: cover; }
.tk-art .sy-face { width: 100%; height: 100%; }
.pg-size-1 .tk-art { width: 80px; }
.pg-size-3 .tk-art { width: 116px; }
.tk-words { display: grid; gap: 3px; min-width: 0; }
.tk-title { overflow: hidden; color: var(--c, var(--bright)); font-size: 15px; font-weight: 600; white-space: nowrap; text-overflow: ellipsis; }
.pg-size-1 .tk-title { font-size: 13px; }
.pg-size-3 .tk-title { font-size: 18px; }
.tk-credits { overflow: hidden; color: var(--dim); font-size: 12px; white-space: nowrap; text-overflow: ellipsis; }
.tk-credits a { color: var(--text); }
.tk-credits a:hover { color: var(--bright); text-shadow: 0 0 10px color-mix(in srgb, var(--wave) 55%, transparent); }
.tk-tabs { display: flex; flex-wrap: wrap; gap: 6px 10px; margin-top: 3px; font-size: 11px; }
.tk-tabs-words span { color: var(--dim); }
.tk-tabs-outline span, .tk-tabs-filled span { padding: 2px 7px; border-radius: 5px; color: var(--bright); }
.tk-tabs-outline span { border: 1px solid color-mix(in srgb, var(--c, var(--sy-wave)) 70%, transparent); }
.tk-tabs-filled span { background: color-mix(in srgb, var(--c, var(--sy-wave)) 22%, transparent); }
.tk-bar { display: flex; align-items: center; gap: 10px; min-width: 0; }
.tk-wave { display: block; flex: 1; min-width: 30px; width: 100%; height: 53px; cursor: pointer; touch-action: pan-y; }
.tk-circle .tk-wave { flex: none; margin: 0 auto; }
.tk-play { flex: none; display: grid; place-items: center; width: 30px; height: 30px; color: var(--c, var(--sy-wave)); cursor: pointer; transition: color .2s, filter .2s; }
.tk-play:hover, .tk-going .tk-play { color: var(--bright); filter: drop-shadow(0 0 6px color-mix(in srgb, var(--c, var(--sy-wave)) 70%, transparent)); }
.tk-play .sy-icon { width: 22px; height: 22px; }
.tk-play.tk-none { color: var(--dim); cursor: default; filter: none; }
.tk-time { flex: none; color: var(--dim); font: 11px/1 ui-monospace, monospace; font-variant-numeric: tabular-nums; }
.tk-save { flex: none; display: grid; place-items: center; color: var(--dim); }
.tk-save:hover { color: var(--bright); }
.tk-save .sy-icon { width: 18px; height: 18px; }
.tk-is-row { display: flex; align-items: center; gap: 10px; }
.tk-is-row .tk-words { flex: 0 1 30%; }
.tk-is-row .tk-wave { flex: 1; }
.tk-is-wave { display: flex; align-items: center; gap: 10px; }
.tk-is-cover { justify-items: center; text-align: center; }
.tk-is-cover .tk-art { width: min(260px, 100%); }
.tk-is-cover .tk-words { justify-items: center; }
.tk-is-cover .tk-tabs { justify-content: center; }
.tk-is-cover .tk-bar { width: 100%; }
.tk-ring { position: relative; display: grid; place-items: center; width: min(260px, 70%); margin: 10% 0; }
.tk-ring .tk-art { position: relative; z-index: 1; width: 100%; border-radius: 50%; }
.tk-ring .tk-wave { position: absolute; inset: -16%; width: 132%; height: 132%; }
.tk-is-cover.tk-circle .tk-bar { justify-content: center; }
/* its sheet in the dock, long enough to scroll */
.pg-sheet { max-height: 62vh; overflow-y: auto; }
.pg-sheet:has(.tk-sheet) { width: min(440px, calc(100vw - 32px)); background: rgba(16, 11, 24, .92); }
.tk-sheet { display: grid; gap: 9px; }
.tk-sheet input:not([type]), .tk-sheet input[type=number], .tk-sheet input[type=time] { min-width: 0; padding: 7px 10px; border: 1px solid var(--line); border-radius: 8px; background: rgba(0, 0, 0, .3); color: var(--bright); font: inherit; }
.tk-field { width: 100%; }
.tk-line { display: flex; gap: 6px; }
.tk-line .tk-field { flex: 1; }
.tk-small { width: 74px; flex: none; }
.tk-line > span { align-self: center; color: var(--dim); font-size: 12px; }
.tk-small[type=time] { width: auto; min-width: 108px; color-scheme: dark; }
.tk-head, .tk-kinds > span { color: var(--dim); font-size: 12px; }
.tk-kinds > span { padding: 4px 6px 4px 0; }
.tk-kinds label { display: inline-flex; align-items: center; gap: 5px; padding: 4px 2px; color: var(--dim); cursor: pointer; }
.tk-kinds label:hover, .tk-kinds label.on { color: var(--bright); }
.tk-kinds .sy-icon { width: 14px; height: 14px; }
.tk-credit { display: grid; grid-template-columns: 1fr 110px 24px; gap: 6px; align-items: center; }
.tk-credit > a { display: grid; place-items: center; color: var(--dim); cursor: pointer; }
.tk-credit > a:hover { color: var(--bright); }
.tk-song { display: grid; grid-template-columns: 22px 1fr auto 24px 24px; gap: 6px; align-items: center; min-height: 28px; font-variant-numeric: tabular-nums; color: var(--dim); }
.tk-song > input { min-width: 0; }
.tk-song .tk-own { padding-left: 11px; color: var(--bright); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tk-song > a { display: grid; place-items: center; color: var(--dim); cursor: pointer; }
.tk-song > a:hover { color: var(--bright); }
.tk-song.on > span:first-child, .tk-song > a.on { color: var(--accent, var(--sy-accent)); }
.tk-credit > a.tk-tagged { justify-items: start; color: var(--bright); }
.tk-credit .sy-icon { width: 14px; height: 14px; }
.tk-found { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 10px; }
.tk-found:empty { display: none; }
.tk-found a { color: var(--dim); cursor: pointer; }
.tk-found a:hover { color: var(--bright); }
.tk-reads { color: var(--text); font-size: 12px; }
.tk-reads:empty { display: none; }
/* a free block shrunk on a phone keeps its tools and its bin at their own size, to be pressed */
.pg-free > .pg-tools { transform: translateX(-50%) scale(calc(1 / var(--shrink, 1))); transform-origin: 50% 100%; max-width: calc((100vw - 32px) * var(--shrink, 1)); }
.pg-free > .pg-bin { transform: scale(calc(1 / var(--shrink, 1))); transform-origin: 100% 0; }
/* the track sheet in parts: a row of bare icons, the part open lit */
.tk-parts { display: flex; align-items: center; gap: 14px; padding-bottom: 7px; border-bottom: 1px solid var(--line); }
.tk-parts a { display: grid; place-items: center; color: var(--dim); cursor: pointer; transition: color .2s, filter .2s; }
.tk-parts a:hover { color: var(--text); }
.tk-parts a.on { color: var(--bright); filter: drop-shadow(0 0 6px color-mix(in srgb, var(--wave) 60%, transparent)); }
.tk-parts .sy-icon { width: 19px; height: 19px; }
.tk-parts span { color: var(--dim); font-size: 12px; }
.tk-tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(78px, 1fr)); gap: 8px 10px; }
.tk-tiles a { display: grid; gap: 3px; justify-items: center; color: var(--dim); font-size: 11px; cursor: pointer; transition: color .2s; }
.tk-tiles a:hover { color: var(--text); }
.tk-tiles a.on { color: var(--bright); text-shadow: 0 0 10px color-mix(in srgb, var(--wave) 55%, transparent); }
.tk-tiles canvas { display: block; width: 100%; height: 40px; }
.tk-shows .sy-icon { width: 16px; height: 16px; }

/* the ghost log: lines in the margins that come in and fade out as ghosts; none on top of the page's own */
.ghosts { position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.ghost { position: absolute; translate: var(--gx, 0px) var(--gy, 0px); max-width: min(260px, 40vw); font-size: 12px; line-height: 1.4; color: var(--dim); opacity: 0; filter: blur(5px); transform: translateY(6px); transition: opacity 1.4s ease, filter 1.4s ease, transform 1.6s ease; white-space: normal; }
.ghost.in { opacity: .45; filter: blur(0); transform: none; }
.ghost.out { opacity: 0; filter: blur(4px); transform: translateY(-10px); transition-duration: 1.8s; }
.ghost span.off { opacity: 0; }
.ghost span.noise { opacity: .6; }
.ghost.decode, .ghost.type { filter: none; }
.ghost.decode.out, .ghost.type.out { filter: blur(4px); }
.ghost .gname { font-weight: 600; }
/* the signed-out home: who keeps to themselves is a hash and a face of light, never a link */
.here.mock { opacity: .7; }
.mock-face { flex: none; width: 34px; height: 34px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, hsl(var(--h, 280) 60% 70% / .55), hsl(var(--h, 280) 50% 30% / .25) 70%); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08); filter: blur(.4px); }
.hash { font-family: ui-monospace, "Cascadia Mono", Consolas, monospace; letter-spacing: .04em; color: var(--dim); }
.here .line.hash { color: var(--text); font-size: 13px; }
.here .hash { font-weight: 400; }
.heres.wall { grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); }
.ghost.k-join, .ghost.k-person { color: #d9a7f0; }
.ghost.k-online { color: #8fdcab; }
.ghost.k-app, .ghost.k-game { color: var(--sy-text); }
.ghost.k-today { color: #f0a7d9; }
.g0 { left: 4%; top: 18%; }
.g1 { right: 4%; top: 26%; text-align: right; }
.g2 { left: 3%; top: 48%; }
.g3 { right: 3%; top: 56%; text-align: right; }
.g4 { left: 5%; bottom: 18%; }
.g5 { right: 5%; bottom: 11%; text-align: right; }
/* the margins grow too thin for them: one line at the foot of the page, centred, in its flow so it stays put as
   the page scrolls rather than riding over it; above the signature where there is one */
@media (max-width: 1100px) {
  .ghosts { position: relative; inset: auto; order: 1; flex: none; height: 64px; margin-top: auto; overflow: visible; }
  body:has(> .ghosts:not([hidden])) > .sy-sign { order: 2; margin-top: 0; padding-top: 4px; }
  .g0, .g1, .g2, .g3, .g4 { display: none; }
  .g5 { left: 50%; right: auto; top: 50%; bottom: auto; width: min(86vw, 360px); max-width: none; text-align: center; translate: calc(-50% + var(--gx, 0px)) calc(-50% + var(--gy, 0px)); }
}
@media (prefers-reduced-motion: reduce) {
  .ghost, .ghost.in, .ghost.out { transition: opacity .6s; transform: none; filter: none; }
}
/* a party's invite: its crest, its name, who is in it, a way in */
.invite { display: flex; flex-direction: column; align-items: center; gap: 6px; margin: 8vh auto 0; text-align: center; }
.invite .sy-crest[data-s="88"] { width: 88px; height: 88px; border-radius: 24px; font-size: 38px; }
.invite h1 { margin: 10px 0 0; }
.invite .ways { display: flex; gap: 22px; margin-top: 10px; }
.invite .ways a { cursor: pointer; font-size: 15px; line-height: 1.4; }
.invite .said { min-height: 1.4em; color: var(--accent, var(--sy-accent)); font-size: 13px; }
/* the friends a profile starred: a small face each, in a row under the playtime */
.favs { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: 8px; }
.favs > .sy-icon { width: 13px; height: 13px; color: #f5c46a; fill: currentColor; margin-right: 2px; }
.favs a { line-height: 0; border-radius: 50%; transition: transform .15s; }
.favs a:hover { transform: translateY(-2px); }
/* their other places: a row of marks under the playtime, each in its own colour under the pointer */
.socials { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 10px; }
.socials a { display: inline-flex; width: 20px; height: 20px; color: var(--sy-dim, #a99bbd); cursor: pointer; line-height: 0; transition: color .15s, transform .15s, filter .15s; }
.socials a:hover { color: var(--c, #fff); transform: translateY(-2px); filter: drop-shadow(0 0 6px var(--c, transparent)); }
.socials a.copied { color: var(--c, #fff); }
.socials .sy-icon { width: 100%; height: 100%; }
.socials .sy-brand { fill: currentColor; stroke: none; }

/* saved looks: a folder's name over its looks, each seen on the page before it is put on */
.pg-sheet:has(.pg-look-keep), .pg-sheet:has(.pg-look-keep) .pg-sheet-body { grid-template-columns: minmax(0, 1fr); }
.pg-look-keep { display: flex; gap: 6px; margin-bottom: 6px; }
.pg-look-keep input { flex: 1; min-width: 0; padding: 7px 10px; border: 1px solid var(--line); border-radius: 8px; background: rgba(0, 0, 0, .3); color: var(--bright); font: inherit; }
.pg-look-keep input[name=folder] { flex: .6; }
.pg-look-keep button { flex: none; background: none; border: 0; color: var(--dim); cursor: pointer; padding: 0 2px; }
.pg-look-keep button:hover { color: var(--text); }
.pg-look-folder { margin: 10px 0 2px; color: var(--dim); font-size: 11px; letter-spacing: .04em; }
.pg-look { display: flex; align-items: center; gap: 8px; padding: 3px 0; min-width: 0; }
.pg-look a { flex: none; display: inline-grid; place-items: center; color: var(--dim); cursor: pointer; }
.pg-look a:hover, .pg-look.on a:first-child { color: var(--bright); }
.pg-look .sy-icon { width: 15px; height: 15px; }
.pg-look-name { flex: none; max-width: 40%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pg-look.on .pg-look-name { color: var(--bright); }
.pg-look-sample { min-width: 0; overflow: hidden; white-space: nowrap; }
.pg-look-holds { flex: 1; min-width: 0; font-size: 11px; text-align: right; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pg-look-seeing { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; margin-bottom: 8px; color: var(--dim); }
.pg-look-seeing b { color: var(--bright); font-weight: 500; }
.pg-look-seeing a { color: var(--accent); cursor: pointer; }
.pg-look-seeing a:hover { color: var(--bright); }

/* the eye in a profile's corner: dim and slow while no one else looks, brought up and lit while someone does */
.card:has(> .sy-views) { position: relative; padding-right: 64px; }
.sy-views { position: absolute; top: 0; right: 0; display: inline-flex; align-items: center; gap: 5px; color: var(--dim); opacity: .5; font-size: 12px; cursor: default; transition: opacity .8s, color .8s, filter .8s; }
.sy-views.own { cursor: pointer; }
.sy-views.own:hover { opacity: .85; }
.sy-views b { font-weight: 400; }
.sy-views small { min-width: 14px; padding: 0 4px; border-radius: 7px; background: color-mix(in srgb, var(--wave) 30%, transparent); color: var(--bright); font-size: 10px; text-align: center; }
.sy-views.live { opacity: 1; color: var(--bright); filter: drop-shadow(0 0 6px color-mix(in srgb, var(--wave) 60%, transparent)); }
.sy-views.live .sy-eye { color: var(--wave); }
.sy-eye { width: 26px; height: 18px; overflow: visible; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; }
.sy-eye-top { transform-origin: 13px 9px; animation: sy-lid 4.2s infinite; }
.sy-eye-ball { transform-origin: 13px 9px; animation: sy-shut 4.2s infinite; }
.sy-eye-look { animation: sy-read 7s ease-in-out infinite alternate; }
.sy-eye-iris { stroke-width: 1.3; }
.sy-eye-pupil { fill: currentColor; stroke: none; }
.sy-views.live .sy-eye-pupil { animation: sy-glint 5.3s ease-in-out infinite; }
.sy-eye-lash { display: none; stroke-width: 1.2; }
.sy-views:not(.live) .sy-eye-look { animation-duration: 12s; }
.sy-views.shut .sy-eye-top, .sy-views.shut .sy-eye-ball { display: none; }
.sy-views.shut { opacity: .45; color: var(--dim); filter: none; }
.sy-views.shut .sy-eye { color: var(--dim); }
.sy-views.shut .sy-eye-lash { display: inline; }
@keyframes sy-lid { 0%, 96%, 100% { transform: scaleY(1); } 98% { transform: scaleY(-1); } }
@keyframes sy-shut { 0%, 96%, 100% { transform: scaleY(1); } 98% { transform: scaleY(0); } }
@keyframes sy-read { from { transform: translateX(-3px); } to { transform: translateX(3px); } }
@keyframes sy-glint { 0%, 55%, 100% { fill: currentColor; } 72% { fill: #fff; } }
@media (prefers-reduced-motion: reduce) { .sy-eye-top, .sy-eye-ball, .sy-eye-look, .sy-eye-pupil { animation: none !important; } }
@media (max-width: 520px) { .card:has(> .sy-views) { padding-right: 0; } }

/* comments under a profile; the face stays at the top beside a long list */
.card:has(.cm) { align-items: flex-start; }
.cm { margin-top: 6px; max-width: 460px; opacity: .6; font-size: 13px; transition: opacity .25s; }
.cm:hover, .cm:focus-within { opacity: 1; }
.cm-head { display: flex; gap: 14px; margin-bottom: 4px; font-size: 11px; }
.cm-head a, .cm-acts a, .cm-more { color: var(--dim); cursor: pointer; transition: color .2s; }
.cm-head a:hover, .cm-acts a:hover, .cm-more:hover { color: var(--bright); }
.cm-head .sy-icon { width: 13px; height: 13px; margin-right: 4px; vertical-align: -2px; }
.cm-say { display: flex; align-items: flex-end; gap: 6px; margin: 4px 0 6px; }
.cm-say textarea { flex: 1; min-height: 0; max-height: 160px; padding: 5px 8px; border: 0; border-radius: 8px; background: rgba(255, 255, 255, .05); color: var(--text); font: inherit; font-size: 13px; line-height: 1.4; resize: none; field-sizing: content; }
.cm-say textarea:focus { outline: none; background: rgba(255, 255, 255, .08); }
.cm-send { display: inline-flex; padding: 5px 2px; color: var(--dim); cursor: pointer; transition: color .2s, filter .2s; }
.cm-send:hover { color: var(--wave); filter: drop-shadow(0 0 6px color-mix(in srgb, var(--wave) 55%, transparent)); }
.cm-send .sy-icon { width: 15px; height: 15px; }
/* the box: the rooms' tray over the words, the files waiting under it, a smile and an upload beside the words */
.cm-tray:empty { display: none; }
.cm-tray .sy-room-tray { height: 260px; margin: 4px 0; border: 0; border-radius: 8px; background: rgba(255, 255, 255, .03); }
.cm-box .sy-stage { padding: 4px 0 0; }
/* a comment has no line to add a file to a profile from: the waiting file's keep toggle is left out */
.cm [data-stage-do=keep] { display: none; }
.cm-smile { display: inline-flex; padding: 5px 2px; color: var(--dim); cursor: pointer; transition: color .2s, filter .2s; }
.cm-smile:hover, .cm-smile.on { color: var(--wave); filter: drop-shadow(0 0 6px color-mix(in srgb, var(--wave) 55%, transparent)); }
.cm-smile .sy-icon, .cm-say .sy-attach .sy-icon { width: 15px; height: 15px; }
.cm-say .sy-attach { padding: 5px 2px; }
.cm-note, .cm-why { margin: 4px 0 8px; font-size: 13px; }
.cm-list { display: flex; flex-direction: column; max-height: 320px; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; }
.cm-one { display: flex; gap: 8px; padding: 5px 2px; }
.cm-one.held { opacity: .55; }
.cm-one > a, .cm-anon { flex: none; }
.cm-anon { display: inline-flex; align-items: center; justify-content: center; width: 22px; height: 22px; border-radius: 50%; background: rgba(255, 255, 255, .04); color: var(--dim); }
.cm-anon .sy-icon { width: 13px; height: 13px; }
.cm-body { min-width: 0; flex: 1; }
.cm-by { display: flex; align-items: baseline; gap: 6px; min-width: 0; font-size: 12px; }
.cm-by > * { flex: none; }
.cm-by > .cm-when { flex: 0 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cm-name { color: var(--bright); }
.cm-name small { color: var(--dim); font-size: 11px; }
.cm-when, .cm-held { color: var(--dim); font-size: 11px; }
.cm-held { color: var(--wave); }
.cm-words { margin-top: 1px; font-size: 13px; line-height: 1.4; overflow-wrap: anywhere; }
.cm-words a { color: var(--sy-pale); }
.cm-acts { display: flex; align-self: center; gap: 10px; margin-left: auto; opacity: 0; transition: opacity .2s; }
.cm-acts a { display: inline-flex; }
.cm-acts .sy-icon { width: 14px; height: 14px; }
.cm-one:hover .cm-acts, .cm-one:focus-within .cm-acts { opacity: 1; }
@media (hover: none) { .cm-acts { opacity: 1; } }
.cm-more { display: inline-block; margin-top: 6px; font-size: 12px; }

/* a page that can't be shown: a stand-in profile with a hash for a name, and why under it */
.unseen { display: grid; justify-items: center; gap: 10px; max-width: 420px; margin: 12vh auto 0; text-align: center; }
.unseen h1 { margin: 10px 0 0; }
.unseen p { margin: 0; line-height: 1.5; }
.unseen-card { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 6px 14px; width: 100%; padding: 16px 18px; border: 1px solid var(--line); border-radius: 14px; background: rgba(16, 11, 24, .5); text-align: left; filter: saturate(.8); }
.unseen-card .mock-face { width: 56px; height: 56px; grid-row: span 2; }
.unseen-who { display: grid; gap: 2px; }
.unseen-who b { color: var(--text); font-size: 15px; font-weight: 500; }
.unseen-lines { display: grid; gap: 6px; }
.unseen-lines i { display: block; height: 6px; border-radius: 3px; background: color-mix(in srgb, var(--sy-bright) 8%, transparent); }
.unseen-lines i:nth-child(1) { width: 90%; } .unseen-lines i:nth-child(2) { width: 70%; } .unseen-lines i:nth-child(3) { width: 40%; }
