/* PANE Launcher 0.1.72: glass over the living world (tokens from paneclient.com). */
@font-face { font-family: 'Archivo'; src: url(/assets/fonts/archivo.woff2) format('woff2'); font-weight: 100 900; font-stretch: 62% 125%; font-display: block; }
@font-face { font-family: 'JetBrains Mono'; src: url(/assets/fonts/jetbrains-mono-400.woff2) format('woff2'); font-weight: 400; font-display: block; }
@font-face { font-family: 'JetBrains Mono'; src: url(/assets/fonts/jetbrains-mono-500.woff2) format('woff2'); font-weight: 500; font-display: block; }

:root {
  --ui: 'Segoe UI Variable Text', 'Segoe UI', system-ui, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, monospace;
  --glass: rgba(14, 14, 19, .42);
  --ring: 0 0 0 1px rgba(255, 255, 255, .2), inset 0 0 0 2px rgba(255, 255, 255, .05), 0 5px 18px rgba(0, 0, 0, .16);
  --warn: #f7c64f; --err: #ffb4a8; --ok: #5ee38c; --away: #f7c64f; --off: #8c96a6;
}
* { box-sizing: border-box; }
html, body { margin: 0; width: 100%; height: 100%; overflow: hidden; background: #0a0c11; color: #fff; font: 15px/1.4 var(--ui); -webkit-user-select: none; user-select: none; }
#still, #world { position: fixed; inset: 0; width: 100%; height: 100%; display: block; }
#still { object-fit: cover; transition: opacity 1s ease; }
#world { opacity: 0; transition: opacity 1.2s ease; }
#world.on { opacity: 1; }
#app { position: fixed; inset: 0; }
a { color: #fff; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; text-align: inherit; }
button:disabled { cursor: default; opacity: .45; }
input, textarea { font: inherit; color: #fff; background: none; border: 0; outline: 0; min-width: 0; -webkit-user-select: text; user-select: text; }
input::placeholder, textarea::placeholder { color: rgba(255, 255, 255, .55); }
:focus-visible { outline: 2px solid rgba(255, 255, 255, .85); outline-offset: 2px; }
input:focus-visible, textarea:focus-visible { outline: none; }
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-thumb { background: rgba(255, 255, 255, .18); border-radius: 10px; border: 3px solid transparent; background-clip: padding-box; }
::-webkit-scrollbar-thumb:hover { background-color: rgba(255, 255, 255, .3); }
::-webkit-scrollbar-track, ::-webkit-scrollbar-corner { background: transparent; }
.sel { -webkit-user-select: text; user-select: text; }

/* glass and type */
.gl { background: var(--glass); -webkit-backdrop-filter: blur(22px) saturate(1.25); backdrop-filter: blur(22px) saturate(1.25); box-shadow: var(--ring); }
.low .gl { background: rgba(14, 14, 19, .6); -webkit-backdrop-filter: none; backdrop-filter: none; }
.ey { margin: 0; font: 500 12.5px/1.2 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: rgba(255, 255, 255, .82); text-shadow: 0 1px 2px rgba(0, 0, 0, .45), 0 0 18px rgba(0, 0, 0, .35); }
.dp { margin: 0; font-family: 'Archivo', system-ui, sans-serif; font-weight: 640; font-stretch: 112%; color: #fff; text-shadow: 0 1px 30px rgba(0, 0, 0, .28); }
.sec { font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: rgba(255, 255, 255, .66); }
.mut { color: rgba(255, 255, 255, .74); }
.nm { font-size: 14px; font-weight: 600; line-height: 1.25; }
.sub { font-size: 12.5px; color: rgba(255, 255, 255, .76); line-height: 1.35; }
.ell { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.warn { color: var(--warn); }
.err { color: var(--err); }
.good { color: #8be9a8; }
.grow { flex: 1; min-width: 0; }
.col { display: flex; flex-direction: column; }
.rowx { display: flex; align-items: center; gap: 8px; }
.i { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.i.s { width: 15px; height: 15px; }
.mk { position: relative; display: inline-block; width: 17px; height: 17px; flex: none; }
.mk i { position: absolute; border-radius: 24%; width: 66%; height: 66%; }
.mk i:nth-child(1) { left: 34%; top: 0; background: rgba(255, 255, 255, .16); box-shadow: inset 0 0 0 1.4px rgba(255, 255, 255, .7); }
.mk i:nth-child(2) { left: 0; top: 34%; background: rgba(255, 255, 255, .95); }
.spin { width: 16px; height: 16px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .25); border-top-color: currentColor; animation: spin .9s linear infinite; flex: none; }
@keyframes spin { to { transform: rotate(360deg); } }

/* pills and buttons */
.pb { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 33px; padding: 0 17px; border-radius: 999px; font-size: 16px; color: rgba(255, 255, 255, .9); background: rgba(255, 255, 255, .08); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .14); white-space: nowrap; }
.pb:hover:not(:disabled) { background: rgba(255, 255, 255, .16); box-shadow: inset 0 0 0 1.3px rgba(255, 255, 255, .4); color: #fff; }
.pb.here { background: rgba(255, 255, 255, .14); box-shadow: inset 0 0 0 1.2px rgba(255, 255, 255, .36); color: #fff; }
.pb.solid { background: rgba(255, 255, 255, .92); color: #0d0d0f; box-shadow: none; }
.pb.solid:hover:not(:disabled) { background: #fff; color: #0d0d0f; }
.pb.ic { width: 36px; padding: 0; }
.pb.acct { padding: 0 14px 0 4px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 7px; height: 34px; padding: 0 14px; border-radius: 999px; font-size: 13px; font-weight: 600; white-space: nowrap; flex: none; background: rgba(255, 255, 255, .1); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .35); }
.btn:hover:not(:disabled) { background: rgba(255, 255, 255, .18); }
.btn.pri { background: rgba(255, 255, 255, .92); color: #0d0d0f; box-shadow: none; }
.btn.pri:hover:not(:disabled) { background: #fff; }
.btn.red { background: rgba(255, 120, 110, .18); box-shadow: inset 0 0 0 1px rgba(255, 150, 140, .6); }
.btn.green { background: rgba(94, 227, 140, .22); box-shadow: inset 0 0 0 1px rgba(94, 227, 140, .7); }
.btn.sm { height: 30px; padding: 0 12px; font-size: 12px; }
.btn.lg { height: 44px; padding: 0 18px; font-size: 14px; }
.btn.grow { flex: 1; }
.ibtn { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; flex: none; background: rgba(255, 255, 255, .08); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .3); }
.ibtn:hover:not(:disabled) { background: rgba(255, 255, 255, .18); }
.ibtn.sm { width: 30px; height: 30px; }
.ibtn.on { background: rgba(255, 255, 255, .92); color: #0d0d0f; }
.ibtn.red { background: rgba(255, 110, 100, .85); color: #fff; box-shadow: none; }
.link { font-size: 14px; text-decoration: underline; text-underline-offset: 3px; }
.link:hover { color: #d9e4ff; }

/* window chrome */
.drag { position: fixed; left: 0; right: 0; top: 0; height: 70px; }
.edge { position: fixed; z-index: 90; }
.e-t, .e-b { left: 12px; right: 12px; height: 5px; cursor: ns-resize; }
.e-t { top: 0; } .e-b { bottom: 0; }
.e-l, .e-r { top: 12px; bottom: 12px; width: 5px; cursor: ew-resize; }
.e-l { left: 0; } .e-r { right: 0; }
.e-tl, .e-tr, .e-bl, .e-br { width: 12px; height: 12px; }
.e-tl { top: 0; left: 0; cursor: nwse-resize; } .e-br { bottom: 0; right: 0; cursor: nwse-resize; }
.e-tr { top: 0; right: 0; cursor: nesw-resize; } .e-bl { bottom: 0; left: 0; cursor: nesw-resize; }
.top { position: fixed; top: 16px; left: 0; right: 0; display: flex; justify-content: center; pointer-events: none; z-index: 20; }
.nav { pointer-events: auto; display: flex; align-items: center; gap: 8px; padding: 8px 10px; border-radius: 999px; }
.brand { display: inline-flex; align-items: center; gap: 10px; height: 33px; padding: 0 10px 0 8px; }
.brand b { font-family: 'Archivo', sans-serif; font-stretch: 118%; font-weight: 700; font-size: 18px; letter-spacing: .1em; }
.me-av { width: 25px; height: 25px; border-radius: 999px; background: rgba(255, 255, 255, .92); color: #0d0d0f; display: grid; place-items: center; font-weight: 700; font-size: 13px; }
.winctl { position: fixed; top: 16px; right: 16px; display: flex; gap: 4px; padding: 8px; border-radius: 999px; z-index: 21; }
.winctl .x:hover { background: rgba(232, 17, 35, .9) !important; box-shadow: none !important; }
@media (max-width: 1240px) { .callname { display: none; } }
.pane-ver { position: fixed; left: 20px; bottom: 12px; font: 500 11px var(--mono); color: rgba(255, 255, 255, .45); letter-spacing: .08em; z-index: 1; pointer-events: none; }

/* shared pieces */
.card { background: rgba(255, 255, 255, .06); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .14); border-radius: 18px; }
.tabs { display: flex; gap: 4px; padding: 4px; border-radius: 999px; background: rgba(255, 255, 255, .07); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .18); }
.tab { display: flex; align-items: center; gap: 8px; height: 36px; padding: 0 16px; border-radius: 999px; font-weight: 600; color: rgba(255, 255, 255, .85); }
.tab:hover { background: rgba(255, 255, 255, .1); }
.tab.on { background: rgba(255, 255, 255, .92); color: #0d0d0f; }
.tab.on .badge { background: #0d0d0f; color: #fff; }
.row { display: flex; align-items: center; gap: 11px; width: 100%; padding: 8px 10px; border-radius: 14px; }
button.row:hover, .row.hov:hover { background: rgba(255, 255, 255, .07); }
.row.on { background: rgba(255, 255, 255, .14); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .38); }
.row .tools { display: flex; gap: 6px; align-items: center; }
.av { position: relative; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; font-size: 14px; background: rgba(255, 255, 255, .14); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .45); flex: none; text-transform: uppercase; }
.av.sm { width: 30px; height: 30px; font-size: 12px; }
.av.xs { width: 24px; height: 24px; font-size: 10px; }
.av.lg { width: 56px; height: 56px; font-size: 22px; }
.av.xl { width: 88px; height: 88px; font-size: 34px; }
.av.wht { background: rgba(255, 255, 255, .94); color: #0d0d0f; }
.av.pic { background: rgba(255, 255, 255, .1); }
.av.chip { width: 25px; height: 25px; font-size: 13px; box-shadow: none; }
.navsep { width: 1px; height: 18px; background: rgba(255, 255, 255, .28); margin: 0 4px; flex: none; }
.av img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; display: block; }
.av.talk { box-shadow: 0 0 0 2px var(--ok), 0 0 12px rgba(94, 227, 140, .5); }
.dot { position: absolute; right: -2px; bottom: -2px; width: 12px; height: 12px; border-radius: 50%; border: 2px solid #23262e; }
.d-online, .d-ingame { background: var(--ok); } .d-away { background: var(--away); } .d-offline, .d-invisible { background: var(--off); }
.sdot { width: 8px; height: 8px; border-radius: 50%; flex: none; display: inline-block; }
.crown { position: absolute; top: -9px; left: 50%; transform: translateX(-50%); width: 18px; height: 13px; fill: #ffe08a; stroke: #3a2f12; stroke-width: 1; }
.badge { min-width: 20px; height: 20px; padding: 0 6px; border-radius: 999px; background: #fff; color: #0d0d0f; font-size: 11px; font-weight: 700; display: inline-grid; place-items: center; flex: none; }
.chip { display: inline-flex; align-items: center; gap: 5px; height: 22px; padding: 0 9px; border-radius: 999px; font-size: 10.5px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; white-space: nowrap; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .4); background: rgba(255, 255, 255, .08); flex: none; }
.chip.warn { box-shadow: inset 0 0 0 1px var(--warn); }
.ctag { display: inline-flex; align-items: center; height: 19px; padding: 0 7px; border-radius: 6px; font-size: 11px; font-weight: 700; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .55); background: rgba(255, 255, 255, .1); flex: none; }
.field { display: flex; align-items: center; gap: 8px; height: 42px; padding: 0 6px 0 16px; border-radius: 999px; background: rgba(255, 255, 255, .07); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .28); }
.field:focus-within { box-shadow: inset 0 0 0 1.4px rgba(255, 255, 255, .6); }
.field input { flex: 1; height: 100%; }
.field.box { height: auto; min-height: 42px; border-radius: 21px; align-items: flex-end; padding: 6px 6px 6px 16px; }
.field.box textarea { flex: 1; resize: none; max-height: 120px; line-height: 1.4; padding: 5px 0; align-self: center; }
.frow { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 16px; background: rgba(255, 255, 255, .05); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .12); }
.tg { position: relative; width: 46px; height: 28px; border-radius: 999px; flex: none; background: rgba(255, 255, 255, .14); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .42); transition: background .15s; }
.tg::after { content: ""; position: absolute; top: 4px; left: 4px; width: 20px; height: 20px; border-radius: 50%; background: rgba(255, 255, 255, .8); transition: transform .15s; }
.tg.on { background: rgba(255, 255, 255, .92); }
.tg.on::after { transform: translateX(18px); background: #1b1d24; }
.seg { display: inline-flex; gap: 2px; padding: 3px; border-radius: 999px; background: rgba(255, 255, 255, .07); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .22); flex: none; }
.seg button { height: 28px; padding: 0 12px; border-radius: 999px; font-size: 12.5px; font-weight: 600; color: rgba(255, 255, 255, .85); }
.seg button:hover { background: rgba(255, 255, 255, .1); }
.seg button.on { background: rgba(255, 255, 255, .92); color: #0d0d0f; }
.hr { height: 1px; background: rgba(255, 255, 255, .12); flex: none; }
.scroll { overflow-y: auto; overflow-x: hidden; min-height: 0; }
.empty { margin: auto; text-align: center; max-width: 360px; display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 20px; }
.menu { position: absolute; z-index: 30; border-radius: 22px; padding: 8px; display: flex; flex-direction: column; gap: 2px; background: rgba(14, 14, 19, .78); }
.mi { display: flex; align-items: center; gap: 10px; width: 100%; padding: 9px 14px; border-radius: 14px; font-size: 14px; }
.mi:hover:not(:disabled) { background: rgba(255, 255, 255, .08); }
.mi.on { background: rgba(255, 255, 255, .12); }

/* home */
.shade { position: fixed; inset: 0; pointer-events: none; background: linear-gradient(90deg, rgba(6, 7, 10, .5), rgba(6, 7, 10, 0) 52%), linear-gradient(to top, rgba(6, 7, 10, .45), rgba(6, 7, 10, 0) 38%); transition: opacity .6s; }
.hero { position: absolute; left: 56px; top: clamp(92px, 18vh, 150px); display: flex; flex-direction: column; align-items: flex-start; z-index: 3; }
.hero h1 { margin-top: 14px; font-size: clamp(104px, 19vh, 156px); line-height: .86; letter-spacing: -.02em; }
.hero .tagline { margin-top: 14px; font-size: clamp(28px, 4.4vh, 36px); line-height: 1; letter-spacing: -.03em; }
.hero .acts { position: relative; display: flex; gap: 12px; margin-top: clamp(20px, 3.6vh, 30px); }
.launch { height: 48px; padding: 0 30px; font-size: 18px; font-weight: 600; min-width: 190px; }
.launch.run { background: rgba(94, 227, 140, .22); color: #fff; box-shadow: inset 0 0 0 1.4px rgba(94, 227, 140, .8); }
.verbtn { height: 48px; padding: 0 20px; font-size: 16px; }
.updpill { margin-top: 12px; display: inline-flex; align-items: center; gap: 8px; height: 30px; padding: 0 14px; border-radius: 999px; font-size: 13px; }
.vmenu { width: 430px; padding: 6px; }
.vmenu .vrow { padding: 9px 12px; gap: 10px; }
.vmenu .vrow .sub { font-size: 12px; }
.low .menu, .low .sheet > div, .low .rxpick { background: rgba(16, 17, 23, .95); }
.vrow { display: flex; gap: 12px; align-items: flex-start; width: 100%; padding: 12px 14px; border-radius: 16px; }
.vrow:hover:not(:disabled) { background: rgba(255, 255, 255, .06); }
.vrow.on { background: rgba(255, 255, 255, .12); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .34); }
.rad { position: relative; width: 18px; height: 18px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .6); flex: none; margin-top: 1px; }
.vrow.on .rad::after { content: ""; position: absolute; inset: 4px; border-radius: 50%; background: #fff; }
.tiles { position: absolute; left: 16px; right: 16px; bottom: 16px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; height: 196px; }
.tile { border-radius: 26px; padding: 22px 26px; display: flex; flex-direction: column; gap: 10px; overflow: hidden; }
.hl { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 22px; }
.hl b { display: block; font-weight: 600; }
.hl span { display: block; font-size: 14px; color: rgba(255, 255, 255, .74); }

/* pages */
.panel { position: absolute; top: 84px; bottom: 24px; border-radius: 26px; }
.p-net { left: 50%; transform: translateX(-50%); width: min(1100px, calc(100vw - 140px)); border-radius: 28px; display: flex; flex-direction: column; }
.p-news { left: 50%; transform: translateX(-50%); width: min(1100px, calc(100vw - 140px)); display: flex; gap: 16px; }
.p-set { left: 50%; transform: translateX(-50%); width: min(1100px, calc(100vw - 140px)); padding: 22px; display: flex; flex-direction: column; gap: 10px; }
.setgrid { flex: 1; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; align-items: start; padding: 2px; }
.p-acc { right: clamp(40px, 7vw, 90px); width: 540px; padding: 22px; display: flex; flex-direction: column; gap: 12px; }
.p-title { font-size: 26px; letter-spacing: -.02em; padding: 0 4px 6px; }

/* news */
.nlist { width: 360px; flex: none; border-radius: 26px; padding: 16px; display: flex; flex-direction: column; gap: 12px; }
.nitem { display: flex; flex-direction: column; gap: 4px; width: 100%; padding: 12px 14px; border-radius: 16px; }
.nitem:hover { background: rgba(255, 255, 255, .06); }
.nitem.on { background: rgba(255, 255, 255, .14); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .36); }
.reader { flex: 1; min-width: 0; border-radius: 26px; padding: 30px 34px; display: flex; flex-direction: column; gap: 14px; }
.reader h2 { font-size: 42px; line-height: 1; letter-spacing: -.03em; }
.reader p { margin: 0; font-size: 15px; line-height: 1.6; color: rgba(255, 255, 255, .88); white-space: pre-line; }
.reader .lead { font-size: 17px; line-height: 1.55; color: rgba(255, 255, 255, .74); }
.reader .hl { padding: 16px 0; border-top: 1px solid rgba(255, 255, 255, .12); border-bottom: 1px solid rgba(255, 255, 255, .12); }
.grp { font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; margin-top: 6px; }
.g-new { color: #8be9a8; } .g-changed { color: #9fd0ff; } .g-fixed { color: #f5d38a; } .g-removed { color: #ffb4a8; }
.ul { margin: 0; padding-left: 18px; line-height: 1.7; color: rgba(255, 255, 255, .88); }

/* network */
.nhead { display: flex; align-items: center; gap: 12px; padding: 14px 16px 14px 18px; }
.nhead .side { width: 200px; display: flex; flex-direction: column; gap: 3px; }
.nbody { flex: 1; min-height: 0; display: flex; gap: 12px; padding: 0 16px 16px; }
.nside { width: 300px; padding: 8px; display: flex; flex-direction: column; gap: 2px; flex: none; }
.conv { flex: 1; min-width: 0; display: flex; flex-direction: column; padding: 12px 14px; gap: 10px; }
.chead { display: flex; align-items: center; gap: 11px; padding-bottom: 10px; border-bottom: 1px solid rgba(255, 255, 255, .12); }
.msgs { flex: 1; display: flex; flex-direction: column; gap: 4px; padding-right: 4px; }
.msg { display: flex; gap: 10px; align-items: flex-start; position: relative; }
.msg.mine { flex-direction: row-reverse; }
.msg .body { display: flex; flex-direction: column; gap: 4px; max-width: 72%; min-width: 0; }
.msg.mine .body { align-items: flex-end; }
.msg .who { display: flex; align-items: center; gap: 6px; font-size: 12.5px; }
.msg .who b { font-weight: 600; font-size: 13px; }
.msg.cont { margin-top: -1px; }
.msg.first { margin-top: 8px; }
.gutter { width: 30px; flex: none; }
.bub { padding: 7px 13px; border-radius: 4px 16px 16px 16px; background: rgba(255, 255, 255, .12); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .16); font-size: 14px; line-height: 1.45; white-space: pre-wrap; overflow-wrap: anywhere; -webkit-user-select: text; user-select: text; }
.mine .bub { border-radius: 16px 4px 16px 16px; background: rgba(255, 255, 255, .92); color: #0d0d0f; box-shadow: none; }
.bub.pend { opacity: .6; }
.bub.fail { box-shadow: inset 0 0 0 1px var(--err); }
.sys { align-self: center; font-size: 12px; color: rgba(255, 255, 255, .8); padding: 4px 12px; border-radius: 999px; background: rgba(255, 255, 255, .07); margin: 6px 0; text-align: center; }
.mtools { position: relative; align-self: center; display: flex; gap: 4px; opacity: 0; pointer-events: none; transition: opacity .12s; flex: none; }
.msg:hover .mtools, .mtools.open { opacity: 1; pointer-events: auto; }
.mbtn { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; color: rgba(255, 255, 255, .85); background: rgba(255, 255, 255, .08); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .22); }
.mbtn:hover { background: rgba(255, 255, 255, .18); color: #fff; }
.mbtn.wide { width: auto; padding: 0 10px; font-size: 12px; font-weight: 700; border-radius: 999px; }
.rxpick { position: absolute; bottom: calc(100% + 6px); display: flex; gap: 2px; padding: 4px; border-radius: 999px; z-index: 5; background: rgba(20, 21, 27, .9); }
.msg:not(.mine) .rxpick { left: 0; } .msg.mine .rxpick { right: 0; }
.rxpick button { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; font-size: 17px; }
.rxpick button:hover, .rxpick button.on { background: rgba(255, 255, 255, .16); }
.rxs { display: flex; gap: 4px; flex-wrap: wrap; }
.rx { display: inline-flex; align-items: center; gap: 4px; height: 24px; padding: 0 9px; border-radius: 999px; font-size: 12px; font-weight: 700; background: rgba(255, 255, 255, .1); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .28); }
.rx.on { background: rgba(255, 255, 255, .85); color: #0d0d0f; }
img.pic { display: block; border-radius: 14px; max-width: 240px; max-height: 180px; min-width: 60px; min-height: 40px; object-fit: cover; background: rgba(255, 255, 255, .08); cursor: zoom-in; }
.pichid { padding: 14px 16px; border-radius: 14px; background: rgba(255, 255, 255, .08); font-size: 13px; display: flex; gap: 10px; align-items: center; }
.vnote { display: flex; align-items: center; gap: 10px; padding: 6px 12px 6px 6px; border-radius: 999px; background: rgba(255, 255, 255, .12); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .16); }
.mine .vnote { background: rgba(255, 255, 255, .92); color: #0d0d0f; }
.wave { display: flex; align-items: center; gap: 2px; height: 26px; cursor: pointer; }
.wave i { display: block; width: 3px; border-radius: 2px; background: currentColor; opacity: .45; }
.wave i.p { opacity: 1; }
.invite { padding: 12px; display: flex; align-items: center; gap: 12px; width: 330px; }
.typing { font-size: 12px; color: rgba(255, 255, 255, .7); height: 16px; padding-left: 4px; }
.callbar { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 16px; background: rgba(94, 227, 140, .12); box-shadow: inset 0 0 0 1px rgba(94, 227, 140, .45); }
.callbar.ring { background: rgba(255, 255, 255, .08); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .3); }
.rec { display: flex; align-items: center; gap: 10px; height: 42px; padding: 0 6px 0 14px; border-radius: 999px; background: rgba(255, 110, 100, .14); box-shadow: inset 0 0 0 1px rgba(255, 140, 130, .55); }
.recdot { width: 10px; height: 10px; border-radius: 50%; background: #ff6b5e; animation: pulse 1.1s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: .35; } }
.lvl { display: flex; align-items: center; gap: 2px; height: 22px; flex: 1; overflow: hidden; }
.lvl i { width: 3px; border-radius: 2px; background: #fff; flex: none; }
.viewer { position: fixed; inset: 0; z-index: 60; background: rgba(5, 6, 9, .82); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; }
.viewer img { max-width: 86vw; max-height: 78vh; border-radius: 12px; }
.sheet { position: fixed; inset: 0; z-index: 50; background: rgba(5, 6, 9, .5); display: grid; place-items: center; }
.sheet > div { width: 420px; max-height: 80vh; border-radius: 24px; padding: 20px; display: flex; flex-direction: column; gap: 12px; }

/* account, sign-in, gate */
.signin { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 460px; border-radius: 28px; padding: 30px 34px; display: flex; flex-direction: column; gap: 14px; text-align: center; }
.signin .field { text-align: left; }
.code { letter-spacing: .5em; font: 600 22px var(--mono); text-align: center; }
.dob { display: grid; grid-template-columns: 1fr 1fr 1.5fr; gap: 10px; }
.dob .field { padding: 0 14px; }
.dob input { text-align: center; }
.gate { position: fixed; inset: 0; z-index: 15; display: grid; place-items: center; background: rgba(6, 7, 10, .35); }
.gate > div { width: 520px; border-radius: 28px; padding: 34px; display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center; }
.credits { columns: 2; column-gap: 24px; font-size: 13px; line-height: 1.5; }
.credits div { break-inside: avoid; margin-bottom: 10px; }

/* toasts */
.toasts { position: fixed; right: 16px; bottom: 16px; z-index: 70; display: flex; flex-direction: column-reverse; gap: 10px; width: 360px; pointer-events: none; }
.toast { pointer-events: auto; border-radius: 20px; padding: 14px 16px; display: flex; flex-direction: column; gap: 6px; animation: rise .25s ease; background: rgba(18, 19, 25, .82); }
.toast.error { box-shadow: 0 0 0 1px rgba(255, 150, 140, .55), 0 5px 18px rgba(0, 0, 0, .2); }
.toast.warn { box-shadow: 0 0 0 1px rgba(247, 198, 79, .55), 0 5px 18px rgba(0, 0, 0, .2); }
.toast .acts { display: flex; gap: 8px; justify-content: flex-end; margin-top: 4px; }
@keyframes rise { from { transform: translateY(10px); opacity: 0; } }

@media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important; } }

/* 0.1.80 tags you own: the picker rows on Network > Profile */
.trow { display: flex; align-items: center; gap: 11px; min-height: 50px; padding: 8px 12px; border: 0; border-radius: 14px; background: rgba(255, 255, 255, .02); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1); color: inherit; font: inherit; cursor: pointer; text-align: left; }
.trow:hover { background: rgba(255, 255, 255, .07); }
.trow.on { background: rgba(255, 255, 255, .09); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .32); }
.trow .dot { flex: none; width: 18px; height: 18px; border-radius: 50%; box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .45); display: grid; place-items: center; }
.trow.on .dot { box-shadow: inset 0 0 0 2px #fff; }
.trow.on .dot::after { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #fff; }
.trow:focus-visible { outline: 2px solid #9bd8ff; outline-offset: 2px; }

/* 0.1.81 moderation + support */
.pips { display: inline-flex; gap: 4px; }
.pips i { width: 22px; height: 7px; border-radius: 4px; background: rgba(255, 255, 255, .16); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .22); }
.pips i.on { background: var(--warn); box-shadow: none; }
.chip.err { color: var(--err); box-shadow: inset 0 0 0 1px rgba(255, 150, 140, .7); background: rgba(255, 120, 110, .12); }
.chip.ok { color: #8be9a8; box-shadow: inset 0 0 0 1px rgba(94, 227, 140, .7); background: rgba(94, 227, 140, .1); }
.chip.warn { color: var(--warn); background: rgba(247, 198, 79, .1); }
.btn.amb { background: rgba(247, 198, 79, .18); box-shadow: inset 0 0 0 1px rgba(247, 198, 79, .7); }
.mbtn.red { background: rgba(209, 51, 56, .9); color: #fff; box-shadow: inset 0 0 0 1px rgb(255, 153, 156); }
.mbtn.red:hover { background: rgb(222, 64, 69); }
.mtools .mbtn.red { order: 3; }
.frow.col { flex-direction: column; align-items: stretch; gap: 6px; }
.frow.amber { background: rgba(247, 198, 79, .07); box-shadow: inset 0 0 0 1px rgba(247, 198, 79, .4); }
.pills { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.pill { height: 28px; padding: 0 11px; border-radius: 999px; font-size: 12.5px; font-weight: 600; background: rgba(255, 255, 255, .08); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .22); color: rgba(255, 255, 255, .9); }
.pill:hover { background: rgba(255, 255, 255, .14); }
.pill.on { background: rgba(255, 255, 255, .92); color: #0d0d0f; box-shadow: none; }
.pill.red:not(.on) { color: var(--err); box-shadow: inset 0 0 0 1px rgba(255, 150, 140, .5); }
.actform { display: flex; flex-direction: column; gap: 8px; padding: 10px 12px; border-radius: 16px; background: rgba(255, 255, 255, .04); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1); }
.actform.compact { margin: 2px 4px 8px; }
.actform .field { height: 36px; }
.modmenu { width: 380px; max-height: min(560px, calc(100vh - 40px)); overflow-y: auto; padding: 10px; }
.modmenu .mi { font-size: 13.5px; }
.pcard { gap: 12px; min-height: 0; }
.pgrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
@media (max-width: 1180px) { .pgrid { grid-template-columns: minmax(0, 1fr); } }
.hist { display: flex; flex-direction: column; max-height: 260px; min-height: 60px; padding-right: 4px; }
.hrow { display: grid; grid-template-columns: 70px 150px minmax(0, 1fr) 110px; gap: 10px; align-items: center; padding: 8px 4px; border-bottom: 1px solid rgba(255, 255, 255, .08); font-size: 13px; }
.lrow { display: grid; grid-template-columns: 130px minmax(0, 1fr) 160px minmax(0, 1.2fr) 110px; gap: 10px; align-items: center; padding: 8px 4px; border-bottom: 1px solid rgba(255, 255, 255, .08); font-size: 13px; }
.lrow.h, .hrow.h { font: 500 11px var(--mono); letter-spacing: .1em; text-transform: uppercase; color: rgba(255, 255, 255, .5); }
.ctx { padding: 12px 14px; display: flex; flex-direction: column; gap: 6px; }
.ctxline { font-size: 14px; color: rgba(255, 255, 255, .74); line-height: 1.45; }
.ctxline b { color: #fff; font-weight: 600; margin-right: 4px; }
.ctxline.this { color: #fff; padding: 7px 10px; border-radius: 12px; background: rgba(247, 198, 79, .1); box-shadow: inset 0 0 0 1px rgba(247, 198, 79, .5); }
.mutedbar { display: flex; align-items: center; gap: 10px; min-height: 44px; padding: 6px 6px 6px 16px; border-radius: 999px; background: rgba(207, 227, 255, .08); box-shadow: inset 0 0 0 1px rgba(207, 227, 255, .3); font-size: 13.5px; }
.selbox { height: 30px; padding: 0 10px; border-radius: 999px; background: rgba(255, 255, 255, .08); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .22); color: #fff; font: 600 12px var(--ui); border: 0; outline: 0; }
.selbox option { color: #0d0d0f; }
.av.tint-warn { color: var(--warn); background: rgba(247, 198, 79, .14); box-shadow: inset 0 0 0 1px rgba(247, 198, 79, .75); }
.av.tint-err { color: var(--err); background: rgba(255, 120, 110, .14); box-shadow: inset 0 0 0 1px rgba(255, 150, 140, .7); }
.warncard { width: 420px; border-radius: 26px; padding: 24px; display: flex; flex-direction: column; gap: 10px; background: rgba(14, 14, 19, .78); }
.sanction { width: min(820px, calc(100vw - 80px)); border-radius: 28px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); overflow: hidden; background: rgba(14, 14, 19, .6); }
.sanction > .side { padding: 30px; display: flex; flex-direction: column; gap: 12px; border-right: 1px solid rgba(255, 255, 255, .12); }
.sanction .appeal { padding: 30px; display: flex; flex-direction: column; gap: 12px; min-height: 420px; }
.gate.ban { z-index: 40; background: rgba(6, 7, 10, .45); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.gate.inpanel { position: relative; inset: auto; flex: 1; z-index: 1; background: none; padding: 0 16px 16px; }
.gate.inpanel .sanction { width: 100%; max-width: 900px; }
.bubrow { display: flex; flex-direction: column; gap: 4px; align-items: flex-start; }
.bubrow.mine { align-items: flex-end; }
.bubrow.mine .bub { background: rgba(255, 255, 255, .92); color: #0d0d0f; }
.gate > .sanction { display: grid; width: min(820px, calc(100vw - 80px)); padding: 0; gap: 0; align-items: stretch; text-align: left; }
.hrow > :last-child, .lrow > :last-child { justify-self: start; }

/* paneclient.com/network: the launcher's stylesheet (style.css) and these website bits: the site's bar, touch
   screens, and phones (one pane at a time, the keyboard, the browser's bars). Same look, no new colours. */
@font-face { font-family: 'PANE Selawik'; src: url(/assets/fonts/selawik.woff2) format('woff2'); font-weight: 200 700; font-display: swap; }
:root { --ui: 'Segoe UI Variable Text', 'Segoe UI', 'PANE Selawik', system-ui, sans-serif; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
a.pb, a.btn, a.brand { text-decoration: none; color: inherit; }
a.pb { color: rgba(255, 255, 255, .9); }
a.pb.solid { color: #0d0d0f; }
.msgs .bub, .thread .bub { -webkit-user-select: text; user-select: text; }
.nav .ico { display: none; }
.mback, .mopen, .mhead { display: none !important; }  /* phones only */
.mbar { align-self: stretch; display: flex; }

/* touch screens: everything you tap is at least 40 px */
@media (pointer: coarse) {
  .btn, .btn.sm, .pb, .tab, .selbox { height: 40px; }
  .ibtn, .ibtn.sm, .mbtn, .rxpick button { width: 40px; height: 40px; }
  .mbtn.wide { width: auto; }
  .seg button { height: 38px; }
  .pill { height: 40px; padding: 0 14px; }
  .mi { min-height: 44px; }
  .row { min-height: 48px; }
  .link { min-height: 40px; display: inline-flex; align-items: center; }
  .tg::before { content: ""; position: absolute; inset: -8px -4px; }
  .rec .btn { height: 36px; }
  .wave { height: 36px; }
}
/* phones and tablets: iOS zooms into fields under 16 px */
@media (max-width: 860px), (pointer: coarse) {
  input, textarea, select, .selbox { font-size: 16px !important; }
}
/* no hover: a tap on a message shows its tools (chat.jsx) */
@media (hover: none) {
  .msg:hover .mtools { opacity: 0; pointer-events: none; }
  .msg.tap .mtools, .msg .mtools.open { opacity: 1; pointer-events: auto; }
}

/* ---------------------------------------------------------------- phones and small tablets */
@media (max-width: 860px) {
  .top { top: calc(var(--vvt, 0px) + 8px); padding: 0 8px; }
  .nav { position: relative; gap: 4px; padding: 6px; max-width: 100%; }
  .nav .pb:not(.here):not(.acct):not(.app):not(.call) { display: none; }
  .nav .navsep, .nav .brand b, .nav .acct .lbl { display: none; }
  .nav .brand { padding: 0 6px; }
  .nav .pb { padding: 0 12px; gap: 6px; }
  .nav .pb.acct { padding: 0 4px; }
  .nav > span { position: static !important; }
  .callmenu { top: calc(100% + 8px) !important; left: 0 !important; right: 0 !important; width: auto !important; }

  .p-net { left: 8px; right: 8px; width: auto; transform: none; top: calc(var(--vvt, 0px) + 64px); bottom: auto; height: calc(var(--vvh, 100dvh) - 72px); border-radius: 22px; }
  .nhead { padding: 8px; gap: 8px; }
  .nhead > .av, .nhead > .side { display: none; }
  .nhead .tabs { margin: 0 !important; flex: 1; min-width: 0; overflow-x: auto; scrollbar-width: none; }
  .nhead .tabs::-webkit-scrollbar { display: none; }
  .tab { flex: none; padding: 0 11px; gap: 6px; font-size: 14px; }
  .nbody { padding: 0 8px 8px; gap: 8px; flex-direction: column; }
  .p-net:has(.m2-d) .nhead { display: none; }      /* a chat, a ticket...: the whole panel */
  .p-net:has(.m2-d) .nbody { padding-top: 8px; }

  /* two panes: the list or the detail (ui.jsx mpane / Back) */
  .m2:not(.m2-d) .m2d, .m2.m2-d .m2l { display: none !important; }
  .m2 .nside { width: auto; flex: 1; min-height: 0; }
  .m2 .conv, .m2 .fprof { flex: 1; min-height: 0; overflow-y: auto; }
  .mback { display: grid !important; }
  .mopen { display: flex !important; }
  .mhead { display: block !important; max-width: 50%; }
  .conv { padding: 10px; gap: 8px; }
  .conv .chead { flex-wrap: wrap; row-gap: 8px; }
  .conv .chead { gap: 8px; }
  .conv .chead > .grow { min-width: 40%; }
  .chead .ghint { display: none; }

  /* one pane (Profile, Log): the page scrolls */
  .nbody:not(.m2) { overflow-y: auto; }
  .nbody:not(.m2) > .card:not(.mlog) { flex: none !important; width: auto !important; overflow: visible; }
  .mlog { flex: 1; min-height: 0; }
  .mlog .scroll { overflow-x: auto; }
  .mlog .lrow { min-width: 600px; }

  /* rows and toolbars: their own lines, nothing on top of anything */
  .frow { flex-wrap: wrap; }
  .frow > .grow { min-width: 55%; }
  .seg { display: flex; max-width: 100%; overflow-x: auto; scrollbar-width: none; }
  .seg::-webkit-scrollbar { display: none; }
  .seg button { flex: none; white-space: nowrap; }
  .fadd { flex-wrap: wrap; }
  .fadd > .field, .fadd > .seg { flex: 1 1 100%; }
  .fadd > .seg button { flex: 1 0 auto; }
  .field input { min-width: 0; }
  .fprof { width: auto !important; padding: 16px !important; }
  .row .tools { flex-wrap: wrap; justify-content: flex-end; }

  /* party: the party (switcher, call, where, members) or its chat */
  .ptab.m2:not(.m2-d) { overflow-y: auto; }
  .ptab.m2:not(.m2-d) > * { flex: none !important; }
  .ptab .prow { flex-direction: column; }
  .ptab.m2:not(.m2-d) .prow { flex: none !important; }
  .ptab .pcol { flex: none; }
  .ptab.m2-d .pcol { flex: 1; }
  .ptab .pmem { width: auto !important; order: 2; }
  .ptab .pmem > .scroll { flex: none !important; overflow: visible; }
  .pinfo { flex-wrap: wrap; }
  .mopen { gap: 10px; }

  /* moderation */
  .pcard .chead { flex-wrap: wrap; }
  .hrow { grid-template-columns: auto minmax(0, 1fr); grid-template-areas: "k r" "d b"; row-gap: 4px; }
  .hrow > :nth-child(1) { grid-area: d; }
  .hrow > :nth-child(2) { grid-area: k; }
  .hrow > :nth-child(3) { grid-area: r; }
  .hrow > :nth-child(4) { grid-area: b; justify-self: start; }
  .modmenu { width: calc(100vw - 32px); }
  .actform .field { height: 44px; }

  /* messages: wider bubbles; the reaction picker sits over the composer, inside the chat */
  .msg .body { max-width: 82%; }
  .conv { position: relative; }
  .msg, .mtools { position: static; }
  .msg .rxpick { position: absolute; left: 8px !important; right: 8px !important; bottom: 64px; justify-content: space-between; flex-wrap: wrap; border-radius: 22px; }
  .rec { gap: 8px; padding: 0 4px 0 12px; }
  .rec .sub { display: none; }
  .rec .lvl { flex: 1; min-width: 0; overflow: hidden; }

  .sheet > div { width: calc(100vw - 24px); max-height: calc(var(--vvh, 100dvh) - 40px); overflow-y: auto; }
  .viewer img { max-width: 94vw; max-height: 70vh; }
  .gate > div, .gate > .sanction { width: calc(100vw - 24px); }
  .sanction { grid-template-columns: minmax(0, 1fr) !important; max-height: calc(var(--vvh, 100dvh) - 90px); overflow-y: auto; }
  .toasts { top: calc(var(--vvt, 0px) + 64px); bottom: auto; left: 8px; right: 8px; width: auto; flex-direction: column; }
}
@media (max-width: 420px) {
  .nav .pb.app .lbl { display: none; }
  .nav .pb.app .ico { display: block; }
  .nav .pb { padding: 0 10px; }
}
