:root {
  box-sizing: border-box;
  padding-top: env(safe-area-inset-top, 0px);
  padding-bottom: env(safe-area-inset-bottom, 0px);
  --accent: #f9c6ff;
}

html, body {
  height: 100%;
  margin: 0;
}

body {
  background: #000;
  color: #e8e8e8;
  font-family: "Inter", system-ui, "Segoe UI", Arial, sans-serif;
  overflow-x: hidden;
}

button,
input,
select,
textarea {
  font-family: inherit;
}

.logo {
  font-weight: 300;
  letter-spacing: -0.02em;
  line-height: 1;
  margin: 0;
}

.logo span {
  color: var(--accent);
}

#loading {
  position: fixed;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  transition: opacity .7s;
}

#loading .logo {
  font-size: clamp(64px, 14vw, 200px);
  animation: fade 1.2s ease-out both;
}

.wait {
  margin-top: 2.2rem;
  font-weight: 300;
  font-size: clamp(16px, 2vw, 22px);
  color: #d9d6e6;
  animation: fade 1.2s .4s ease-out both;
}

.loader {
  position: relative;
  width: 28px;
  height: 28px;
  margin-top: 1rem;
  animation: spin 1.4s linear infinite;
}

.loader::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: 4px;
  height: 4px;
  margin-left: -2px;
  border-radius: 50%;
  background: #fff;
  animation: pulse 1.4s ease-in-out infinite;
}

body.ready #loading {
  opacity: 0;
  pointer-events: none;
}

#gate {
  position: fixed;
  inset: 0;
  display: flex;
  flex-direction: column;
  opacity: 0;
  visibility: hidden;
  transition: opacity .9s .3s;
  background: radial-gradient(ellipse 60% 50% at 50% 45%, rgba(249,198,255,.13), transparent 70%), #050505;
  overflow-y: auto;
}

body.ready #gate {
  opacity: 1;
  visibility: visible;
}

.top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 22px clamp(20px, 5vw, 56px);
}

.top .logo {
  font-size: 28px;
}

.pills {
  display: flex;
  gap: 8px;
}

.pill {
  color: #ddd;
  font-size: 13px;
  padding: 7px 16px;
  border: 1px solid #2c2c2c;
  border-radius: 999px;
  background: none;
  font-family: inherit;
  cursor: pointer;
  transition: .2s;
}

.pill:hover, .pill.on {
  border-color: var(--accent);
  color: var(--accent);
}

.center {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.card {
  width: min(400px, 100%);
  padding: 38px 32px 30px;
  border: 1px solid #262626;
  border-radius: 22px;
  background: rgba(255,255,255,.03);
  backdrop-filter: blur(6px);
}

.tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: #111;
  border: 1px solid #262626;
  border-radius: 999px;
  padding: 4px;
  margin-bottom: 26px;
}

.tab {
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  padding: 9px;
  border: 0;
  border-radius: 999px;
  background: none;
  color: #999;
  cursor: pointer;
  transition: .25s;
}

.tab.on {
  color: #111;
}

h2 {
  margin: 0 0 6px;
  font-weight: 300;
  font-size: 28px;
  text-align: center;
}

.sub {
  margin: 0 0 22px;
  text-align: center;
  color: #a0a0a0;
  font-size: 13.5px;
}

label {
  display: block;
  margin-bottom: 14px;
  font-size: 12.5px;
  color: #b5b5b5;
}

input {
  width: 100%;
  box-sizing: border-box;
  margin-top: 6px;
  padding: 12px 14px;
  font: inherit;
  font-size: 14px;
  color: #fff;
  background: #0d0d0d;
  border: 1px solid #2c2c2c;
  border-radius: 12px;
  outline: none;
  transition: border-color .2s;
}

input:focus {
  border-color: var(--accent);
}

.reg {
  display: none;
}

.card.register .reg {
  display: block;
}

.submit {
  width: 100%;
  margin-top: 8px;
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  padding: 12px;
  border-radius: 999px;
  cursor: pointer;
  border: 0;
  background: var(--accent);
  color: #111;
  transition: .2s;
}

.submit:hover {
  transform: translateY(-1px);
  opacity: .92;
}

.note {
  min-height: 18px;
  margin-top: 14px;
  text-align: center;
  font-size: 12.5px;
  color: var(--accent);
}

.switch {
  margin-top: 6px;
  text-align: center;
  font-size: 13px;
  color: #8d8d8d;
}

.switch a {
  color: var(--accent);
  cursor: pointer;
}

.bottom {
  text-align: center;
  padding: 18px;
  font-size: 12px;
  color: #666;
}

body.in #gate {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

#app {
  position: fixed;
  inset: 0;
  display: none;
  flex-direction: column;
  overflow-y: auto;
  background: radial-gradient(ellipse 70% 40% at 50% 0%, rgba(249,198,255,.10), transparent 70%), #050505;
  animation: fade .7s ease-out;
}

body.in #app {
  display: flex;
}

.abar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 28px;
  padding: 16px clamp(16px, 4vw, 48px);
  border-bottom: 1px solid #1d1d1d;
}

.abar .logo {
  font-size: 26px;
}

.atabs {
  display: flex;
  gap: 6px;
  flex: 1;
  overflow-x: auto;
}

.at {
  font: 600 13.5px inherit;
  font-family: inherit;
  color: #999;
  background: none;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 8px 18px;
  cursor: pointer;
  transition: .2s;
  white-space: nowrap;
}

.at:hover {
  color: #fff;
}

.at.on {
  color: var(--accent);
  border-color: var(--accent);
  background: rgba(249,198,255,.07);
}

.who {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: #bbb;
}

.who b {
  color: var(--accent);
  font-weight: 600;
}

#view {
  width: min(920px, 100%);
  box-sizing: border-box;
  margin: 0 auto;
  padding: 28px clamp(16px, 4vw, 32px) 48px;
}

.h {
  margin: 0 0 4px;
  font-weight: 300;
  font-size: 30px;
}

.lead {
  margin: 0 0 22px;
  color: #8f8f8f;
  font-size: 14px;
}

.panel {
  border: 1px solid #242424;
  border-radius: 16px;
  background: rgba(255,255,255,.03);
  padding: 18px 20px;
  margin-bottom: 14px;
}

.cats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 12px;
  margin-bottom: 22px;
}

.cat {
  border: 1px solid #242424;
  border-radius: 14px;
  padding: 14px 16px;
  background: rgba(255,255,255,.03);
}

.cat b {
  display: block;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 2px;
}

.cat small, .meta {
  color: #858585;
  font-size: 12.5px;
}

.thread {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 13px 4px;
  border-top: 1px solid #1e1e1e;
}

.thread:first-child {
  border-top: 0;
}

.thread .t {
  font-size: 14.5px;
}

.tag {
  font-size: 11px;
  color: var(--accent);
  border: 1px solid rgba(249,198,255,.4);
  border-radius: 999px;
  padding: 1px 9px;
  margin-left: 8px;
}

.row2 {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.row2 input, .row2 select, textarea.in {
  flex: 1;
  min-width: 160px;
  margin: 0;
}

select, textarea.in {
  font: inherit;
  font-size: 14px;
  color: #fff;
  background: #0d0d0d;
  border: 1px solid #2c2c2c;
  border-radius: 12px;
  padding: 12px 14px;
  outline: none;
  box-sizing: border-box;
}

textarea.in {
  width: 100%;
  min-height: 90px;
  margin: 10px 0;
  resize: vertical;
}

.btn2 {
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  padding: 11px 22px;
  border-radius: 999px;
  border: 0;
  background: var(--accent);
  color: #111;
  cursor: pointer;
  transition: .2s;
}

.btn2:hover {
  transform: translateY(-1px);
  opacity: .92;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 14px;
}

.item {
  border: 1px solid #242424;
  border-radius: 16px;
  padding: 20px;
  background: rgba(255,255,255,.03);
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.item b {
  font-weight: 600;
  font-size: 16px;
}

.price {
  color: var(--accent);
  font-size: 22px;
  font-weight: 300;
  margin: 6px 0 10px;
}

.stats {
  display: flex;
  gap: 28px;
  margin: 12px 0 20px;
}

.stats div {
  font-size: 12.5px;
  color: #8a8a8a;
}

.stats strong {
  display: block;
  color: #fff;
  font-size: 26px;
  font-weight: 300;
}

.status {
  font-size: 11.5px;
  color: #111;
  background: var(--accent);
  border-radius: 999px;
  padding: 2px 11px;
  height: fit-content;
  font-weight: 600;
}

#view {
  width: min(1100px, 100%);
}

.fx {
  animation: fade .5s ease-out both;
}

.fgrid {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 18px;
  align-items: start;
}

@media (max-width: 780px) {
  .fgrid {
    grid-template-columns: 1fr;
  }
}

.box {
  border: 1px solid #242424;
  border-radius: 16px;
  background: rgba(255,255,255,.03);
  overflow: hidden;
  margin-bottom: 16px;
}

.ph {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 13px 18px;
  border-bottom: 1px solid #202020;
  font-size: 13px;
  font-weight: 600;
  background: rgba(255,255,255,.02);
}

.ph::before {
  content: "";
  width: 3px;
  height: 13px;
  border-radius: 2px;
  background: var(--accent);
}

.crow {
  display: grid;
  grid-template-columns: 44px 1fr auto;
  gap: 14px;
  align-items: center;
  padding: 14px 18px;
  border-top: 1px solid #1e1e1e;
  position: relative;
  cursor: pointer;
  transition: background .25s, transform .25s;
  animation: rise .5s ease-out both;
  animation-delay: calc(var(--i) * 70ms);
}

.crow:first-of-type {
  border-top: 0;
}

.crow::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--accent);
  transform: scaleY(0);
  transition: transform .25s;
}

.crow:hover {
  background: rgba(249,198,255,.05);
  transform: translateX(3px);
}

.crow:hover::before {
  transform: scaleY(1);
}

.ico {
  width: 40px;
  height: 40px;
  border: 1px solid #2a2a2a;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: #0d0d0d;
}

.ico svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: #777;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.crow .cn {
  font-size: 14.5px;
  font-weight: 600;
  color: var(--accent);
}

.crow small {
  display: block;
  color: #777;
  font-size: 12px;
  margin-top: 2px;
}

.crow .cc {
  color: #888;
  font-size: 12.5px;
}

.crow.lock {
  cursor: not-allowed;
}

.crow.lock:hover {
  transform: none;
  background: rgba(255,255,255,.02);
}

.crow.lock .cn {
  color: #555;
}

.crow.lock .cc {
  color: #444;
}

.tip {
  min-height: 18px;
  font-size: 12.5px;
  color: var(--accent);
  margin: 0 0 10px;
  transition: opacity .3s;
}

.srow {
  display: flex;
  justify-content: space-between;
  padding: 9px 18px;
  font-size: 13px;
  color: #999;
  border-top: 1px solid #1c1c1c;
}

.srow:first-of-type {
  border-top: 0;
}

.srow b {
  color: #fff;
  font-weight: 600;
}

.dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  margin-right: 8px;
  background: var(--accent);
}

.dot.away {
  background: #555;
}

.pp {
  padding: 11px 18px;
  border-top: 1px solid #1c1c1c;
  font-size: 13px;
  color: #aaa;
}

.pp:first-of-type {
  border-top: 0;
}

.pp b {
  color: var(--accent);
  font-weight: 600;
}

.back {
  background: none;
  border: 0;
  color: var(--accent);
  font: inherit;
  font-size: 13px;
  cursor: pointer;
  padding: 0 0 14px;
  transition: transform .2s;
}

.back:hover {
  transform: translateX(-3px);
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.chk {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 2px 0 14px;
  font-size: 13px;
  color: #b5b5b5;
  cursor: pointer;
}

.chk input {
  width: 16px;
  height: 16px;
  margin: 0;
  padding: 0;
  accent-color: var(--accent);
  cursor: pointer;
}

.chk.reg {
  display: none;
}

.card.register .chk.reg {
  display: flex;
}

.card.register .log {
  display: none;
}

.shl {
  max-height: 220px;
  overflow-y: auto;
  padding: 6px 0;
}

.sh {
  display: flex;
  gap: 10px;
  align-items: baseline;
  padding: 8px 18px;
  font-size: 13px;
  color: #ccc;
  animation: fade .35s ease-out both;
}

.sh b {
  color: var(--accent);
  font-weight: 600;
  flex: none;
}

.sh span {
  word-break: break-word;
}

.sh small {
  margin-left: auto;
  color: #666;
  font-size: 11.5px;
  flex: none;
}

.shin {
  display: flex;
  gap: 10px;
  padding: 12px 18px;
  border-top: 1px solid #202020;
}

.shin input {
  flex: 1;
  margin: 0;
  min-width: 0;
}

.who {
  position: relative;
}

.chip {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 5px 16px 5px 5px;
  border: 1px solid #2c2c2c;
  border-radius: 14px;
  background: rgba(255,255,255,.03);
  color: #fff;
  font: inherit;
  cursor: pointer;
  transition: border-color .2s;
}

.chip:hover {
  border-color: var(--accent);
}

.chip b {
  color: #fff;
  font-weight: 600;
  font-size: 13.5px;
  max-width: 140px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.av, .pav {
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--accent), #b98cff) center / cover no-repeat;
  color: #111;
  font-weight: 600;
  flex: none;
}

.av {
  width: 34px;
  height: 34px;
  font-size: 14px;
}

.ib {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border: 1px solid #2c2c2c;
  border-radius: 12px;
  background: rgba(255,255,255,.03);
  cursor: pointer;
  transition: .2s;
}

.ib svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: #aaa;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: stroke .2s;
}

.ib:hover {
  border-color: var(--accent);
}

.ib:hover svg {
  stroke: var(--accent);
}

.who {
  gap: 8px !important;
}

.pop {
  position: absolute;
  right: 0;
  top: calc(100% + 10px);
  width: 270px;
  box-sizing: border-box;
  padding: 18px;
  border: 1px solid #2a2a2a;
  border-radius: 16px;
  background: #0a0a0a;
  box-shadow: 0 18px 40px rgba(0,0,0,.6);
  z-index: 20;
  opacity: 0;
  transform: translateY(-6px);
  pointer-events: none;
  transition: opacity .2s, transform .2s;
}

.pop.open {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}

.pt {
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 12px;
}

.pnav {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 4px;
  padding: 3px;
  margin-bottom: 14px;
  border: 1px solid #222;
  border-radius: 10px;
  background: #0d0d0d;
}

.pnav button {
  border: 0;
  border-radius: 7px;
  padding: 7px 3px;
  background: transparent;
  color: #777;
  font: inherit;
  font-size: 10px;
  cursor: pointer;
}

.pnav button:hover, .pnav button.pon {
  background: #1b1b1b;
  color: #fff;
}

.pview { display: none; }
.pview.active { display: block; }

.pmsg {
  min-height: 17px;
  margin-top: 8px;
  color: var(--accent);
  font-size: 11px;
  text-align: center;
}

.pinfo {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 9px 0;
  border-bottom: 1px solid #1d1d1d;
  font-size: 11px;
}

.pinfo span { color: #777; }
.pinfo b {
  max-width: 145px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: #ddd;
  font-weight: 500;
}

.psubtitle {
  color: #aaa;
  font-size: 11px;
  margin-bottom: 7px;
}

.plist {
  max-height: 190px;
  overflow: auto;
}

.plistrow {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 9px 0;
  border-bottom: 1px solid #1d1d1d;
  font-size: 10.5px;
}

.plistrow div { min-width: 0; }
.plistrow b {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: #ddd;
  font-weight: 500;
}

.plistrow small { display: block; margin-top: 3px; color: #666; }
.plistrow > span { color: #888; white-space: nowrap; }
.pempty { padding: 16px 4px; color: #666; font-size: 11px; text-align: center; }

.pav {
  width: 76px;
  height: 76px;
  margin: 0 auto 12px;
  font-size: 30px;
}

.prow {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin-bottom: 14px;
}

.pop label {
  display: block;
  font-size: 12.5px;
  color: #b5b5b5;
  margin-bottom: 12px;
}

.seg, .tabs {
  position: relative;
}

.seg {
  display: grid;
  grid-template-columns: 1fr 1fr;
  padding: 4px;
  border: 1px solid #262626;
  border-radius: 999px;
  background: #0c0c0c;
}

.sg {
  position: relative;
  z-index: 1;
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  padding: 8px 22px;
  border: 0;
  background: none;
  color: #8a8a8a;
  cursor: pointer;
  transition: color .3s;
}

.sg:hover {
  color: #fff;
}

.sg.on, .sg.on:hover {
  color: #111;
}

.tab {
  position: relative;
  z-index: 1;
}

.ind {
  position: absolute;
  top: 4px;
  bottom: 4px;
  left: 4px;
  width: calc(50% - 4px);
  border-radius: 999px;
  background: var(--accent);
  box-shadow: 0 0 18px rgba(249,198,255,.25);
  transition: transform .35s cubic-bezier(.4,0,.2,1);
}

[data-on="register"] > .ind {
  transform: translateX(100%);
}

.gopts {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  visibility: hidden;
  transition: max-height .35s ease, opacity .3s, visibility .35s;
}

.gopts.open {
  max-height: 130px;
  opacity: 1;
  visibility: visible;
}

.gopts input[type=text] {
  margin: 4px 0 10px;
}

.arow {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 12px 18px;
  border-top: 1px solid #1e1e1e;
  font-size: 13.5px;
  color: #ddd;
}

.ph + .arow {
  border-top: 0;
}

.arow small {
  color: #777;
  margin-left: 8px;
  font-size: 12px;
}

.mini {
  font-family: inherit;
  font-size: 12px;
  padding: 5px 13px;
  border: 1px solid #2c2c2c;
  border-radius: 999px;
  background: none;
  color: #ccc;
  cursor: pointer;
  transition: .2s;
}

.mini:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.mini.del:hover {
  border-color: #ff7a8a;
  color: #ff7a8a;
}

.acts {
  display: flex;
  gap: 6px;
  flex: none;
}

.status.closed {
  background: #2a2a2a;
  color: #999;
}

.big {
  display: block;
  font-size: 26px;
  font-weight: 300;
  color: #fff;
}

.chk input {
  appearance: none;
  -webkit-appearance: none;
  width: 18px;
  height: 18px;
  border: 1.5px solid #555;
  border-radius: 5px;
  background: #0d0d0d;
  display: grid;
  place-content: center;
  transition: .2s;
  flex: none;
}

.chk input:hover {
  border-color: var(--accent);
}

.chk input:checked {
  background: var(--accent);
  border-color: var(--accent);
}

.chk input:checked::after {
  content: "";
  width: 9px;
  height: 5px;
  margin-top: -2px;
  border-left: 2px solid #111;
  border-bottom: 2px solid #111;
  transform: rotate(-45deg);
}

.sgrid {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
  gap: 20px;
  align-items: start;
}

@media (max-width: 820px) {
  .sgrid {
    grid-template-columns: 1fr;
  }
}

.pcard {
  border: 1px solid #242424;
  border-radius: 20px;
  background: rgba(255,255,255,.03);
  padding: 34px;
}

.pn {
  margin: 14px 0 6px;
  font-size: 28px;
  font-weight: 600;
}

.pd {
  margin: 0 0 18px;
  color: #999;
  font-size: 15px;
}

.perks {
  list-style: none;
  margin: 0 0 24px;
  padding: 0;
  display: grid;
  gap: 10px;
  font-size: 14px;
  color: #ccc;
}

.perks li {
  display: flex;
  align-items: center;
  gap: 10px;
}

.tick {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--accent);
  display: grid;
  place-content: center;
  flex: none;
}

.tick::after {
  content: "";
  width: 8px;
  height: 4px;
  margin-top: -1px;
  border-left: 2px solid #111;
  border-bottom: 2px solid #111;
  transform: rotate(-45deg);
}

.pprice {
  font-size: 48px;
  font-weight: 600;
  letter-spacing: -.5px;
  color: var(--accent);
  margin-bottom: 24px;
  line-height: 1;
}

.giftrow {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 15px 18px;
  border: 1px solid #262626;
  border-radius: 14px;
  cursor: pointer;
  margin: 0 0 12px;
  transition: border-color .2s, background .2s;
}

.giftrow:hover {
  border-color: var(--accent);
  background: rgba(249,198,255,.04);
}

.giftrow b {
  display: block;
  font-size: 14.5px;
  color: #eee;
  font-weight: 600;
}

.giftrow small {
  color: #888;
  font-size: 12.5px;
}

.big2 {
  width: 100%;
  padding: 16px;
  font-size: 15px;
}

.rst {
  margin-left: auto;
  font-size: 12px;
  font-weight: 400;
  color: #888;
  font-variant-numeric: tabular-nums;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes pulse {
  0%,100% {
    transform: scale(1);
    opacity: .5;
  }
  50% {
    transform: scale(1.8);
    opacity: 1;
  }
}

@keyframes fade {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

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

/* ---------- Tickets ---------- */

.filters {
  display: flex;
  gap: 6px;
  margin-bottom: 14px;
}

.mini.on {
  border-color: var(--accent);
  color: var(--accent);
}

.tk {
  cursor: pointer;
  transition: background .2s;
}

.tk:hover {
  background: rgba(255,255,255,.03);
}

.tk .acts {
  align-items: center;
}

.pill-new {
  font-size: 11.5px;
  font-weight: 600;
  color: #111;
  background: #fff;
  border-radius: 999px;
  padding: 2px 10px;
  height: fit-content;
}

.tkhead {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 14px;
  margin-bottom: 16px;
}

.tkhead .acts {
  margin-left: auto;
}

.tmsg {
  padding: 14px 18px;
  border-top: 1px solid #1e1e1e;
}

.tmsg:first-child {
  border-top: 0;
}

.tmsg.staff {
  background: rgba(249,198,255,.05);
}

.tmeta {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
  font-size: 13px;
}

.tmeta b {
  font-weight: 600;
  color: #eee;
}

.tmeta small {
  margin-left: auto;
  color: #777;
  font-size: 12px;
}

.tbody {
  font-size: 14px;
  line-height: 1.55;
  color: #ccc;
  overflow-wrap: anywhere;
}

.badge {
  display: inline-grid;
  place-items: center;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  margin-left: 8px;
  border-radius: 999px;
  background: var(--accent);
  color: #111;
  font-size: 11px;
  font-weight: 600;
}

#toasts {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 50;
  display: grid;
  gap: 10px;
  max-width: min(340px, calc(100vw - 36px));
}

.toast {
  padding: 13px 16px;
  border: 1px solid var(--accent);
  border-radius: 14px;
  background: #111;
  color: #eee;
  font-size: 13.5px;
  line-height: 1.4;
  cursor: pointer;
  box-shadow: 0 10px 30px rgba(0,0,0,.5);
  animation: fade .4s ease-out both;
}

/* ---------- Brand logo ---------- */

.top .logo,
.abar .logo {
  display: flex;
  align-items: center;
}

.logo-img {
  width: 1.6em;
  height: 1.6em;
  margin-right: 10px;
  flex: none;
}
.pnote{font-size:12px;opacity:.65;margin:8px 0 14px}.psubtitle{margin-top:12px}.pview label{display:block}.pview label input{width:100%;box-sizing:border-box}.socialrow{display:flex;justify-content:space-between;gap:12px;padding:9px 0;border-bottom:1px solid rgba(255,255,255,.08)}.socialrow a{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}

.plist { overflow-y: auto; scrollbar-width: none; -ms-overflow-style: none; }
.plist::-webkit-scrollbar { display: none; }
