/* DAW Community.
   Order: tokens and base, controls, the pieces screens are made of, the two frames (website, phone), then the
   screens that came after the first design: settings, notifications, admin, uploading. */

:root{
  /* Two voices. Ink is for words and quiet controls. Tint is for sound, for the thing to press, and for who is around. */
  --tint:#b9b4ff;
  --ink:#eceae5;
  --ground:#19191a;
  --bold:"DM Sans",ui-sans-serif,system-ui,sans-serif;
  --dim:color-mix(in srgb,var(--ink) 56%,transparent);
  --faint:color-mix(in srgb,var(--ink) 30%,transparent);
  --hair:color-mix(in srgb,var(--ink) 12%,transparent);
  --line:color-mix(in srgb,var(--ink) 34%,transparent);
  --wash:color-mix(in srgb,var(--tint) 13%,transparent);
  --glow:0 0 .875rem color-mix(in srgb,var(--tint) 46%,transparent),0 0 2.75rem color-mix(in srgb,var(--tint) 20%,transparent);
  color-scheme:dark;
}
*{box-sizing:border-box}
html{background:var(--ground);overflow-x:clip}
/* One number sizes the whole page. Every length in this file is in rem (16 of the old pixels to 1rem), so the root
   font size scales type, spacing, columns and icons together. On a wide screen the page is drawn at 90%; the phone
   layout stays at full size. Lines of 2px or less are in px on purpose, so hairlines stay crisp. When adding a size,
   write it in rem (pixels divided by 16); the conditions of @media rules stay in px. */
@media (min-width:1100px){html{font-size:90%}}
body{margin:0;color:var(--ink);font:400 1rem/1.5 "Mona Sans",ui-sans-serif,system-ui,sans-serif;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;overflow-x:clip}
button,input,textarea{font:inherit;color:inherit}
button{background:none;border:0;padding:0;cursor:pointer}
input,textarea{min-width:0;background:none;border:0;outline:0}
::placeholder{color:var(--faint)}
a{color:inherit;text-decoration:none}
ul,ol{list-style:none;margin:0;padding:0}
h1,h2,h3,p{margin:0}
svg{display:block;flex:none}
svg:where([width="20"]){width:1.25rem;height:1.25rem}          /* the line signs from ui.js are 20 by 20 in their markup; this lets them follow the scale */
i{font-style:normal}
[hidden]{display:none !important}
:focus-visible{outline:2px solid var(--tint);outline-offset:.1875rem;border-radius:.5rem}
input:focus-visible,textarea:focus-visible{outline:0}        /* where you type, the cursor says enough: no box round it */
.fields label:focus-within{border-bottom-color:var(--ink)}
/* The bold voice: titles, track names, the menu, the big numbers. DM Sans Black, tight. Everything else is Mona Sans. */
.wide{font-family:var(--bold);font-weight:900;font-variation-settings:"opsz" 40;letter-spacing:-.04em}
.cap{color:var(--dim);font-size:.84375rem}
.cap.lead{margin:2px 0 .75rem}

/* atmosphere */
.haze,.grain{position:fixed;inset:0;pointer-events:none}
.haze{z-index:0;background:
  radial-gradient(62vw 78vh at 96% 44%,color-mix(in srgb,var(--tint) 13%,transparent),transparent 72%),
  radial-gradient(48vw 60vh at -8% 108%,color-mix(in srgb,var(--tint) 12%,transparent),transparent 72%)}
.grain{z-index:30}

/* ---------- controls: an outline until it is active, then it fills. Quiet ones are ink, .t ones carry the tint ---------- */
/* The small working buttons: just their sign, no box and no outline. The ground lightens a little under the pointer. */
.sq{display:grid;place-items:center;width:2.75rem;height:2.75rem;flex:none;border-radius:.75rem;color:var(--dim);transition:background .15s,color .15s}
.sq:hover{background:var(--hair);color:var(--ink)}
.sq.t{color:var(--tint)}
.sq.t:hover,.sq.on{background:color-mix(in srgb,var(--tint) 16%,transparent);color:var(--tint)}
.sq.sm{width:2.25rem;height:2.25rem;border-radius:.625rem}
.sq.sm svg{width:1.125rem;height:1.125rem}
.sq.round{border-radius:50%}
.sq.wait{color:var(--faint);pointer-events:none}

/* ---------- the icons ----------
   Play, pause, new, search and alerts are pictures of 3D icons made in Blender (design/icons/build.py): soft bodies
   in the logo's material, lit and glossy. A button of this kind is the icon and nothing else. Play and pause come in
   each colour a track can have, and follow the colour in force (html[data-hue], set by light.js). */
:root{--play:url(/assets/icons/play-lav.png);--pause:url(/assets/icons/pause-lav.png)}
[data-hue=lime]{--play:url(/assets/icons/play-lime.png);--pause:url(/assets/icons/pause-lime.png)}
[data-hue=coral]{--play:url(/assets/icons/play-coral.png);--pause:url(/assets/icons/pause-coral.png)}
[data-hue=ice]{--play:url(/assets/icons/play-ice.png);--pause:url(/assets/icons/pause-ice.png)}
[data-hue=amber]{--play:url(/assets/icons/play-amber.png);--pause:url(/assets/icons/pause-amber.png)}
.ib{position:relative;display:block;flex:none;width:3rem;height:3rem;background:center/contain no-repeat;transition:transform .16s cubic-bezier(.2,.7,.2,1),filter .2s}
.ib.sm{width:2.375rem;height:2.375rem}
a.ib:hover,button.ib:hover,a:hover > .ib{transform:scale(1.08);filter:brightness(1.07)}
a.ib:active,button.ib:active{transform:scale(.93)}
.ib.new{background-image:url(/assets/icons/new-flow.png)}
.ib.search{background-image:url(/assets/icons/search-pale.png)}
.ib.alerts{background-image:url(/assets/icons/alerts-pale.png)}
/* Both pictures are always loaded, one at full size and one at none, so pressing play never waits for the other. */
.ib.play{background-image:var(--play),var(--pause);background-size:contain,0 0}
.playing .ib.play,.ib.play.playing{background-size:0 0,contain;filter:drop-shadow(0 0 .5625rem color-mix(in srgb,var(--tint) 55%,transparent))}
/* The other colours' pictures are fetched ahead, so a change of colour never shows a gap. */
body::after{content:"";position:fixed;left:-.5625rem;top:-.5625rem;width:1px;height:1px;pointer-events:none;opacity:0;background-image:url(/assets/icons/play-lime.png),url(/assets/icons/pause-lime.png),url(/assets/icons/play-coral.png),url(/assets/icons/pause-coral.png),url(/assets/icons/play-ice.png),url(/assets/icons/pause-ice.png),url(/assets/icons/play-amber.png),url(/assets/icons/pause-amber.png),url(/assets/icons/pause-lav.png)}

.pill{display:inline-flex;align-items:center;justify-content:center;gap:.5rem;height:2.875rem;padding:0 1.625rem;border-radius:6.1875rem;background:linear-gradient(100deg,color-mix(in srgb,var(--tint) 62%,#fff),var(--tint));color:var(--ground);font-weight:700;font-size:.96875rem;white-space:nowrap;box-shadow:0 0 .75rem color-mix(in srgb,var(--tint) 42%,transparent),0 0 2.25rem .25rem color-mix(in srgb,var(--tint) 22%,transparent),0 0 5rem .625rem color-mix(in srgb,var(--tint) 9%,transparent);transition:box-shadow .25s}
.pill:hover{box-shadow:0 0 .875rem color-mix(in srgb,var(--tint) 60%,transparent),0 0 2.75rem .375rem color-mix(in srgb,var(--tint) 32%,transparent),0 0 6rem .875rem color-mix(in srgb,var(--tint) 13%,transparent)}
.pill.o{background:var(--ground);color:var(--ink);box-shadow:inset 0 0 0 1.5px var(--line)}
.pill.o:hover{box-shadow:inset 0 0 0 1.5px var(--ink)}
.pill.sm{height:2.25rem;padding:0 1.125rem;font-size:.875rem}

.tag{padding:2px .5rem;border:1.2px solid var(--faint);border-radius:6.1875rem;color:var(--dim);font-size:.71875rem;font-weight:600;line-height:1.3;white-space:nowrap}
.tags{display:flex;flex-wrap:wrap;gap:.375rem}
.n{display:inline-grid;place-items:center;min-width:1.625rem;height:1.0625rem;padding:0 .375rem;border:1.3px solid currentColor;border-radius:6.1875rem;font:600 .6875rem/1 "Mona Sans",sans-serif;letter-spacing:0;font-variant-numeric:tabular-nums}
.ext{display:grid;place-items:center;width:2.25rem;height:1.375rem;flex:none;border:1.3px solid var(--faint);border-radius:6.1875rem;color:var(--dim);font-size:.59375rem;font-weight:700;letter-spacing:.05em;text-transform:uppercase}

/* A person's picture. Online is a small dot on its edge, nothing more: no glow. */
.av{position:relative;display:block;width:2.5rem;aspect-ratio:1;flex:none;border-radius:50%;background:#232326}
.av img{display:block;width:100%;height:100%;border-radius:50%;object-fit:cover}
.av.s{width:1.625rem}
.av.live::after{content:"";position:absolute;right:0;bottom:0;width:27%;height:27%;min-width:.4375rem;min-height:.4375rem;border-radius:50%;background:#8fe36d;box-shadow:0 0 0 2px var(--ground)}
.av.xl{width:8.5rem;box-shadow:0 0 0 .25rem var(--ground)}                  /* one plain border between the picture and the banner */
.av.xl.live::after{right:4%;bottom:4%;width:16%;height:16%;box-shadow:0 0 0 .25rem var(--ground)}
.hero > .av{margin:1.25rem 0}

/* Tabs. The one in view is a real tab: it stands on the line and opens into the page below it. The others are
   words on that line. No boxes round the page, no colour: just which one is in front. */
.filters{display:flex;align-items:flex-end;color:var(--dim);font-size:.90625rem;white-space:nowrap;overflow-x:auto;scrollbar-width:none}
.filters::-webkit-scrollbar{display:none}
.filters a{padding:.625rem .9375rem .5625rem;border:1px solid transparent;border-bottom-color:var(--hair);transition:color .15s}
.filters::after{content:"";flex:1;align-self:stretch;border-bottom:1px solid var(--hair)}
.filters a:hover{color:var(--ink)}
.filters a.on{border-color:color-mix(in srgb,var(--ink) 22%,transparent);border-bottom-color:transparent;border-radius:.6875rem .6875rem 0 0;background:linear-gradient(color-mix(in srgb,var(--ink) 9%,transparent),transparent 94%);color:var(--ink);font-weight:650}
.list > .post:first-child,.back + .post{border-top:0}
.back{display:inline-flex;align-items:center;gap:.375rem;height:2.75rem;margin:0 0 .25rem -.75rem;padding:0 1.125rem 0 .625rem;border-radius:6.1875rem;color:var(--ink);font-size:1.03125rem;font-weight:600;transition:background .15s}
.back:hover{background:var(--hair)}
.back svg{width:1.375rem;height:1.375rem}
.back + .post{padding-top:.75rem}
.src{color:var(--dim);font-size:.84375rem;white-space:nowrap}
.src.live{color:color-mix(in srgb,var(--tint) 82%,transparent)}
.who{font-weight:650;font-size:1rem}

/* ---------- posts ---------- */
/* New post. One line at the top of the feed; typing in it or pressing its plus opens it where it stands: the
   writing space grows, the plus turns into a cross, and the rest slides out from under it. */
.composer{margin-bottom:1.625rem}
.crow{display:flex;align-items:flex-start;gap:.875rem}
.crow .av{margin-top:.25rem}
.composer textarea{flex:1;min-width:0;min-height:3rem;padding:.6875rem 0 0;font-size:1.125rem;line-height:1.45;resize:none;field-sizing:content;transition:min-height .36s cubic-bezier(.2,.8,.2,1)}
.composer.open textarea{min-height:6.5rem}
.composer .ib.new{transition:rotate .36s cubic-bezier(.3,1.3,.4,1),transform .16s cubic-bezier(.2,.7,.2,1),filter .2s}
.composer.open .ib.new{rotate:45deg}
.cmore{display:grid;grid-template-rows:0fr;margin-left:3.375rem;transition:grid-template-rows .36s cubic-bezier(.2,.8,.2,1)}
.cmore > div{min-height:0;overflow:hidden;opacity:0;translate:0 -.625rem;visibility:hidden;transition:opacity .2s,translate .36s cubic-bezier(.2,.8,.2,1),visibility 0s .36s}      /* hidden for real while shut, so the Tab key and screen readers skip it */
.composer.open .cmore{grid-template-rows:1fr}
.composer.open .cmore > div{opacity:1;translate:0 0;visibility:visible;transition-delay:.07s,.07s,0s}
.composer.settled .cmore > div{overflow:visible}            /* once it has opened nothing is cut off: the Post button keeps its glow */
.composer .sendrow{flex-wrap:wrap;gap:.625rem .75rem;margin-top:.875rem;padding:0 0 .375rem}
.composer .sendrow .pill:first-child{margin-left:0}            /* Add a file starts the row, under the words; the general .sendrow rule would push it right */
.composer .sendrow .used{margin-left:auto}
.composer .sendrow .pill:last-child{margin-left:.25rem}
.post.fresh{animation:fresh .6s cubic-bezier(.2,.8,.2,1) backwards}
@keyframes fresh{from{opacity:0;translate:0 -1.125rem}}
@media (prefers-reduced-motion:reduce){.composer textarea,.composer .ib.new,.cmore,.cmore > div,.cmts,.cmts > div{transition:none}.post.fresh{animation:none}}
.post{padding:1.75rem 0 1.625rem;border-top:1px solid var(--hair)}
.post header{display:flex;align-items:center;gap:.75rem}
.post time,.comment time{margin-left:auto;color:var(--dim);font-size:.84375rem}
.post p{margin-top:.875rem;max-width:54ch;font-size:1.0625rem;line-height:1.5;text-wrap:pretty}

.track{margin-top:1.5rem}
.track h3{display:flex;flex-wrap:wrap;align-items:baseline;gap:.25rem .875rem;margin-bottom:.75rem;color:var(--tint);font-size:1.5rem;line-height:1.1}
.track h3 span{font-family:"Mona Sans",ui-sans-serif,system-ui,sans-serif;font-variation-settings:normal;font-weight:500;font-size:.84375rem;letter-spacing:0;color:var(--dim)}
.pin{display:inline-block;align-self:center;width:1.5rem;height:1.5rem;margin-right:-.5rem}
.audio{display:flex;align-items:center;gap:.875rem}
.wave{position:relative;flex:1;min-width:0;height:3.625rem;cursor:pointer}
.wave canvas{position:absolute;left:0;top:-1.75rem;width:100%;height:calc(100% + 3.5rem);pointer-events:none}
.dur{min-width:2.125rem;text-align:right;color:var(--dim);font-size:.84375rem;font-variant-numeric:tabular-nums}
.trim .wave::before,.trim .wave::after{content:"";position:absolute;z-index:1;top:2px;bottom:2px;width:.25rem;border-radius:.25rem;background:var(--tint);box-shadow:var(--glow);cursor:ew-resize}
.trim .wave::before{left:0}.trim .wave::after{right:0}

.files{margin-top:1.375rem;border-top:1px solid var(--hair)}
.files li{display:flex;align-items:center;gap:.875rem;min-height:3.4375rem;padding:.5625rem 0;border-bottom:1px solid var(--hair)}
.files b{flex:1;min-width:0;font-size:1.1875rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.files li.playing b{color:var(--tint)}
.files .kw{flex:none;width:clamp(4rem,24%,10.625rem);height:1.875rem}
.files .kw canvas{left:0;top:0;height:100%}
.files .cap,.files .dur{flex:none;font-variant-numeric:tabular-nums}
.files .fold{min-height:0;padding:1.25rem 0 .5rem;color:var(--dim);font-size:.84375rem}
.kit{display:flex;align-items:center;gap:1.125rem;margin-top:1.25rem;color:var(--dim);font-size:.875rem}

.video{position:relative;margin-top:1.375rem;aspect-ratio:16/9;overflow:hidden;border-radius:1.125rem;background:#0f0f11;box-shadow:0 0 0 1px var(--hair),0 0 4.375rem color-mix(in srgb,var(--tint) 9%,transparent)}
.session{position:absolute;inset:0;width:100%;height:100%;color:var(--tint);opacity:.5;filter:blur(.7px)}
.video::after{content:"";position:absolute;inset:0;background:radial-gradient(75% 95% at 50% 50%,transparent 20%,rgb(15 15 17/.82))}
.vplay{position:absolute;z-index:1;left:50%;top:50%;translate:-50% -50%;width:5.25rem;height:5.25rem;background:url(/assets/icons/play-flow.png) center/contain no-repeat;filter:drop-shadow(0 2px .875rem rgb(0 0 0/.55));transition:transform .16s}
.vplay:hover{transform:scale(1.07)}
.vmeta,.vlen{position:absolute;z-index:1;bottom:.8125rem;font-size:.8125rem}
.vmeta{left:1rem;color:var(--dim)}
.vlen{right:1rem;font-variant-numeric:tabular-nums}

.acts{display:flex;gap:1.125rem;margin-top:1.125rem;margin-left:-.1875rem}
.act{display:inline-flex;align-items:center;gap:.25rem;color:var(--dim);font-size:.875rem;font-variant-numeric:tabular-nums;transition:color .15s}
.act:hover{color:var(--ink)}
.act.on{color:var(--ink)}
/* The signs under a post are the same kind of 3D icon as play and search (design/icons), smaller and quiet until
   the pointer is on them. A heart that has been pressed turns pink, a pin that is in turns to the logo's colours. */
.ic{display:block;flex:none;width:1.625rem;height:1.625rem;background:center/contain no-repeat;transition:opacity .15s,transform .16s cubic-bezier(.2,.7,.2,1)}
.i-like{background-image:url(/assets/icons/like-pale.png),url(/assets/icons/like-love.png);background-size:contain,0 0}
.on > .i-like{background-size:0 0,contain}
.i-pin{background-image:url(/assets/icons/pin-pale.png),url(/assets/icons/pin-flow.png);background-size:contain,0 0}
.on > .i-pin,.i-pin.on{background-size:0 0,contain}
.i-comment{background-image:url(/assets/icons/comment-pale.png)}
.i-down{background-image:url(/assets/icons/download-pale.png)}
.i-bin{background-image:url(/assets/icons/delete-pale.png)}
.i-flag{background-image:url(/assets/icons/report-pale.png)}
.act .ic,.sq .ic,.extra .ic{opacity:.74}
.act:hover .ic,.act.on .ic,.sq:hover .ic,.extra a:hover .ic,.pin.ic{opacity:1}
.act:hover .ic{transform:scale(1.12)}
.act.pop .ic{animation:pop .38s cubic-bezier(.2,.9,.3,1.2)}
@keyframes pop{0%{transform:scale(.72)}55%{transform:scale(1.3)}100%{transform:scale(1)}}
@media (prefers-reduced-motion:reduce){.act.pop .ic{animation:none}}

/* ---------- comments ---------- */
/* Comments open under their post, wherever it is shown: the list first, then the line to write one. */
.cmts{display:grid;grid-template-rows:0fr;transition:grid-template-rows .34s cubic-bezier(.2,.8,.2,1)}
.cmts > div{min-height:0;overflow:hidden;opacity:0;transition:opacity .24s}
.cmts.open{grid-template-rows:1fr}
.cmts.open > div{opacity:1;transition-delay:.06s}
.comments{margin-top:.875rem}
.comment{display:grid;grid-template-columns:1.625rem minmax(0,1fr);gap:.75rem;padding:.625rem 0}
.comment header{display:flex;align-items:center;gap:.625rem}
.comment .who{font-size:.9375rem}
.comment p{margin-top:.1875rem;font-size:.96875rem;line-height:1.5;text-wrap:pretty}
.n.at{height:1.1875rem;color:var(--tint);font-size:.6875rem;cursor:pointer}
button.n.at:hover{background:var(--tint);color:var(--ground);border-color:var(--tint)}
.more{display:inline-block;margin-top:.875rem;color:var(--dim);font-size:.875rem}
.say{display:flex;align-items:center;gap:.75rem;margin-top:1.375rem}
.cmts .say{margin-top:.375rem}
.cmts .more{margin:2px 0 .375rem 2.375rem}
.say input{flex:1;height:2.75rem;font-size:1.03125rem}

/* ---------- people ---------- */
.find{display:flex;align-items:center;gap:.75rem;margin-bottom:1.125rem;color:var(--faint)}
.find input{flex:1;height:2.75rem;font-size:1.125rem}
.people li{display:flex;align-items:center;gap:.875rem;padding:.8125rem 0;border-top:1px solid var(--hair)}
.pr{display:flex;align-items:center;gap:.875rem;flex:1;min-width:0}
.pm{display:flex;flex-wrap:wrap;align-items:center;gap:.25rem .625rem;min-width:0}
.pm b{font-size:1.125rem;white-space:nowrap}
.pend{display:flex;align-items:center;gap:.5rem}

.filelist li{display:flex;align-items:center;gap:.875rem;padding:.75rem 0;border-top:1px solid var(--hair)}
.fm{display:grid;flex:1;min-width:0}
.fm b{font-size:1.03125rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.grip{color:var(--faint);cursor:grab}
.filelist li[draggable]{cursor:grab}
.room{margin:1.125rem 0 .375rem}
.filelist.own li:first-child{border-top:0}
.filelist.own .cap a{text-decoration:underline;text-underline-offset:.1875rem;text-decoration-color:var(--line)}
.fsize{flex:none;color:var(--dim);font-size:.84375rem;font-variant-numeric:tabular-nums;white-space:nowrap}

/* ---------- messages ---------- */
.convos li a{display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:.75rem;align-items:center;padding:.75rem 0;border-top:1px solid var(--hair)}
.cm{display:grid;min-width:0}
.cm b{font-weight:650;font-size:.96875rem}
.cm span{overflow:hidden;color:var(--dim);font-size:.84375rem;white-space:nowrap;text-overflow:ellipsis}
.ce{display:grid;justify-items:end;gap:.3125rem;color:var(--dim);font-size:.78125rem}
.ce .n{color:var(--ground);background:var(--tint);border-color:var(--tint)}
.convos li.on{box-shadow:inset 2px 0 0 var(--tint)}
.convos li.on a{padding-left:.75rem}

.thead{display:flex;align-items:center;gap:.875rem;padding-bottom:1.125rem;border-bottom:1px solid var(--hair)}
.thead .pm b{font-size:1.3125rem}
.tback{display:none}
.msgs{display:flex;flex-direction:column;gap:.5rem;padding:1.375rem 0 .375rem}
.msg{display:flex;flex-direction:column;align-items:flex-start;gap:.375rem}
.msg.me{align-items:flex-end}
.bub{max-width:min(80%,27.5rem);padding:.625rem 1rem;border:1px solid var(--hair);border-radius:1.25rem;font-size:1rem;line-height:1.45;text-wrap:pretty}
.msg.me .bub{border-color:transparent;background:var(--wash)}
.bub.file{display:flex;align-items:center;gap:.75rem;padding:.5rem .5rem .5rem .75rem}
.bub.file b{overflow:hidden;font-weight:650;font-size:.9375rem;white-space:nowrap;text-overflow:ellipsis}
.bub.voice{display:flex;align-items:center;gap:.75rem;padding:.4375rem .875rem .4375rem .4375rem}
.bub.voice canvas{width:9.375rem;height:1.875rem}
.mtrack{display:flex;align-items:center;gap:.75rem;width:min(88%,28.75rem)}
.mtrack .wave{height:2.875rem}
.photo{display:block;width:min(62%,18.75rem);aspect-ratio:4/3;border-radius:1.25rem;filter:saturate(.8) brightness(.85)}
.stamp{align-self:center;margin:.625rem 0 .25rem;color:var(--dim);font-size:.78125rem}

/* ---------- profile: a person is framed the way a track is, in a ring of their own colour ---------- */
.hero{position:relative;display:flex;flex-direction:column;align-items:center;padding-top:7rem;text-align:center}
/* the banner has no edges: it fades out downwards and sideways, so it reads as light behind the person */
.banner{position:absolute;z-index:-1;inset:-2.375rem -2.5rem auto;height:23.75rem;filter:saturate(.9) brightness(.86);
  -webkit-mask-image:linear-gradient(#000 20%,transparent 94%),linear-gradient(90deg,transparent,#000 18%,#000 82%,transparent);-webkit-mask-composite:source-in;
  mask-image:linear-gradient(#000 20%,transparent 94%),linear-gradient(90deg,transparent,#000 18%,#000 82%,transparent);mask-composite:intersect}
.pname{margin-top:1.5rem;font-size:2.875rem;line-height:1.02;text-wrap:balance}
.pname + .tags{margin-top:.875rem;justify-content:center}
.bio{margin-top:.875rem;max-width:36ch;font-size:1.0625rem;text-wrap:balance}
.stats{display:flex;flex-wrap:wrap;justify-content:center;gap:.25rem 1.25rem;margin-top:.75rem;color:var(--dim);font-size:.875rem}
.stats b{color:var(--ink);font-weight:650;font-variant-numeric:tabular-nums}
.presence{margin-top:.75rem;color:var(--dim);font-size:.90625rem}
.presence.on{color:var(--ink)}
.presence.on::before{content:"";display:inline-block;width:.5rem;height:.5rem;margin-right:.5rem;border-radius:50%;background:#8fe36d;vertical-align:1px}
.pacts{display:flex;align-items:center;gap:.625rem;margin-top:1.5rem}
.view > .track{margin:2.5rem 0 2.125rem}

/* ---------- new post ---------- */
.tin{field-sizing:content;max-width:100%;padding:0 0 2px;border-bottom:1.5px dashed var(--faint);font-family:inherit;font-variation-settings:inherit;font-weight:inherit;letter-spacing:inherit}
.attach{display:flex;flex-wrap:wrap;align-items:center;gap:.5rem;margin-top:1.75rem}
.attach .cap{margin-left:.5rem}
.switch{display:flex;align-items:center;gap:.75rem;margin-top:1.375rem;font-size:.96875rem;cursor:pointer}
.switch input{position:absolute;opacity:0}
.switch i{position:relative;width:2.5rem;height:1.5rem;flex:none;border:1.5px solid var(--line);border-radius:6.1875rem;transition:background .15s,border-color .15s}
.switch i::after{content:"";position:absolute;top:.1875rem;left:.1875rem;width:.9375rem;height:.9375rem;border-radius:50%;background:var(--dim);transition:translate .15s,background .15s}
.switch input:checked + i{border-color:var(--tint);background:var(--tint)}
.switch input:checked + i::after{translate:1rem 0;background:var(--ground)}
.switch input:focus-visible + i{outline:2px solid var(--tint);outline-offset:.1875rem}
.sendrow{display:flex;align-items:center;gap:.875rem;margin-top:1.75rem}
.sendrow .pill{margin-left:auto}
.quota{width:5.25rem;height:.1875rem;border-radius:.5625rem;background:var(--hair)}
.quota i{display:block;height:100%;border-radius:.5625rem;background:var(--tint)}

/* ---------- joining and signing in ---------- */
.gate{max-width:33.75rem;padding-top:9vh}
.gate h1{font-size:clamp(2.125rem,4.4vw,3.25rem);line-height:1.03}
.mark.gmark{display:none}
.roles{margin-top:2.125rem;border-top:1px solid var(--hair)}
.roles button{display:flex;align-items:center;gap:1rem;width:100%;padding:.75rem 0;border-bottom:1px solid var(--hair);color:var(--faint);text-align:left;transition:color .15s}
.roles b{font-size:1.875rem;line-height:1.2}
.roles .n{width:2.25rem;height:1.375rem;min-width:0;padding:0}
.roles .n svg{width:.875rem;height:.875rem;opacity:0}
.roles .on{color:var(--ink)}
.roles .on .n{border-color:var(--tint);background:var(--tint);color:var(--ground)}
.roles .on .n svg{opacity:1}
.gbtns{display:flex;flex-wrap:wrap;gap:.75rem;margin-top:2.125rem}
.gate .cap{margin-top:1.25rem}
.gate .cap a{color:var(--tint);text-decoration:underline;text-underline-offset:.1875rem}
.fields{margin-top:1.75rem}
.fields label{display:block;padding:.875rem 0 .5rem;border-bottom:1px solid var(--hair)}
.fields label span{display:block;color:var(--dim);font-size:.8125rem}
.fields input{width:100%;height:2.375rem;font-size:1.25rem}
.code{margin-top:1.75rem;color:var(--tint);font-size:3.375rem;line-height:1;letter-spacing:.01em}
.code + .cap{max-width:38ch}

/* ---------- the disc and what is playing ---------- */
/* The logo picture carries its own glow, so it is larger than the letters: the margins pull the letters back into line. */
.mark{display:block;align-self:flex-start;width:14rem;margin:-1rem 0 -1.1875rem -1.0625rem;perspective:40rem}
/* The logo changes material every 20 to 30 seconds (assets/logo.js). Its pictures all share one frame, so the letters
   hold still while the new material is wiped in over the old along a soft slanted edge, with a band of light riding
   that edge, cut to the logo's own shape. The pictures themselves are never filtered or redrawn: only what is shown
   of them moves. Near the pointer the whole thing leans toward it. */
.lgs{position:relative;display:block;aspect-ratio:900/341;isolation:isolate;transform:rotateX(var(--rx,0deg)) rotateY(var(--ry,0deg));transition:transform .7s cubic-bezier(.2,.7,.2,1)}
.lg{position:absolute;inset:0;display:block;width:100%;height:100%;-webkit-user-drag:none;user-select:none}
.lg.in,.lg.out{-webkit-mask-size:300% 100%;mask-size:300% 100%;-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;animation:lgwipe 1.8s cubic-bezier(.6,0,.2,1) both}
.lg.in{-webkit-mask-image:linear-gradient(100deg,#000 45.5%,transparent 54.5%);mask-image:linear-gradient(100deg,#000 45.5%,transparent 54.5%)}
.lg.out{-webkit-mask-image:linear-gradient(100deg,transparent 45.5%,#000 54.5%);mask-image:linear-gradient(100deg,transparent 45.5%,#000 54.5%)}
@keyframes lgwipe{from{-webkit-mask-position:100% 0;mask-position:100% 0}to{-webkit-mask-position:0 0;mask-position:0 0}}
.lgs::after{content:"";position:absolute;inset:0;pointer-events:none;opacity:0}
.lgs.turn::after{opacity:1;background:linear-gradient(100deg,transparent 44%,rgb(255 255 255/.42) 50%,transparent 56%) 100% 0/300% 100% no-repeat;-webkit-mask:var(--lg) center/100% 100% no-repeat;mask:var(--lg) center/100% 100% no-repeat;mix-blend-mode:screen;mix-blend-mode:plus-lighter;animation:lgsheen 1.8s cubic-bezier(.6,0,.2,1) both}
@keyframes lgsheen{from{background-position:100% 0}to{background-position:0 0}}
@keyframes lgfade{from{opacity:0}to{opacity:1}}
@media (prefers-reduced-motion:reduce){
  .lgs{transform:none}
  .lg.in,.lg.out{-webkit-mask-image:none;mask-image:none;animation:lgfade .5s both}
  .lg.out{animation-direction:reverse}
  .lgs.turn::after{display:none}
}
/* The menu: a column of icons. Bring the pointer near (anywhere over the left side) and each icon's word slides out
   beside it, one after the other; move away and they fold back. The section you are in is the icon in the logo's
   colours. On a screen with no pointer the words are simply always there. */
.nav{display:flex;flex-direction:column;gap:2px;margin-left:-.25rem}
.nav a{display:flex;align-items:center;gap:.875rem;height:2.875rem;white-space:nowrap;color:var(--faint);transition:color .2s}
.ni{position:relative;display:grid;place-items:center;width:2.625rem;height:2.625rem;flex:none}
.ni .ic{width:2.25rem;height:2.25rem;opacity:.62;transition:opacity .2s,transform .16s cubic-bezier(.2,.7,.2,1)}
.ni .av{width:1.875rem;opacity:.72;transition:opacity .2s,transform .16s cubic-bezier(.2,.7,.2,1)}
.nav a:hover .ic,.nav a:hover .av{opacity:1;transform:scale(1.08)}
.nav a.on .ic,.nav a.on .av{opacity:1}
.nw{font-family:var(--bold);font-weight:900;font-variation-settings:"opsz" 40;font-size:1.4375rem;letter-spacing:-.04em;opacity:0;translate:-.75rem 0;transition:opacity .18s,translate .32s cubic-bezier(.2,.8,.2,1)}
.side:hover .nw{opacity:1;translate:0 0;transition-delay:calc(var(--i,0)*24ms)}
/* Someone moving through the menu with the keyboard gets the words too. A click with the pointer leaves focus on
   the link, which must not hold the menu open, so this asks for focus that came from the keyboard. Kept as its
   own rule: a browser that does not know :has() drops it and keeps the hover rule above. */
.side:has(:focus-visible) .nw{opacity:1;translate:0 0;transition-delay:calc(var(--i,0)*24ms)}
.nav a:hover{color:var(--dim)}
.nav a.on{color:var(--ink)}
.nav .n{position:absolute;top:-2px;right:-.4375rem;min-width:1.0625rem;height:1rem;margin:0;padding:0 .28125rem;border:0;background:var(--tint);color:var(--ground);font-size:.65625rem;box-shadow:0 0 0 .15625rem var(--ground)}
/* the icons of the sections: quiet pearl, and the logo's colours for the one you are in (see design/icons) */
.t-feed{background-image:url(/assets/icons/feed-pale.png),url(/assets/icons/feed-flow.png);background-size:contain,0 0}
.t-friends{background-image:url(/assets/icons/friends-pale.png),url(/assets/icons/friends-flow.png);background-size:contain,0 0}
.t-messages{background-image:url(/assets/icons/comment-pale.png),url(/assets/icons/comment-flow.png);background-size:contain,0 0}
.t-alerts{background-image:url(/assets/icons/alerts-pale.png),url(/assets/icons/alerts-flow.png);background-size:contain,0 0}
.t-search{background-image:url(/assets/icons/search-pale.png),url(/assets/icons/search-flow.png);background-size:contain,0 0}
.t-admin{background-image:url(/assets/icons/admin-pale.png),url(/assets/icons/admin-flow.png);background-size:contain,0 0}
.nav a.on .ic,.tabs a.on .ic{background-size:0 0,contain}
/* what sits under the menu (friends who are online, or your conversations) folds the same way: faces only, then names */
.side :is(.ctx h2,.online li a > :not(.av),.others,.convos .cm,.convos .ce){opacity:0;translate:-.75rem 0;transition:opacity .18s,translate .32s cubic-bezier(.2,.8,.2,1)}
.side:hover :is(.ctx h2,.online li a > :not(.av),.others,.convos .cm,.convos .ce){opacity:1;translate:0 0;transition-delay:.12s}
.side:has(:focus-visible) :is(.ctx h2,.online li a > :not(.av),.others,.convos .cm,.convos .ce){opacity:1;translate:0 0;transition-delay:.12s}
.side .online li a,.side .convos li a,.side .others{border-top-color:transparent;transition:border-color .25s}
.side:hover :is(.online li a,.convos li a,.others){border-top-color:var(--hair)}
.side:has(:focus-visible) :is(.online li a,.convos li a,.others){border-top-color:var(--hair)}
.side .online li a,.side .convos li a{padding-left:.25rem}
@media (hover:none){.nw,.side :is(.ctx h2,.online li a > :not(.av),.others,.convos .cm,.convos .ce){opacity:1;translate:0 0}.side .online li a,.side .convos li a,.side .others{border-top-color:var(--hair)}}
@media (prefers-reduced-motion:reduce){.nw,.side :is(.ctx h2,.online li a > :not(.av),.others,.convos .cm,.convos .ce){transition:opacity .15s;translate:0 0}}

.deck{position:relative;width:min(100%,21.25rem,40vh);aspect-ratio:1;flex:none}      /* sized by the window's height too, so the column under it always fits */
.bare .deck{width:min(100%,33.75rem,64vh)}             /* on the way in (join, sign in) it has the side to itself and stays large */
/* the canvas is much larger than the disc so its aura can spill across the page, behind the text */
.deck canvas,.deck .discstill{position:absolute;left:-45%;top:-45%;width:190%;height:190%;max-width:none;pointer-events:none}
.hit{position:absolute;z-index:1;inset:15%;display:grid;place-items:center;border-radius:50%}
.hit:focus-visible{border-radius:50%}
.hit i{width:27%;aspect-ratio:1;background:url(/assets/icons/play-pale.png) center/contain no-repeat;opacity:.95;transition:opacity .35s,transform .16s}
.hit:hover i{transform:scale(1.08)}
body:not([data-stage=player]) .hit{display:none}
.is-playing .hit i{opacity:0}
.nogl::before{content:"";position:absolute;inset:15%;border-radius:50%;border:1.5px solid var(--tint);box-shadow:0 0 2.75rem color-mix(in srgb,var(--tint) 50%,transparent)}
.now{position:relative;z-index:1;min-height:4.875rem;margin-top:-.875rem;text-align:center;text-shadow:0 1px 1rem rgb(25 25 26/.8);opacity:0;transform:translateY(.375rem);transition:opacity .5s,transform .5s}
:is([data-stage=player],[data-stage=person]) .now{opacity:1;transform:none}
.now b{display:block;color:var(--tint);font-size:1.4375rem;line-height:1.1}
[data-stage=person] .now b{color:var(--ink)}
.now span{display:block;margin-top:.375rem;font-size:.875rem}
.now span + span{margin-top:2px;color:var(--dim);font-size:.8125rem;font-variant-numeric:tabular-nums}
.shut,.top,.tabs{display:none}

/* When there is nothing to play, the disc holds people instead: everyone online sat round its rim, or the one
   person you are talking to in the middle of it. */
/* the meters: a small scope and four readouts, the way they sit on a mastering meter */
.meters{position:relative;z-index:1;display:none;width:min(100%,20rem);margin-top:.625rem}
[data-stage=player] .meters{display:block}
.scope{display:block;width:100%;aspect-ratio:320/226}                /* the glass meters: figures, tube and bubbles, then the spectrum */
/* The readouts sit under the plot, not under the loudness bar beside it (18px, as drawScope leaves it), and each
   number is centred on its label: browsers indent a dd by default, which is what pushed them off to the right. */
.meters dl{position:absolute;width:1px;height:1px;margin:0;overflow:hidden;clip-path:inset(50%)}       /* the same figures as words, for screen readers */
.meters dd{margin:0;color:var(--ink);font-size:.90625rem;font-weight:650;line-height:1.2;font-variant-numeric:tabular-nums}
.meters dd.hot{color:#ff7a6e}
.meters dt{margin:1px 0 0;color:var(--dim);font-size:.65625rem;white-space:nowrap}
[data-shape=web] .stage{padding-bottom:5.5rem}                 /* room for the dock, always, so nothing jumps when it appears */
@media (max-height:700px){.scope{aspect-ratio:320/156}}            /* a short window: the spectrum goes, the figures stay */
@media (max-height:520px){.meters{display:none !important}}
.seats,.face,.extra{display:none}
.seats,.face{position:absolute;z-index:1;inset:0}
[data-stage=room] .seats{display:block}
[data-stage=person] .face{display:grid;place-items:center}
.seat{position:absolute;translate:-50% -50%;border-radius:50%;transition:scale .2s}
a.seat:hover{scale:1.12}
.seat.f{width:2.875rem}.seat.k{width:2.125rem}.seat.a{width:1.25rem;opacity:.7}
.seat.off{opacity:.36}
.seat .av{width:100%;box-shadow:0 0 0 .1875rem var(--ground)}
.count{position:absolute;inset:0;display:grid;place-content:center;justify-items:center;pointer-events:none}
.count b{color:var(--tint);font-size:3.875rem;line-height:.92}
.count span{color:var(--dim);font-size:.875rem}
.face .av{width:27.5%;box-shadow:0 0 0 .3125rem var(--ground)}
.face a{display:contents}
.extra{position:relative;z-index:1;width:min(100%,18.75rem);margin-top:.625rem}
[data-stage=person] .extra{display:block}
.extra h2{margin-bottom:.5rem;color:var(--dim);font-size:.8125rem;font-weight:500;text-align:center}
.extra li{display:flex;align-items:center;gap:.75rem;padding:.625rem 0;border-top:1px solid var(--hair);font-size:.90625rem}
.extra b{flex:1;min-width:0;overflow:hidden;font-weight:600;white-space:nowrap;text-overflow:ellipsis}
.extra li > span:last-child{color:var(--dim);font-size:.8125rem}

/* =====================================================================================================
   WEBSITE (1100px and wider): sections and who is around on the left, the screen in the middle, the disc
   ===================================================================================================== */
/* Like Instagram: the menu is a narrow rail pinned to the window's left edge, the logo small at its top. The feed and
   the disc sit side by side in the middle of everything to the right of the rail. Bringing the pointer to the rail
   opens it: the logo grows to full size and the words slide out over a soft dark backing (so they read even where
   they pass over the feed on a narrow window), then it all folds back when the pointer leaves. */
[data-shape=web]{--rail:6.25rem}
[data-shape=web] .app{position:relative;z-index:1;display:grid;grid-template-columns:minmax(0,37.5rem) minmax(21.25rem,30rem);column-gap:clamp(2.5rem,5vw,6rem);justify-content:center;margin:0;padding:0 1.5rem 0 calc(var(--rail) + 2rem)}
[data-shape=web] .stage{position:sticky;top:0;height:100vh;height:100dvh}
[data-shape=web] .side{position:fixed;z-index:30;top:0;bottom:0;left:0;width:var(--rail);display:flex;flex-direction:column;padding:2.375rem 0 1.875rem 1.625rem}
[data-shape=web] .side::before{content:"";position:absolute;z-index:-1;inset:0 auto 0 0;width:17rem;background:linear-gradient(90deg,var(--ground) 72%,transparent);opacity:0;pointer-events:none;transition:opacity .25s}
[data-shape=web] .side:hover::before,[data-shape=web] .side:has(:focus-visible)::before{opacity:1}
[data-shape=web] .side :is(.nav,.ctx){width:12.5rem}          /* laid out at full width all the time, so nothing reflows as the words appear */
[data-shape=web] .side .mark{width:6.25rem;margin:-.4375rem 0 -.5rem -.5rem;transform-origin:.5rem .4375rem;transition:scale .4s cubic-bezier(.2,.8,.2,1)}
[data-shape=web] .side:hover .mark,[data-shape=web] .side:has(:focus-visible) .mark{scale:1.9}
[data-shape=web] .nav{margin-top:3.5rem}
[data-shape=web] .bare .side .mark{width:14rem;margin:-1rem 0 -1.1875rem -1.0625rem;scale:1}      /* on the way in (join, sign in) there is no menu: the logo is shown large */
[data-shape=web] .bare .side::before{display:none}
.ctx{margin-top:auto}
.ctx h2{margin-bottom:.625rem;color:var(--dim);font-size:.8125rem;font-weight:500}
.online li a{display:grid;grid-template-columns:1.625rem 1fr auto;gap:.6875rem;align-items:center;padding:.5625rem 0;border-top:1px solid var(--hair);font-size:.90625rem;white-space:nowrap}
.others{display:block;padding-top:.625rem;border-top:1px solid var(--hair);color:var(--dim);font-size:.8125rem}
[data-view=messages] .ctx{flex:1;min-height:0;margin-top:2.75rem;overflow-y:auto;scrollbar-width:none}
.view{position:relative;z-index:2;min-width:0;padding:2.375rem 0 12.5rem}
[data-shape=web] .stage{z-index:1;display:flex;flex-direction:column;align-items:center;justify-content:center;min-width:0}
.tools{position:absolute;z-index:2;top:2.375rem;right:0;display:flex;gap:.5rem}
.bare .nav,.bare .ctx,.bare .tools,.bare .now{visibility:hidden}
.bare .hit{display:none}

/* =====================================================================================================
   PHONE (under 1100px): a title, the screen, a mini player and five tabs. This is the shape of the iOS app.
   ===================================================================================================== */
/* Scoped to the website shape: the plugin window is its own layout at any width. */
@media (max-width:1099px){
[data-shape=web]{
  .app{display:block;max-width:37.5rem;padding:0 1.25rem 10.5rem}
  .side,.back{display:none}
  .top{position:relative;z-index:2;display:flex;align-items:center;gap:.75rem;min-height:2.75rem;padding-top:1rem}
  .top h1{flex:1;font-size:2rem;line-height:1.1}
  .tbtns{display:flex;gap:.5rem}
  .nobar .top,.bare .top,.bare .tabs{display:none}
  .view{padding:1.125rem 0 0}
  .tback{display:grid}
  [data-view=profile] .top{z-index:3}
  .hero{padding-top:5.25rem}
  .banner{inset:-4.875rem -1.25rem auto;height:25rem;-webkit-mask-image:linear-gradient(#000 24%,transparent 96%);mask-image:linear-gradient(#000 24%,transparent 96%)}
  .pname{font-size:2.375rem}
  .seats,.face,.extra{display:none !important}
  .roles b{font-size:1.625rem}
  .people .src{display:none}
  [data-view=friends] .people .src{display:inline}

  .tabs{position:fixed;z-index:6;left:0;right:0;bottom:0;display:flex;align-items:center;justify-content:space-around;height:calc(3.625rem + env(safe-area-inset-bottom));padding:0 .625rem env(safe-area-inset-bottom);border-top:1px solid var(--hair);background:color-mix(in srgb,var(--ground) 88%,transparent);backdrop-filter:blur(1.25rem);-webkit-backdrop-filter:blur(1.25rem)}
  .tabs a{position:relative;display:grid;place-items:center;width:3.25rem;height:2.875rem;color:var(--faint)}
  .tabs a.on{color:var(--ink)}
  /* The bar's signs are the same 3D icons as the rest (design/icons): quiet pearl, and in the logo's colours for
     the section you are in. That is the whole of "you are here": no dot under it, no glow. */
  .tabs .ic{width:2rem;height:2rem;opacity:.5;transition:opacity .2s,transform .16s cubic-bezier(.2,.7,.2,1)}
  .tabs a.on .ic{opacity:1}
  .tabs a:active .ic{transform:scale(.9)}

  .tabs svg{width:1.5rem;height:1.5rem}
  .dot{position:absolute;top:.4375rem;right:.4375rem;width:.5625rem;height:.5625rem;border-radius:50%;background:var(--tint);box-shadow:0 0 0 2px var(--ground)}

  /* The right side is not on a phone, except as the full player: the disc, opened from the dock. */
  .stage{display:none}
  .tools{display:none}
  .sheet{overflow:hidden}
  .sheet .tabs{display:none}
  .sheet .stage{position:fixed;inset:0;z-index:20;display:flex;flex-direction:column;align-items:center;justify-content:center;height:auto;padding:1.5rem 1.5rem 12.5rem;background:radial-gradient(90vw 60vh at 50% 36%,color-mix(in srgb,var(--tint) 10%,transparent),transparent 70%),var(--ground)}
  .sheet .shut{position:absolute;top:1rem;left:1.25rem;display:grid}
  .cmore{margin-left:0}
  .sheet .deck{width:min(78vw,21.25rem,42vh)}
  .sheet .now b{font-size:1.625rem}
  .sheet .meters{width:min(100%,20.625rem);margin-top:.875rem}
  .sheet .scope{aspect-ratio:320/226}
  @media (max-height:780px){.sheet .scope{aspect-ratio:320/156}}
  .sheet .now{margin-top:-.375rem}

  /* joining: no chrome, the disc hangs off the top corner */
  .bare .app{padding-bottom:3rem}
  .bare .stage{position:absolute;z-index:0;top:-6rem;right:-9.375rem;left:auto;bottom:auto;display:block;width:23.75rem;height:23.75rem;padding:0;border:0;background:none;backdrop-filter:none;cursor:default}
  .bare .deck{width:100%}
  .bare .now{display:none}
  .gate{padding-top:1.25rem}
  .mark.gmark{display:block;width:11.5rem;margin:-.8125rem 0 10.5rem -.875rem}          /* narrower than on a wide screen: the disc is beside it here */
}
}

/* =====================================================================================================
   Everything below was added for the real site.
   ===================================================================================================== */

/* ---------- words people wrote: kept exactly, wrapped wherever they have to be ---------- */
.say-text,.bio,.bub,.quote{white-space:pre-wrap;overflow-wrap:anywhere}
.who,.pm b,.cm b,.pname,.nt{overflow-wrap:anywhere}
.post header .who{min-width:0;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}
.post header .tags{flex-wrap:nowrap;min-width:0;overflow:hidden}
.pm b{max-width:100%;overflow:hidden;text-overflow:ellipsis}

/* ---------- small states ---------- */
.loading .view{opacity:.5;transition:opacity .25s .2s}
.empty{padding:2.375rem 0 .75rem;color:var(--dim);font-size:1.0625rem;text-wrap:balance}
.empty a,.ul,.link,.note .link{color:var(--ink);text-decoration:underline;text-underline-offset:.1875rem;text-decoration-color:var(--line)}
.empty a:hover,.ul:hover,.link:hover{text-decoration-color:var(--ink)}
.link{font:inherit;cursor:pointer}
.note{margin-bottom:1.375rem;padding-bottom:1rem;border-bottom:1px solid var(--hair);color:var(--dim);font-size:.90625rem;text-wrap:pretty}
.err{margin-top:.875rem;color:#ff9a8d;font-size:.90625rem}
.err:empty{display:none}
[aria-busy=true]{opacity:.55;pointer-events:none}
.armed{color:var(--ink) !important;font-weight:650;white-space:nowrap}
.sq.armed{width:auto;padding:0 .75rem;font-size:.84375rem}
.sq,.tabs a{position:relative}
.dot{position:absolute;top:.5rem;right:.5rem;width:.5rem;height:.5rem;border-radius:50%;background:var(--tint);box-shadow:0 0 0 2px var(--ground)}
.toast{position:fixed;z-index:40;left:50%;bottom:1.75rem;translate:-50% .875rem;width:max-content;max-width:min(92vw,32.5rem);padding:.75rem 1.125rem;border-radius:.875rem;background:#262628;box-shadow:0 0 0 1px var(--hair),0 .875rem 2.75rem rgb(0 0 0/.55);font-size:.90625rem;text-wrap:pretty;opacity:0;pointer-events:none;transition:opacity .2s,translate .2s}
.toast.show{opacity:1;translate:-50% 0}
input:-webkit-autofill{-webkit-text-fill-color:var(--ink);box-shadow:0 0 0 62.5rem var(--ground) inset;caret-color:var(--ink)}
input[type=search]::-webkit-search-cancel-button{display:none}

/* ---------- posts: a picture, a real video, a kit's name, the quiet controls at the end of the row ---------- */
.pic{display:block;width:100%;height:auto;margin-top:1.375rem;border-radius:1.125rem;background:#0f0f11}
.vposter,.video video{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.video video{object-fit:contain;background:#000}
.video.live::after{display:none}
.video{max-height:78vh}
.ktitle{display:flex;flex-wrap:wrap;align-items:baseline;gap:.25rem .875rem;margin-top:1.5rem;color:var(--tint);font-size:1.5rem;line-height:1.1}
.ktitle span{font-family:"Mona Sans",ui-sans-serif,system-ui,sans-serif;font-variation-settings:normal;font-weight:500;font-size:.84375rem;letter-spacing:0;color:var(--dim)}
.needs{margin-top:.625rem;color:var(--dim);font-size:.90625rem;text-wrap:pretty}
.needs b{color:var(--ink);font-weight:600}
.needs + .files{margin-top:1rem}
.kit .link,.kitline .link{color:var(--dim)}
.kit .link{margin-left:auto}
.ktitle + .files{margin-top:.875rem}
.actend{display:flex;gap:1.125rem;margin-left:auto}
.comment header .act{margin-left:.25rem}
.comment header .act svg{width:1rem;height:1rem}
.comment header .act .ic{width:1.3125rem;height:1.3125rem}
.say .nowat{flex:none}
.more{cursor:pointer}

/* ---------- messages ---------- */
.thead > a{flex:none}
.older{display:block;margin:1.125rem 0 0;text-align:center}
.photo{display:block;width:min(62%,18.75rem);aspect-ratio:auto;filter:none}
.photo img{display:block;width:100%;height:auto;border-radius:1.25rem;background:#0f0f11}
.bub.voice .vw{position:relative;flex:none;width:9.375rem;height:1.875rem;cursor:pointer}
.bub.voice .vw canvas{position:absolute;left:0;top:0;width:100%;height:100%}
.fline{display:flex;align-items:center;gap:.5rem}
.fline a{color:var(--dim)}
.fline a:hover{color:var(--ink)}
.fline svg{width:1rem;height:1rem}
.sending .bub{color:var(--dim)}
.pct{font-weight:650;color:var(--tint);font-variant-numeric:tabular-nums}
.bub.gone{color:var(--dim)}
.closed{margin-top:1.375rem}
.rectime{display:none;flex:1;color:var(--tint);font-size:1.03125rem;font-variant-numeric:tabular-nums}
.recording input{display:none}
.recording .rectime{display:block}
.say:has(input:placeholder-shown) .sendbtn{display:none}
.say[data-form=message]:not(:has(input:placeholder-shown)) [data-do=voice]{display:none}
[data-view=messages] .say{position:sticky;z-index:3;bottom:0;margin-top:.625rem;padding:.75rem 0 1.375rem;background:linear-gradient(transparent,var(--ground) 26%)}
[data-view=messages] .view{display:flex;flex-direction:column;min-height:100dvh;padding-bottom:0}
[data-view=messages] .msgs{flex:1}
.extra li a{color:var(--dim)}
.extra li a:hover{color:var(--ink)}
.extra svg{width:1.0625rem;height:1.0625rem}

/* ---------- profile ---------- */
.pmore{margin-top:.875rem}
.hero .pill.o.armed{box-shadow:inset 0 0 0 1.5px var(--ink)}

/* ---------- new post: what is attached, and its upload ---------- */
.attached:not(:empty){margin-top:.5rem}
.editing{position:relative}
.editing .drop{position:absolute;z-index:1;top:1.375rem;right:0}
.editing .pic,.editing .video{margin-top:1.375rem}
.editing .track h3,.editing .ktitle{padding-right:3.25rem}
.uploading{margin-top:1.375rem;color:var(--dim);font-size:.96875rem;overflow-wrap:anywhere}
.tin.mini{font-size:.84375rem;font-weight:500;color:var(--ink)}
.kitline{margin-top:.875rem}

/* ---------- settings ---------- */
.pics{display:flex;align-items:center;gap:1.875rem;margin:2.125rem 0 .625rem}
.picbtns{display:flex;flex-wrap:wrap;gap:.625rem}
.fields textarea{display:block;width:100%;min-height:2.375rem;resize:none;font-size:1.25rem;line-height:1.4;field-sizing:content}
.roles.compact{margin-top:1.625rem}
.roles.compact b{font-size:1.375rem}
.roles.compact button{padding:.5625rem 0}
.swatches{display:flex;gap:1rem;margin-top:1.625rem}
.swatches button{width:2.125rem;height:2.125rem;border-radius:50%;background:var(--c);opacity:.4;transition:opacity .15s,box-shadow .15s}
.swatches button:hover{opacity:.75}
.swatches [aria-checked=true]{opacity:1;box-shadow:0 0 0 .1875rem var(--ground),0 0 0 .28125rem var(--c),0 0 1.5rem var(--c)}
.sub{margin:3.5rem 0 .75rem;font-size:1.5rem}
p.line{display:flex;flex-wrap:wrap;align-items:center;gap:.375rem .75rem;padding:.8125rem 0;border-bottom:1px solid var(--hair);font-size:.96875rem;overflow-wrap:anywhere}
.danger{margin-top:2.875rem}
.danger label span{color:var(--dim)}

/* ---------- notifications ---------- */
.notes li a{display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:.875rem;align-items:center;padding:.8125rem 0;border-top:1px solid var(--hair)}
.nt{font-size:.96875rem;line-height:1.4}
.nt b{font-weight:650}
.notes time{color:var(--dim);font-size:.8125rem}
.notes .new time{color:var(--tint)}

/* ---------- admin ---------- */
.nums{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 1.875rem;margin:.25rem 0 0}
.nums div{padding:1.125rem 0 1rem;border-top:1px solid var(--hair)}
.nums dt{color:var(--dim);font-size:.8125rem}
.nums dd{margin:0}
.nums dd.wide{font-size:2.75rem;line-height:1.15}
.nums dd a{color:var(--tint)}
.charts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1.75rem 1.875rem}
.bars{display:flex;align-items:flex-end;gap:.1875rem;height:4.5rem;margin-top:.5rem;border-bottom:1px solid var(--hair)}
.bars i{flex:1;border-radius:2px 2px 0 0;background:var(--tint);opacity:.85}
.ends{display:flex;justify-content:space-between;margin-top:.375rem;font-size:.78125rem}
.rows li{padding:1rem 0;border-top:1px solid var(--hair)}
.rhead{display:flex;flex-wrap:wrap;align-items:center;gap:.375rem .625rem;font-size:.96875rem;overflow-wrap:anywhere}
.rhead time{margin-left:auto;color:var(--dim);font-size:.8125rem}
.rows .cap{margin-top:.375rem;overflow-wrap:anywhere}
.quote{margin-top:.625rem;padding-left:.875rem;border-left:2px solid var(--line);font-size:.96875rem}
.racts{display:flex;flex-wrap:wrap;gap:.5rem;margin-top:.875rem}
.tag.warn{border-color:#f3a79d;color:#f3a79d}

/* ---------- the player: a dock that floats at the bottom once something has been played, and stays ---------- */
.dock{position:fixed;z-index:25;left:50%;bottom:1.375rem;translate:-50% 0;display:none;align-items:center;gap:.75rem;width:min(48.75rem,calc(100vw - 2rem));height:4rem;padding:0 .625rem;border-radius:6.1875rem;background:color-mix(in srgb,#232325 84%,transparent);-webkit-backdrop-filter:blur(1.375rem) saturate(1.3);backdrop-filter:blur(1.375rem) saturate(1.3);box-shadow:0 0 0 1px var(--hair),0 1rem 3rem rgb(0 0 0/.6),0 0 5rem color-mix(in srgb,var(--tint) 12%,transparent)}
.has-track:not(.bare) .dock{display:flex}
.dkctl{display:flex;align-items:center;gap:2px;flex:none}
.dk{display:grid;place-items:center;width:2.375rem;height:2.375rem;flex:none;border-radius:50%;color:var(--dim);transition:color .15s,background .15s}
.dk:hover{background:var(--hair);color:var(--ink)}
.dk:disabled{background:none;color:var(--faint);cursor:default}
.dkplay{width:2.875rem;height:2.875rem}
.dkinfo{display:grid;flex:0 1 10.625rem;min-width:4.375rem;line-height:1.25}
.dkinfo b{overflow:hidden;color:var(--tint);font-size:.90625rem;white-space:nowrap;text-overflow:ellipsis}
.dkinfo span{overflow:hidden;color:var(--dim);font-size:.78125rem;white-space:nowrap;text-overflow:ellipsis}
.dktime{flex:none;min-width:2rem;color:var(--dim);font-size:.78125rem;font-variant-numeric:tabular-nums}
.dkcur{color:var(--ink);text-align:right}
.dkseek{flex:1 1 8.75rem;min-width:4.375rem;height:2.125rem;touch-action:none}
.dkseek canvas{top:0;height:100%}
.dkseek:focus-visible{border-radius:.375rem}
.vol{flex:none;width:5.25rem;height:1.375rem;margin:0 2px 0 -.375rem;-webkit-appearance:none;appearance:none;cursor:pointer}
.vol::-webkit-slider-runnable-track{height:.1875rem;border-radius:.1875rem;background:linear-gradient(90deg,var(--tint) var(--v,100%),var(--line) var(--v,100%))}
.vol::-webkit-slider-thumb{-webkit-appearance:none;width:.75rem;height:.75rem;margin-top:-.28125rem;border-radius:50%;background:var(--ink)}
.vol::-moz-range-track{height:.1875rem;border-radius:.1875rem;background:var(--line)}
.vol::-moz-range-progress{height:.1875rem;border-radius:.1875rem;background:var(--tint)}
.vol::-moz-range-thumb{width:.75rem;height:.75rem;border:0;border-radius:50%;background:var(--ink)}
.has-track .toast{bottom:6.5rem}
/* the message box sits above the dock, not under it */
.has-track[data-view=messages] .view{padding-bottom:6.125rem}
.has-track[data-view=messages] .say{bottom:6.125rem;padding-bottom:.75rem}

@media (max-width:1099px){
[data-shape=web]{
  .toast{bottom:calc(4.625rem + env(safe-area-inset-bottom))}
  .has-track .toast{bottom:calc(8.75rem + env(safe-area-inset-bottom))}
  [data-view=messages] .app{padding-bottom:calc(3.625rem + env(safe-area-inset-bottom))}
  .has-track[data-view=messages] .app{padding-bottom:calc(8.25rem + env(safe-area-inset-bottom))}
  [data-view=messages] .view{min-height:calc(100dvh - 3.625rem - env(safe-area-inset-bottom))}
  .has-track[data-view=messages] .view{min-height:calc(100dvh - 8.25rem - env(safe-area-inset-bottom));padding-bottom:0}
  [data-view=messages] .say{bottom:calc(3.625rem + env(safe-area-inset-bottom));padding-bottom:.75rem}
  .has-track[data-view=messages] .say{bottom:calc(8.25rem + env(safe-area-inset-bottom))}

  /* the dock on a phone: play, what is playing, next, close. Tap the name for the full player. */
  .dock{bottom:calc(4.125rem + env(safe-area-inset-bottom));width:calc(100vw - 1.25rem);height:3.625rem;gap:.625rem;padding:0 .5rem 0 .4375rem}
  body:not(.sheet) .dock :is(.dkcur,.dkseek,.dkdur,[data-do=prev]){display:none}
  .dock :is(.dkmute,.vol){display:none}
  .dkinfo{flex:1 1 auto}
  /* the full player: the dock grows into the controls under the disc */
  .sheet .dock{bottom:calc(1.375rem + env(safe-area-inset-bottom));display:grid;grid-template-columns:auto minmax(0,1fr) auto;grid-template-areas:"cur seek dur" "ctl ctl ctl";gap:1rem .75rem;height:auto;padding:1.375rem 1.25rem 1.125rem;border-radius:1.875rem}
  .sheet .dkcur{grid-area:cur}
  .sheet .dkseek{grid-area:seek;height:2.75rem}
  .sheet .dkdur{grid-area:dur}
  .sheet .dkctl{grid-area:ctl;justify-content:center;gap:1.625rem}
  .sheet .dkplay{width:3.625rem;height:3.625rem}
  .sheet .dock :is(.dkinfo,.dkshut){display:none}
  .nums dd.wide{font-size:2.25rem}
  .charts{grid-template-columns:minmax(0,1fr)}
  .pics{gap:1.25rem}
}
}
.bub.file .cap{flex:none;white-space:nowrap}
.bub.file b{min-width:0}

/* ---------- dropping files onto the page ---------- */
.dropnote{position:fixed;z-index:35;inset:.875rem;display:none;place-items:center;border:1.5px solid var(--tint);border-radius:1.625rem;background:color-mix(in srgb,var(--ground) 88%,transparent);color:var(--tint);font-size:clamp(1.875rem,5.4vw,3.75rem);line-height:1;box-shadow:inset 0 0 4.375rem color-mix(in srgb,var(--tint) 13%,transparent),var(--glow);pointer-events:none}
.dropping .dropnote{display:grid}
