@font-face {
  font-family: Inter;
  src: url("/fonts/inter-latin-400-normal.woff2");
}
@font-face {
  font-family: Inter;
  src: url("/fonts/inter-latin-500-normal.woff2");
  font-weight: 500;
}
@font-face {
  font-family: Inter;
  src: url("/fonts/inter-latin-600-normal.woff2");
  font-weight: 600;
}
@font-face {
  font-family: Inter;
  src: url("/fonts/inter-latin-700-normal.woff2");
  font-weight: 700;
}
@font-face {
  font-family: Barlow;
  src: url("/fonts/barlow-condensed-latin-800-italic.woff2");
  font-weight: 800;
  font-style: italic;
}
@font-face {
  font-family: Barlow;
  src: url("/fonts/barlow-condensed-latin-700-normal.woff2");
  font-weight: 700;
}
@font-face {
  font-family: Space;
  src: url("/fonts/space-mono-latin-400-normal.woff2");
}
:root {
  color-scheme: dark;
  --bg: #101216;
  --side: #15181d;
  --panel: #191d23;
  --line: #292d34;
  --sub: #a1a8b3;
  --dim: #878f9b;
  --fg: #f4f6f8;
  --mint: #67f4cf;
  --purple: #b7a2ff;
  --rail: 67px;
  --sidebar: 221px;
  --right: 264px;
  font-family: Inter, Arial, sans-serif;
  font-size: 16px;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  height: 100dvh;
  overflow: hidden;
}
button,
input,
textarea,
select {
  font: inherit;
}
button,
a {
  touch-action: manipulation;
}
button {
  color: inherit;
  border: 0;
  background: transparent;
  cursor: pointer;
}
button:disabled {
  opacity: 0.48;
  cursor: wait;
}
button:focus-visible,
a:focus-visible,
textarea:focus-visible,
input:focus-visible,
select:focus-visible {
  outline: 2px solid var(--mint);
  outline-offset: 3px;
}
a {
  color: var(--mint);
}
button {
  transition:
    background 0.17s,
    color 0.17s,
    transform 0.17s,
    border-color 0.17s;
}
button:active:not(:disabled) {
  transform: translateY(1px);
}
[hidden] {
  display: none !important;
}
.ico {
  display: inline-block;
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  background: currentColor;
  mask-image: var(--icon);
  mask-size: contain;
  mask-position: center;
  mask-repeat: no-repeat;
  vertical-align: -0.15em;
}
.iconbtn {
  display: inline-grid;
  place-items: center;
  width: 33px;
  height: 33px;
  color: var(--sub);
  border-radius: 7px;
}
.iconbtn:hover,
.iconbtn.on {
  color: var(--fg);
  background: #272d35;
}
.row {
  display: flex;
  align-items: center;
  gap: 9px;
}
.spread {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.grow {
  flex: 1;
  min-width: 0;
}
.muted,
small {
  color: var(--sub);
}
.cut {
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
}
.kicker,
.section-label,
.micro {
  font:
    400 0.67rem Space,
    monospace;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}
.kicker {
  color: var(--mint);
}
.section-label {
  color: #a7afba;
  margin: 0;
}
.micro {
  color: var(--sub);
}
.primary,
.soft,
.danger,
.linebtn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 9px 14px;
  border-radius: 7px;
  font-weight: 600;
  font-size: 0.85rem;
  line-height: 1.25;
}
.primary {
  background: var(--mint);
  color: #08251e;
}
.primary:hover {
  background: #a0ffe3;
  box-shadow: 0 0 18px #67f4cf20;
}
.soft,
.linebtn {
  background: #22272e;
  color: #e7ebef;
  border: 1px solid #373d47;
}
.soft:hover,
.linebtn:hover {
  background: #303640;
}
.danger {
  background: #542b33;
  color: #ffc6cf;
}
.primary .ico,
.soft .ico,
.linebtn .ico {
  width: 16px;
  height: 16px;
}
.empty {
  padding: 22px 0;
  color: var(--sub);
  line-height: 1.6;
  font-size: 0.88rem;
}
.empty p {
  margin: 0 0 12px;
}
.formerror {
  color: #ffa6ae;
  font-size: 0.84rem;
  min-height: 0.1rem;
}
.badge {
  border: 1px solid #42554f;
  color: #a1d9c8;
  border-radius: 4px;
  padding: 2px 5px;
  font: 400 0.58rem Space;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.tag {
  font: 400 0.63rem Space;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: 4px;
  background: #2f2840;
  color: #cab5ff;
  padding: 3px 6px;
}
#top {
  height: 61px;
  display: flex;
  align-items: center;
  border-bottom: 1px solid var(--line);
  background: #111317;
  padding: 0 20px 0 21px;
  gap: 24px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: calc(var(--rail) + var(--sidebar) - 45px);
  padding: 0;
  text-align: left;
}
.brand img {
  width: 31px;
  height: 31px;
  object-fit: contain;
}
.wordmark {
  font:
    italic 800 1.83rem/0.95 Barlow,
    sans-serif;
  letter-spacing: 0.025em;
}
.topcrumb {
  font-size: 0.78rem;
  color: var(--sub);
  display: flex;
  align-items: center;
  gap: 10px;
}
.topcrumb .ico {
  width: 15px;
  height: 15px;
}
.topcrumb b {
  font-weight: 500;
  color: #e1e5ea;
}
.topright {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 10px;
}
.searchbtn {
  min-width: 175px;
  display: flex;
  align-items: center;
  gap: 9px;
  background: var(--panel);
  color: var(--sub);
  border: 1px solid #30353e;
  border-radius: 7px;
  padding: 7px 9px;
  font-size: 0.77rem;
}
.searchbtn .ico {
  width: 15px;
  height: 15px;
}
.searchbtn kbd {
  margin-left: auto;
}
.topdivider {
  height: 22px;
  width: 1px;
  background: var(--line);
  margin: 0 3px;
}
kbd {
  font: 400 0.61rem Space;
  padding: 1px 4px;
  border: 1px solid #3a404a;
  border-radius: 3px;
  color: #aeb5bf;
}
#workspace {
  height: calc(100dvh - 61px);
  display: grid;
  grid-template-columns: var(--rail) var(--sidebar) minmax(0, 1fr) var(--right);
}
#rail {
  background: #101216;
  border-right: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 11px;
  align-items: center;
  padding: 17px 0 12px;
  overflow: auto;
}
.tile {
  position: relative;
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  background: #22262c;
  border-radius: 13px;
  color: #b3bac4;
  isolation: isolate;
}
.tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: inherit;
}
.tile:hover {
  border-radius: 10px;
  transform: translateY(-2px);
}
.tile.selected {
  outline: 2px solid var(--mint);
  outline-offset: 3px;
}
.tile.selected:before {
  content: "";
  position: absolute;
  left: -11px;
  top: 12px;
  width: 3px;
  height: 18px;
  border-radius: 3px;
  background: var(--mint);
}
.rail-line {
  height: 1px;
  width: 25px;
  background: #32373e;
  margin: 2px 0;
}
.rail-add {
  border: 1px dashed #45524f;
  color: var(--mint);
  background: #1b2522;
}
.rail-last {
  margin-top: auto;
}
.avatar {
  width: 38px;
  height: 38px;
  object-fit: cover;
  border-radius: 50%;
  flex: 0 0 auto;
}
.avatarwrap {
  position: relative;
  width: 34px;
  height: 34px;
  flex-shrink: 0;
}
.avatarwrap img {
  width: 100%;
  height: 100%;
}
.dot {
  position: absolute;
  bottom: -1px;
  right: -1px;
  width: 10px;
  height: 10px;
  border: 2px solid var(--side);
  border-radius: 50%;
  background: #666e7b;
}
.dot.online {
  background: var(--mint);
}
.dot.idle {
  background: #efbe70;
}
.dot.busy {
  background: #f28b9d;
}
#sidebar {
  background: var(--side);
  border-right: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  min-height: 0;
}
.serverhead {
  height: 68px;
  flex-shrink: 0;
  padding: 0 16px;
  display: flex;
  gap: 11px;
  align-items: center;
  text-align: left;
  border-bottom: 1px solid var(--line);
  width: 100%;
}
.serverhead:hover {
  background: #1e2328;
}
.serverhead > img {
  width: 33px;
  height: 33px;
  border-radius: 9px;
}
.serverhead strong {
  font-size: 0.97rem;
  display: block;
}
.serverhead small {
  display: block;
  font-size: 0.68rem;
  margin-top: 3px;
}
.serverhead > .ico {
  width: 15px;
  color: var(--sub);
}
.sidebody {
  flex: 1;
  overflow: auto;
  padding: 18px 10px;
}
.navrow {
  width: 100%;
  display: flex;
  gap: 10px;
  align-items: center;
  border-radius: 6px;
  color: #aab1bd;
  min-height: 36px;
  padding: 7px 10px;
  font-size: 0.86rem;
  text-align: left;
  margin-bottom: 2px;
}
.navrow .ico {
  width: 17px;
  height: 17px;
}
.navrow:hover,
.member:hover,
.entry:hover {
  background: #232830;
  color: #f5f6f9;
}
.navrow.active {
  background: #20342f;
  color: #8dffdd;
  font-weight: 600;
}
.navrow.active .ico {
  color: var(--mint);
}
.navrow .count {
  margin-left: auto;
  color: var(--mint);
  font-size: 0.68rem;
}
.navgroup {
  margin-top: 25px;
}
.navtitle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 8px;
  margin-bottom: 6px;
  height: 22px;
}
.navtitle button {
  color: var(--dim);
  display: flex;
  align-items: center;
  padding: 0 2px;
}
.navtitle .ico {
  width: 14px;
  height: 14px;
}
.sidefoot {
  min-height: 68px;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 10px 12px;
  border-top: 1px solid var(--line);
  background: #181c21;
}
.sidefoot strong,
.member strong {
  font-size: 0.81rem;
  font-weight: 600;
  display: block;
}
.sidefoot small,
.member small {
  font-size: 0.69rem;
  display: block;
  margin-top: 3px;
}
.guestavatar {
  width: 32px;
  height: 32px;
  border-radius: 9px;
  background: #24332e;
  color: var(--mint);
  display: grid;
  place-items: center;
}
#main {
  min-width: 0;
  min-height: 0;
  display: flex;
  flex-direction: column;
  position: relative;
  background: #131519;
}
#channel {
  height: 68px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  padding: 0 23px;
  gap: 10px;
  border-bottom: 1px solid var(--line);
}
.channelicon {
  color: #98a3af;
  display: flex;
}
.channelicon .ico {
  width: 23px;
  height: 23px;
}
#channel h1 {
  font-size: 1.12rem;
  letter-spacing: -0.035em;
  margin: 0;
  font-weight: 700;
}
.topic {
  border-left: 1px solid #373c44;
  padding-left: 12px;
  font-size: 0.75rem;
  color: var(--sub);
  margin-left: 4px;
}
.tools {
  margin-left: auto;
  display: flex;
  gap: 3px;
}
.mobilemenu {
  display: none;
}
#content {
  flex: 1;
  overflow: auto;
  padding: 20px 24px 12px;
  min-height: 0;
}
#content > * {
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
}
.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: #102924;
  border: 1px solid #294b42;
  border-radius: 11px;
  min-height: 146px;
  padding: 24px 25px;
  display: flex;
  align-items: center;
}
.hero canvas,
.cover canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}
.hero:after {
  content: "";
  z-index: -1;
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, #10241ef2, #10241e88 50%, transparent 82%);
}
.hero h2 {
  font:
    italic 800 clamp(2.4rem, 3.2vw, 3.8rem)/1 Barlow,
    sans-serif;
  letter-spacing: 0.005em;
  margin: 6px 0 9px;
}
.hero p {
  font-size: 0.79rem;
  color: #c0d0ca;
  line-height: 1.5;
  margin: 0;
}
.hero .kicker {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.61rem;
}
.hero .kicker .ico {
  width: 15px;
  height: 15px;
}
.hero-mark {
  position: absolute;
  right: 12px;
  bottom: 9px;
  font: 400 0.55rem Space;
  color: #bdfde696;
  letter-spacing: 0.12em;
}
.feedbar {
  display: flex;
  align-items: center;
  gap: 11px;
  margin: 21px 0 17px;
}
.feedbar span {
  height: 1px;
  background: var(--line);
  flex: 1;
}
.feedbar time {
  font: 400 0.64rem Space;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: #a0a7b1;
}
.msg {
  position: relative;
  display: flex;
  gap: 12px;
  padding: 9px 0 12px;
}
.msg > .avatar {
  width: 35px;
  height: 35px;
}
.msg main {
  flex: 1;
  min-width: 0;
}
.msghead {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 4px;
  flex-wrap: wrap;
}
.msghead strong {
  font-size: 0.87rem;
}
.msghead time,
.msghead small {
  color: var(--dim);
  font-size: 0.65rem;
}
.bodytext {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  font-size: 0.875rem;
  line-height: 1.55;
  color: #d3d8df;
  margin: 0;
}
.inlinebtn {
  color: var(--mint);
  font-size: 0.76rem;
  padding: 2px 0;
}
.msgtools {
  position: absolute;
  top: -10px;
  right: 0;
  opacity: 0;
  pointer-events: none;
  border: 1px solid #39414a;
  background: #21262c;
  border-radius: 6px;
  display: flex;
  box-shadow: 0 6px 18px #0004;
  z-index: 2;
}
.msg:hover .msgtools,
.msg:focus-within .msgtools {
  opacity: 1;
  pointer-events: auto;
}
.msgtools .iconbtn {
  width: 28px;
  height: 26px;
}
.msgtools .ico {
  width: 14px;
  height: 14px;
}
.replyquote {
  border-left: 2px solid #5e7180;
  padding-left: 7px;
  font-size: 0.73rem;
  margin-bottom: 6px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  color: var(--sub);
}
.cover {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border-radius: 9px;
  min-height: 122px;
  margin-top: 10px;
  padding: 18px 20px;
  text-align: left;
  width: min(100%, 430px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  color: #181725;
  background: #b8a5ec;
}
.cover .kicker {
  color: #3e365a;
  font-size: 0.58rem;
  font-weight: bold;
}
.cover b {
  font: italic 800 2.4rem/0.95 Barlow;
  margin: 8px 0;
}
.cover small {
  color: #302b42;
  font-size: 0.65rem;
}
.cover .coverlabel {
  position: absolute;
  right: 10px;
  bottom: 9px;
  font: 400 0.55rem Space;
}
.reactions,
.buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 8px;
}
.react {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: #22272d;
  border: 1px solid #343a42;
  border-radius: 6px;
  padding: 3px 7px;
  font: 400 0.68rem Space;
  color: #c9d1dc;
}
.react .ico {
  width: 13px;
  height: 13px;
}
.react.mine {
  background: #203b32;
  border-color: #417863;
  color: var(--mint);
}
.poll {
  border: 1px solid #37323f;
  background: #1d1d24;
  border-radius: 8px;
  max-width: 440px;
  padding: 11px;
  margin-top: 7px;
}
.poll .kicker {
  color: #cab4fe;
  display: flex;
  gap: 7px;
  align-items: center;
  margin-bottom: 8px;
  font-size: 0.61rem;
}
.poll .kicker .ico {
  width: 14px;
  height: 14px;
}
.option {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  margin: 4px 0;
  width: 100%;
  background: #25262e;
  border: 1px solid #383b46;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 7px 9px;
  border-radius: 5px;
  text-align: left;
  font-size: 0.78rem;
}
.option:before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: var(--pct);
  background: #423b57;
  z-index: -1;
}
.option.mine {
  border-color: #9a86c6;
}
.option small {
  font: 400 0.64rem Space;
}
.pollfooter {
  font-size: 0.65rem;
  color: var(--dim);
  margin-top: 6px;
}
#composer {
  padding: 6px 24px 14px;
  background: #131519;
}
.inputbox {
  border: 1px solid #3a4049;
  border-radius: 9px;
  background: #20242a;
  display: flex;
  align-items: center;
  padding: 6px 7px;
  gap: 5px;
  min-height: 47px;
}
.inputbox:focus-within {
  border-color: #638f81;
}
.inputbox textarea {
  resize: none;
  flex: 1;
  max-height: 100px;
  min-width: 0;
  height: 26px;
  line-height: 22px;
  outline: none;
  background: transparent;
  border: 0;
  color: var(--fg);
  padding: 2px 4px;
  font-size: 0.86rem;
}
.sendbtn {
  background: var(--mint);
  color: #0b3025;
  width: 32px;
  height: 32px;
  border-radius: 7px;
  display: grid;
  place-items: center;
}
.sendbtn .ico {
  width: 16px;
  height: 16px;
}
.sendbtn:hover {
  background: #a9ffe8;
}
.composernote {
  display: flex;
  justify-content: space-between;
  color: var(--dim);
  font-size: 0.62rem;
  margin: 7px 3px 0;
}
.contextrow {
  padding: 6px 0;
  color: var(--mint);
  font-size: 0.76rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.contextrow .iconbtn {
  width: 20px;
  height: 20px;
}
#details {
  background: #16191d;
  border-left: 1px solid var(--line);
  min-width: 0;
  overflow: auto;
}
.detailhead {
  height: 68px;
  padding: 0 17px;
  display: flex;
  align-items: center;
  gap: 9px;
  border-bottom: 1px solid var(--line);
  font-size: 0.87rem;
  font-weight: 600;
}
.detailhead > .ico {
  color: var(--sub);
  width: 17px;
}
.detailbody {
  padding: 19px 16px;
}
.pulsecard {
  padding: 14px 13px;
  border-radius: 9px;
  border: 1px solid #30463f;
  background: linear-gradient(120deg, #1c2c26, #18231f);
}
.pulsecard .section-label {
  color: #acf6da;
  font-size: 0.65rem;
}
.pulsecard .ico {
  color: var(--mint);
  width: 16px;
  height: 16px;
}
.pulsenum {
  margin-top: 11px;
  display: flex;
  align-items: baseline;
  gap: 6px;
}
.pulsenum b {
  font-size: 1.55rem;
  letter-spacing: -0.04em;
}
.pulsenum small,
.pulsefoot {
  font-size: 0.68rem;
  color: #a7bcb3;
}
.pulsechart {
  height: 36px;
  display: flex;
  align-items: flex-end;
  gap: 2px;
  margin: 7px 0;
  width: 100%;
}
.pulsechart i {
  display: block;
  flex: 1;
  max-width: 10px;
  background: #70d9b7;
  min-height: 2px;
  border-radius: 1px 1px 0 0;
}
.pulsefoot {
  display: flex;
  justify-content: space-between;
  font: 400 0.55rem Space;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.detailsection {
  margin: 24px 0 11px;
}
.detailsection .section-label {
  font-size: 0.66rem;
}
.detailsection .iconbtn {
  width: 20px;
  height: 20px;
}
.detailsection .ico {
  width: 14px;
  height: 14px;
}
.eventcard {
  padding: 12px;
  background: #202329;
  border: 1px solid #343941;
  border-radius: 9px;
  display: flex;
  align-items: center;
  gap: 10px;
  text-align: left;
  width: 100%;
}
.eventcard:hover {
  background: #282c33;
}
.datebox {
  color: #d5baff;
  border-radius: 6px;
  background: #322b3e;
  min-width: 37px;
  text-align: center;
  padding: 5px 5px 4px;
}
.datebox small {
  display: block;
  color: #cab0ec;
  font: 400 0.56rem Space;
  text-transform: uppercase;
}
.datebox b {
  font-size: 1.02rem;
  display: block;
}
.eventcard strong {
  display: block;
  font-size: 0.76rem;
  line-height: 1.48;
}
.eventcard .meta {
  font-size: 0.65rem;
  color: var(--sub);
  display: block;
  margin-top: 3px;
}
.member {
  width: 100%;
  padding: 7px 3px;
  display: flex;
  align-items: center;
  gap: 9px;
  text-align: left;
  border-radius: 6px;
}
.detailbody .member .avatarwrap {
  width: 30px;
  height: 30px;
}
.member .tag {
  margin-left: auto;
  font-size: 0.55rem;
}
.detailrule {
  height: 1px;
  background: var(--line);
  margin: 20px 0;
}
.secondary {
  font-size: 0.78rem;
  color: var(--sub);
  line-height: 1.5;
}
#dialog {
  background: #1a1e24;
  color: var(--fg);
  border: 1px solid #3a424b;
  border-radius: 14px;
  width: min(480px, calc(100vw - 30px));
  padding: 0;
  max-height: 85dvh;
  box-shadow: 0 24px 100px #0009;
}
#dialog[open] {
  animation: enter 0.17s ease-out;
}
#dialog::backdrop {
  background: #06090dba;
  backdrop-filter: blur(4px);
}
#dialogBody {
  padding: 22px;
}
#dialog h2,
.pagehead h2 {
  margin: 0;
  font-size: 1.35rem;
  letter-spacing: -0.04em;
}
#dialog .dlghead {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 15px;
}
#dialog h3 {
  margin: 18px 0 7px;
  font-size: 0.9rem;
}
.form {
  display: grid;
  gap: 12px;
}
.form label,
.field {
  font-size: 0.78rem;
  font-weight: 500;
  color: #c9cfd6;
  display: grid;
  gap: 6px;
}
.form input,
.form textarea,
.form select,
.filterbox {
  width: 100%;
  border: 1px solid #3b424c;
  background: #13161a;
  border-radius: 6px;
  color: var(--fg);
  padding: 10px 11px;
  font: inherit;
}
.form textarea {
  min-height: 70px;
  resize: vertical;
}
.form .check {
  display: flex;
  align-items: center;
  gap: 7px;
}
.check input {
  width: auto;
}
.form .primary {
  justify-self: start;
}
.auth-tabs,
.pills {
  display: flex;
  gap: 5px;
  margin: 12px 0 17px;
}
.pills button,
.auth-tabs button {
  padding: 7px 11px;
  color: var(--sub);
  border-radius: 6px;
  font-size: 0.8rem;
}
.pills .on,
.auth-tabs .on {
  background: #27342f;
  color: var(--mint);
}
.entry {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 11px;
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  margin: 6px 0;
  text-align: left;
}
.entry .ico {
  color: var(--mint);
}
.entry small {
  display: block;
  font-size: 0.72rem;
  margin-top: 3px;
}
.entry b {
  font-size: 0.88rem;
}
.entry .avatar {
  height: 32px;
  width: 32px;
}
.entry select {
  color: var(--fg);
  background: #20252b;
  border: 1px solid var(--line);
  padding: 5px;
}
.menulist {
  display: grid;
  gap: 3px;
}
.menulist button {
  display: flex;
  align-items: center;
  gap: 10px;
  text-align: left;
  padding: 10px;
  border-radius: 6px;
  font-size: 0.88rem;
}
.menulist button:hover {
  background: #292f36;
}
.menulist .ico {
  color: var(--sub);
}
.pagehead {
  margin: 12px 0 22px;
}
.pagehead .kicker {
  margin-bottom: 8px;
}
.pagehead p {
  color: var(--sub);
  line-height: 1.55;
  font-size: 0.87rem;
}
.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
  gap: 8px;
  margin: 18px 0;
}
.stat {
  background: #20272a;
  border: 1px solid #36433e;
  border-radius: 8px;
  padding: 13px;
}
.stat b {
  display: block;
  font-size: 1.5rem;
  color: var(--mint);
}
.stat small {
  font-size: 0.68rem;
}
.eventfull {
  border: 1px solid var(--line);
  border-radius: 9px;
  padding: 15px;
  margin: 9px 0;
}
.eventfull h3 {
  margin: 3px 0 5px;
}
.eventfull p {
  font-size: 0.83rem;
  color: var(--sub);
  line-height: 1.5;
}
.eventfull .datebox {
  min-width: 44px;
}
.modalnote {
  color: var(--sub);
  font-size: 0.84rem;
  line-height: 1.55;
  margin: 0 0 15px;
}
.artgrid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 6px;
}
.artgrid label {
  cursor: pointer;
}
.artgrid img {
  width: 100%;
  border-radius: 50%;
}
.artgrid input {
  position: absolute;
  opacity: 0;
}
.artgrid input:checked + img {
  outline: 2px solid var(--mint);
  outline-offset: 2px;
}
.attachment {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: #242931;
  padding: 9px 12px;
  border-radius: 6px;
  margin-top: 6px;
  font-size: 0.8rem;
}
.sheet-list {
  max-height: 47dvh;
  overflow: auto;
}
.sheet-list .msgtools {
  display: none;
}
.live {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--mint);
  font-size: 0.72rem;
}
.live:before {
  content: "";
  width: 6px;
  height: 6px;
  background: var(--mint);
  border-radius: 50%;
}
#toast {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translate(-50%, 15px);
  opacity: 0;
  pointer-events: none;
  transition: 0.18s;
  background: #2b3339;
  border: 1px solid #53605f;
  border-radius: 9px;
  padding: 11px 16px;
  max-width: min(500px, 92vw);
  font-size: 0.84rem;
  z-index: 20;
}
#toast.show {
  transform: translate(-50%, 0);
  opacity: 1;
}
#callbar {
  padding: 10px 18px;
  display: flex;
  align-items: center;
  background: #1a302a;
  gap: 8px;
  font-size: 0.8rem;
}
#media:not(:empty) {
  position: fixed;
  right: 15px;
  bottom: 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  z-index: 5;
  max-width: 45vw;
}
#media video {
  max-width: 200px;
  max-height: 130px;
  border-radius: 6px;
  background: #111;
}
body.focus #workspace,
body.no-details #workspace {
  grid-template-columns: var(--rail) var(--sidebar) minmax(0, 1fr);
}
body.focus #details,
body.no-details #details {
  display: none;
}
body.focus .hero,
body.focus .cover {
  display: none;
}
#scrim {
  position: fixed;
  inset: 61px 0 0;
  background: #0008;
  z-index: 6;
}
#details .mobileclose {
  display: none;
}
.newanim {
  animation: enter 0.2s ease-out;
}
@keyframes enter {
  from {
    opacity: 0;
    transform: translateY(5px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@media (min-width: 1550px) {
  :root {
    --sidebar: 245px;
    --right: 290px;
  }
  #content {
    padding: 24px 34px 12px;
  }
  #composer {
    padding-left: 34px;
    padding-right: 34px;
  }
  .hero {
    min-height: 165px;
  }
}
@media (max-width: 1180px) {
  :root {
    --sidebar: 191px;
    --right: 224px;
    --rail: 59px;
  }
  .detailbody {
    padding: 16px 12px;
  }
  #content {
    padding: 17px 18px 10px;
  }
  #composer {
    padding: 5px 18px 12px;
  }
  .topic {
    display: none;
  }
  .topcrumb {
    font-size: 0.7rem;
  }
}
@media (max-width: 1000px) {
  #workspace,
  body.no-details #workspace,
  body.focus #workspace {
    grid-template-columns: var(--rail) var(--sidebar) minmax(0, 1fr);
  }
  #details {
    display: none;
  }
  body.detail-open #details {
    display: block;
    position: fixed;
    right: 0;
    top: 61px;
    bottom: 0;
    width: 260px;
    z-index: 8;
    box-shadow: -10px 0 35px #0005;
  }
  #details .mobileclose {
    display: grid;
    margin-left: auto;
  }
}
@media (max-width: 700px) {
  #top {
    height: 53px;
    padding: 0 13px;
    gap: 8px;
  }
  .brand {
    min-width: 0;
    gap: 7px;
  }
  .brand img {
    width: 25px;
    height: 25px;
  }
  .wordmark {
    font-size: 1.55rem;
  }
  .topcrumb,
  .topdivider,
  .searchbtn span,
  .searchbtn kbd,
  .topright > .desktopOnly {
    display: none;
  }
  .topright {
    gap: 4px;
  }
  .searchbtn {
    min-width: 0;
    padding: 7px;
    background: transparent;
    border: 0;
  }
  .topright .primary {
    padding: 7px 10px;
  }
  .topright .iconbtn {
    width: 28px;
  }
  .mobilemenu {
    display: inline-grid;
  }
  #workspace,
  body.no-details #workspace,
  body.focus #workspace {
    height: calc(100dvh - 53px);
    display: block;
  }
  #main {
    height: 100%;
  }
  #rail,
  #sidebar {
    display: none;
  }
  body.nav-open #rail,
  body.nav-open #sidebar {
    display: flex;
    position: fixed;
    top: 53px;
    bottom: 0;
    z-index: 8;
  }
  body.nav-open #rail {
    left: 0;
    width: var(--rail);
  }
  body.nav-open #sidebar {
    left: var(--rail);
    width: 222px;
    box-shadow: 10px 0 35px #0005;
  }
  #scrim {
    top: 53px;
  }
  body.detail-open #details {
    top: 53px;
  }
  #channel {
    height: 51px;
    padding: 0 10px;
    gap: 6px;
  }
  #channel h1 {
    font-size: 1rem;
  }
  .tools {
    gap: 0;
  }
  .tools .iconbtn {
    width: 29px;
  }
  .tools .optional {
    display: none;
  }
  #content {
    padding: 12px 13px;
  }
  .hero {
    min-height: 125px;
    padding: 18px;
  }
  .hero h2 {
    font-size: 2.55rem;
  }
  .hero p {
    font-size: 0.72rem;
    max-width: 80%;
  }
  .hero .kicker {
    font-size: 0.56rem;
  }
  .msg {
    gap: 8px;
  }
  .msg > .avatar {
    width: 30px;
    height: 30px;
  }
  .msgtools {
    position: static;
    opacity: 1;
    pointer-events: auto;
    border: 0;
    background: transparent;
    box-shadow: none;
    display: inline-flex;
    margin-top: 3px;
  }
  .msgtools .iconbtn {
    width: 22px;
    height: 21px;
  }
  .bodytext {
    font-size: 0.85rem;
  }
  .cover {
    min-height: 105px;
  }
  #composer {
    padding: 4px 10px max(8px, env(safe-area-inset-bottom));
  }
  .composernote {
    display: none;
  }
  .inputbox {
    gap: 1px;
  }
  .inputbox .iconbtn {
    width: 27px;
  }
  .feedbar {
    margin: 14px 0 9px;
  }
  .detailhead {
    height: 51px;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *:before,
  *:after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}

.imagepost {
  display: block;
  max-width: min(100%, 420px);
  max-height: 300px;
  object-fit: contain;
  border-radius: 8px;
  margin-top: 7px;
}
.bodytext code {
  background: #262c34;
  padding: 1px 4px;
  border-radius: 4px;
  font:
    400 0.8rem Space,
    monospace;
}
.bodytext .codeblock {
  display: block;
  padding: 10px 12px;
  overflow: auto;
}
.mention {
  background: #293c36;
  color: #a0f4d8;
  border-radius: 4px;
  padding: 1px 3px;
}
.msghead > span[title] .ico {
  width: 12px;
  height: 12px;
  color: #98a8a1;
}
.serverhead + .sidebody .navgroup {
  margin-top: 22px;
}
.serverhead strong {
  letter-spacing: -0.025em;
}
.cover:after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  background: linear-gradient(
    90deg,
    #bba9e8 5%,
    #bba9e8aa 37%,
    transparent 64%
  );
}

.rolechip {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font: 400 0.58rem Space;
  letter-spacing: 0.025em;
  color: var(--role);
  border: 1px solid color-mix(in srgb, var(--role) 35%, transparent);
  background: color-mix(in srgb, var(--role) 7%, transparent);
  border-radius: 4px;
  padding: 2px 5px;
  max-width: 100%;
  white-space: nowrap;
}
.rolechip i,
.membergroup h3 i {
  display: inline-block;
  background: var(--role);
  width: 5px;
  height: 5px;
  border-radius: 100%;
  flex: none;
}
.membergroup {
  margin: 21px 0;
}
.membergroup h3 {
  font-size: 0.64rem;
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 0 0 7px;
}
.membergroup h3 span {
  color: #8c95a3;
  font-size: 0.61rem;
  margin-left: auto;
}
.rosterhead {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
  font-size: 0.85rem;
  font-weight: 600;
}
.rosterhead small {
  font-size: 0.7rem;
  font-weight: 400;
}
.memberfilter {
  display: flex;
  align-items: center;
  gap: 7px;
  background: #101316;
  border: 1px solid #30363e;
  border-radius: 6px;
  padding: 8px;
  color: var(--dim);
}
.memberfilter .ico {
  width: 14px;
  height: 14px;
}
.memberfilter input {
  color: var(--fg);
  width: 100%;
  font: inherit;
  font-size: 0.75rem;
  border: none;
  background: transparent;
  outline: 0;
}
.memberfilter:focus-within {
  border-color: var(--mint);
}
.pfp,
.namebutton {
  padding: 0;
}
.pfp {
  align-self: flex-start;
  border-radius: 50%;
  display: flex;
}
.pfp .avatar {
  width: 35px;
  height: 35px;
}
.namebutton {
  font-weight: 700;
  font-size: 0.88rem;
}
.namebutton:hover {
  text-decoration: underline;
}
.member .rolechip {
  font-size: 0.48rem;
  max-width: 80px;
  overflow: hidden;
}
.formpair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.form input[type="color"] {
  height: 37px;
  padding: 3px;
}
.form .check input {
  accent-color: var(--mint);
}
#profileCard {
  position: fixed;
  z-index: 12;
  width: min(285px, calc(100vw - 16px));
  max-height: calc(100dvh - 16px);
  overflow: auto;
  background: #20242b;
  border: 1px solid #414953;
  border-radius: 12px;
  box-shadow: 0 12px 44px #0009;
  animation: enter 0.13s ease-out;
}
.cardcover {
  height: 62px;
  background:
    repeating-linear-gradient(116deg, transparent 0 8px, #0001 9px 10px),
    linear-gradient(
      105deg,
      color-mix(in srgb, var(--role) 25%, #151820),
      color-mix(in srgb, var(--role) 70%, #151820)
    );
  display: flex;
  justify-content: flex-end;
  padding: 5px;
}
.cardcover .iconbtn {
  color: white;
  background: #15191d66;
  width: 25px;
  height: 25px;
}
.cardbody {
  padding: 0 15px 14px;
}
.cardbody > .avatar {
  width: 55px;
  height: 55px;
  border: 4px solid #20242b;
  margin-top: -26px;
  position: relative;
}
.cardbody h2 {
  font-size: 1.12rem;
  margin: 5px 0 2px;
}
.cardbody small {
  font-size: 0.78rem;
}
.cardbody p {
  font-size: 0.82rem;
  color: var(--sub);
  line-height: 1.5;
}
.cardroles {
  display: flex;
  gap: 5px;
  flex-wrap: wrap;
  margin: 11px 0;
}
.cardbody .buttons:empty {
  display: none;
}
.hero-vinyl {
  border-color: #7c5f54;
}
.hero-vinyl:after {
  background: linear-gradient(
    90deg,
    #ecaa86 15%,
    #ecaa86bb 46%,
    transparent 80%
  );
}
.hero-vinyl h2 {
  font:
    700 clamp(2.1rem, 3.3vw, 3.6rem)/1 Georgia,
    serif;
  letter-spacing: -0.06em;
  color: #33202a;
}
.hero-vinyl .kicker,
.hero-vinyl p {
  color: #52342e;
}
.hero-blueprint {
  border: 1px solid #526b8a;
  border-radius: 3px;
}
.hero-blueprint:after {
  background: linear-gradient(90deg, #24354fcc, transparent 85%);
}
.hero-blueprint h2 {
  font: 700 clamp(2.1rem, 3.2vw, 3.5rem)/1 Barlow;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}
.hero-blueprint .kicker,
.hero-blueprint p {
  color: #c5deff;
}
.hero-circuit {
  border-color: #4f3d5f;
  border-radius: 3px 15px 3px 15px;
}
.hero-circuit:after {
  background: linear-gradient(90deg, #181b25, transparent 75%);
}
.hero-circuit h2 {
  font: 400 clamp(1.8rem, 2.7vw, 3rem)/1.1 Space;
  letter-spacing: -0.075em;
}
.hero-circuit .kicker {
  color: #ddb6fa;
}
.hero-circuit p {
  color: #cfc4d8;
}
.themepicker {
  border: 0;
  margin: 0;
  padding: 0;
}
.themepicker legend {
  font-size: 0.8rem;
  color: #c9cfd6;
  margin-bottom: 7px;
}
.themegrid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.themechoice {
  position: relative;
  display: block !important;
  cursor: pointer;
  border: 1px solid #3c434d;
  border-radius: 7px;
  padding: 6px;
}
.themechoice:has(input:checked) {
  border-color: var(--mint);
  background: #23322d;
}
.themechoice input {
  position: absolute;
  opacity: 0;
}
.themechoice:focus-within {
  outline: 2px solid var(--mint);
}
.themethumb {
  height: 45px;
  display: block;
  position: relative;
  overflow: hidden;
  border-radius: 3px;
}
.themethumb canvas {
  width: 100%;
  height: 100%;
  display: block;
}
.themechoice strong,
.themechoice small {
  display: block;
  margin: 5px 2px 1px;
  font-size: 0.73rem;
}
.themechoice small {
  font-size: 0.64rem;
  font-weight: 400;
  color: var(--sub);
}
.coverlarge {
  width: 100%;
  height: 185px;
}
.coverlarge b {
  font-size: 3rem;
}

.member-offline .member{opacity:.57}.member-offline .member:hover,.member-offline .member:focus-visible{opacity:1}.discord-signin{display:flex;align-items:center;justify-content:center;gap:.55rem;margin:0 0 1rem}.roster-hint{padding:.4rem .6rem;font-size:.75rem}
