@import url("https://fonts.googleapis.com/css2?family=IBM+Plex+Mono:wght@400;500;600&family=Outfit:wght@400;500;600;700;800&display=swap");

:root {
  --bg: #f3f5f7;
  --bg2: #ffffff;
  --ink: #111111;
  --text: #141414;
  --hint: #6b7280;
  --line: #e4e7eb;
  --lime: #b8ff3c;
  --lime-2: #8ef01e;
  --black: #0d0d0d;
  --bubble-in: #eef1f4;
  --bubble-out: #111111;
  --safe-top: env(safe-area-inset-top, 0px);
  --safe-bot: env(safe-area-inset-bottom, 0px);
  --tab: 78px;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html, body { height: 100%; }
body {
  margin: 0;
  font-family: Outfit, "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--text);
  overflow: hidden;
}

.app {
  height: 100%;
  max-width: 520px;
  margin: 0 auto;
  position: relative;
  background:
    radial-gradient(circle at 12% 8%, rgba(184,255,60,0.16), transparent 28%),
    linear-gradient(#f7f8fa, #eef1f4);
}

.app::before {
  content: "";
  pointer-events: none;
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(17,17,17,0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(17,17,17,0.035) 1px, transparent 1px);
  background-size: 22px 22px;
  mask-image: radial-gradient(circle at 50% 20%, #000 20%, transparent 80%);
}

.hud-top {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: calc(10px + var(--safe-top)) 16px 0;
  font-family: "IBM Plex Mono", monospace;
  font-size: 9px;
  letter-spacing: 0.12em;
  color: #8a9098;
  text-transform: uppercase;
}

.view {
  display: none;
  position: relative;
  z-index: 1;
  height: calc(100% - 28px - var(--safe-top));
  overflow: auto;
  padding: 12px 16px calc(var(--tab) + 18px + var(--safe-bot));
}
.view.is-active { display: block; }
.view-chat.is-active {
  display: flex;
  flex-direction: column;
  padding-bottom: calc(var(--tab) + 10px + var(--safe-bot));
}

.top, .brand-wrap {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}
.top h1, .brand-title h1, .wordmark {
  margin: 0;
  font-size: 32px;
  letter-spacing: -0.06em;
  font-weight: 800;
  color: #111;
  display: flex;
  align-items: center;
  gap: 8px;
  line-height: 1;
}
.wordmark em, .brand-title h1 em {
  font-style: normal;
  background: var(--lime);
  color: #111;
  padding: 3px 10px 5px;
  border-radius: 10px;
  box-shadow: 0 0 18px rgba(184, 255, 60, 0.45);
}
.top h2 { margin: 0; font-size: 20px; letter-spacing: -0.04em; font-weight: 700; }
.eyebrow {
  margin: 0 0 3px;
  color: #8b9098;
  font-family: "IBM Plex Mono", monospace;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

.brand-wrap { align-items: center; flex-direction: column; }
.ad-hero {
  display: block;
  width: 100%;
  padding: 18px 18px 16px;
  border-radius: 22px;
  background: #111;
  color: #fff;
  text-decoration: none;
  box-shadow: 0 16px 40px rgba(17,17,17,0.16);
}
.ad-hero .eyebrow { color: var(--lime); margin-bottom: 8px; }
.ad-hero strong {
  display: block;
  font-size: 22px;
  letter-spacing: -0.05em;
  line-height: 1.15;
  font-weight: 800;
}
.ad-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 14px;
}
.ad-cta em {
  font-style: normal;
  background: var(--lime);
  color: #111;
  font-weight: 800;
  padding: 6px 12px 7px;
  border-radius: 12px;
}
.ad-cta b {
  font-size: 13px;
  font-weight: 700;
  color: #111;
  background: #fff;
  border-radius: 999px;
  padding: 8px 14px;
}
.brand-title { width: 100%; padding-top: 10px; }

.search-wrap {
  position: relative;
  margin-bottom: 14px;
}
.search-wrap::before {
  content: "";
  position: absolute;
  left: 14px;
  top: 50%;
  width: 16px;
  height: 16px;
  transform: translateY(-50%);
  background: #111;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='11' cy='11' r='6.5' fill='none' stroke='black' stroke-width='2'/%3E%3Cpath d='M16 16l5 5' stroke='black' stroke-width='2'/%3E%3C/svg%3E") center / contain no-repeat;
}
.search-wrap input, .composer input {
  width: 100%;
  border: 1px solid #111;
  outline: 0;
  background: #fff;
  color: var(--text);
  border-radius: 16px;
  padding: 13px 14px;
  font: inherit;
}
.search-wrap input { padding-left: 40px; }

.ghost, .primary, .composer button, .fab {
  border: 0;
  border-radius: 999px;
  padding: 10px 16px;
  font: inherit;
  white-space: nowrap;
}
.ghost {
  background: var(--black);
  color: #fff;
  font-weight: 700;
  box-shadow: 0 0 0 1px #111, 0 8px 18px rgba(17,17,17,0.16);
}
.primary, .composer button, .fab {
  background: var(--lime);
  color: #111;
  font-weight: 800;
  box-shadow: 0 0 0 1px #111, 0 0 18px rgba(184,255,60,0.35);
}

.lead-note { margin: 0 0 14px; color: var(--hint); line-height: 1.45; font-size: 14px; }
.sec-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  margin: 4px 0 8px;
}
.sec-kicker {
  margin: 0;
  font-size: 28px;
  letter-spacing: -0.06em;
  font-weight: 800;
  line-height: 1;
}
.sec-count {
  background: #111;
  color: var(--lime);
  border-radius: 999px;
  padding: 7px 10px;
  font-family: "IBM Plex Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.sec-intro {
  margin: 0 0 12px;
  padding: 12px 14px;
  border-radius: 16px;
  background: #fff;
  border: 1px solid #eceff2;
  color: #4b5563;
  font-size: 13px;
  line-height: 1.45;
}
.view-sections {
  padding-bottom: calc(var(--tab) + 28px + var(--safe-bot));
}
.sec-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  align-items: stretch;
}
.sec-grid.is-solo { grid-template-columns: 1fr; }
.sec-grid.is-solo .sec-tile {
  min-height: 0;
  flex-direction: row;
  align-items: center;
  gap: 12px;
}
.sec-grid.is-solo .sec-tile-top,
.sec-grid.is-solo .sec-tile-foot { margin: 0; }
.sec-grid.is-solo .sec-tile-body { flex: 1; }
.sec-tile {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-height: 198px;
  height: 100%;
  width: 100%;
  text-align: left;
  color: inherit;
  font: inherit;
  background: #fff;
  border: 1px solid #eceff2;
  border-radius: 22px;
  padding: 14px;
  box-shadow: 0 8px 24px rgba(17,17,17,0.04);
}
.sec-tile-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}
.sec-idx {
  font-family: "IBM Plex Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.08em;
  color: #8a9098;
}
.sec-tile-body { flex: 1; }
.sec-tile-body h3 {
  margin: 0 0 6px;
  font-size: 16px;
  letter-spacing: -0.04em;
  line-height: 1.15;
}
.sec-tile-body p {
  margin: 0;
  color: var(--hint);
  font-size: 12px;
  line-height: 1.35;
}
.sec-tile-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: 14px;
  font-size: 11px;
  color: #6b7280;
  font-family: "IBM Plex Mono", monospace;
}
.sec-tile-foot b {
  color: #111;
  font-size: 16px;
  line-height: 1;
}
.sec-tile.is-feature {
  min-height: 0;
  margin-bottom: 10px;
  background: #111;
  color: var(--lime);
  border-color: #111;
  box-shadow: 0 0 0 2px var(--lime), 0 16px 32px rgba(17,17,17,0.2);
}
.sec-tile.is-feature .sec-tile-body p,
.sec-tile.is-feature .sec-idx,
.sec-tile.is-feature .sec-tile-foot { color: #c5c9ce; }
.sec-tile.is-feature h3 { color: #fff; font-size: 22px; }
.sec-tile.is-feature .mark {
  background: var(--lime);
  color: #111;
  box-shadow: none;
}
.sec-tile.is-feature .sec-tile-foot b {
  background: var(--lime);
  color: #111;
  border-radius: 999px;
  padding: 8px 12px;
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.sec-tile.is-pin:not(.is-feature) {
  box-shadow: 0 0 0 2px var(--lime);
}
.sec-empty {
  background: #fff;
  border: 1px dashed #111;
  border-radius: 22px;
  padding: 28px 18px;
  text-align: center;
  color: #5d6470;
  line-height: 1.45;
}
.pin-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 8px;
}
.pin-head span {
  font-family: "IBM Plex Mono", monospace;
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #8a9098;
}
.pin-row {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 4px;
  margin: 0 -16px;
  padding-left: 16px;
  padding-right: 16px;
  scroll-snap-type: x mandatory;
}
.pin-row::-webkit-scrollbar { display: none; }
.pin-chip {
  flex: 0 0 168px;
  scroll-snap-align: start;
  display: grid;
  gap: 8px;
  text-align: left;
  background: #111;
  color: #fff;
  border: 0;
  border-radius: 20px;
  padding: 14px;
  box-shadow: 0 0 0 2px var(--lime);
  font: inherit;
}
.pin-chip .mark {
  width: 36px;
  height: 36px;
  border-radius: 12px;
  background: var(--lime);
  color: #111;
  box-shadow: none;
}
.pin-chip strong {
  display: block;
  font-size: 14px;
  letter-spacing: -0.03em;
  line-height: 1.2;
}
.pin-chip span {
  color: #c5c9ce;
  font-size: 11px;
}
.pin-chip.is-topic { background: #171717; }
.board-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}
.board-hero-top {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}
.board-hero-top h2 {
  margin: 0;
  font-size: 26px;
  letter-spacing: -0.05em;
  line-height: 1.05;
}
.lane-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}
.lane-head span {
  font-family: "IBM Plex Mono", monospace;
  font-size: 11px;
  color: #8a9098;
}
.carousel {
  position: relative;
  overflow: hidden;
  border-radius: 22px;
  background: #111;
  margin-bottom: 14px;
}
.carousel-track {
  display: flex;
  transition: transform 0.4s ease;
}
.carousel-slide {
  min-width: 100%;
  color: #fff;
  text-decoration: none;
  display: block;
}
.carousel-slide img {
  width: 100%;
  height: 168px;
  object-fit: cover;
  display: block;
}
.carousel-slide .ad-hero {
  border-radius: 0;
  box-shadow: none;
}
.carousel-slide .banner-copy {
  padding: 16px 18px 18px;
}
.carousel-slide .banner-copy strong { display: block; font-size: 18px; }
.carousel-slide .banner-copy span { display: block; margin-top: 4px; color: #c5c9ce; font-size: 13px; }
.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 32px;
  height: 32px;
  border: 0;
  border-radius: 50%;
  background: var(--lime);
  color: #111;
  font-size: 20px;
  font-weight: 800;
  line-height: 1;
}
.carousel-btn.prev { left: 10px; }
.carousel-btn.next { right: 10px; }
.carousel-dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 10px;
  display: flex;
  justify-content: center;
  gap: 6px;
}
.carousel-dots button {
  width: 7px;
  height: 7px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(255,255,255,0.35);
}
.carousel-dots button.is-on { background: var(--lime); width: 16px; border-radius: 99px; }
.home-pins { margin-bottom: 16px; }
.home-pins:empty { display: none; }
.topic {
  width: 100%;
  text-align: left;
  background: #111;
  color: #fff;
  border: 0;
  border-radius: 22px;
  padding: 14px;
  box-shadow: 0 0 0 2px var(--lime);
}
.topic h3 { margin: 0 0 6px; font-size: 16px; }
.topic p { margin: 0; color: #c5c9ce; font-size: 13px; }
.banner {
  display: block;
  overflow: hidden;
  border-radius: 22px;
  background: #111;
  color: #fff;
  text-decoration: none;
  border: 1px solid #111;
}
.banner img { width: 100%; height: 132px; object-fit: cover; display: block; }
.banner div { padding: 12px 14px 14px; }
.banner strong { display: block; font-size: 16px; }
.banner span { display: block; margin-top: 4px; color: #c5c9ce; font-size: 13px; }
.ad-empty {
  border: 1px dashed #cfd4da;
  background: #fff;
  border-radius: 22px;
  padding: 18px 16px;
  text-align: center;
  color: #5d6470;
  line-height: 1.45;
}
.ad-empty a { color: #111; font-weight: 700; background: var(--lime); padding: 2px 8px; border-radius: 8px; text-decoration: none; }

.board-hero {
  background: #111;
  color: #fff;
  border: 0;
  border-radius: 24px;
  padding: 16px;
  margin-bottom: 16px;
  box-shadow: 0 0 0 2px var(--lime), 0 16px 32px rgba(17,17,17,0.16);
}
.board-hero .eyebrow { color: var(--lime); }
.board-hero p { margin: 0 0 12px; color: #c5c9ce; line-height: 1.45; }
.board-hero .mark {
  background: var(--lime);
  color: #111;
  box-shadow: none;
}
.pins, .feed { display: grid; gap: 10px; margin-bottom: 14px; }
.pins { padding: 0; background: transparent; }
.pins .eyebrow, .feed .eyebrow { color: #8a9098; }
.pins:empty { display: none; }
.post {
  background: #fff;
  border: 1px solid #eceff2;
  border-radius: 22px;
  padding: 14px;
  text-align: left;
}
.post.pin {
  background: #111;
  color: #fff;
  border-color: #111;
  outline: 2px solid var(--lime);
}
.post.pin p { color: #c5c9ce; }
.post.pin .meta { color: #9aa1a8; }
.post h3 { margin: 0 0 6px; font-size: 17px; letter-spacing: -0.03em; }
.post p { margin: 0; color: #4b5563; line-height: 1.4; white-space: pre-wrap; }
.post .meta { margin-top: 8px; display: flex; gap: 8px; flex-wrap: wrap; font-size: 12px; color: #6b7280; }
.tag {
  background: #111;
  color: var(--lime);
  border-radius: 999px;
  padding: 3px 8px;
  font-family: "IBM Plex Mono", monospace;
  font-size: 10px;
  letter-spacing: 0.06em;
}
.tag.wait { background: #fff3cd; color: #111; }
.tag.reject { background: #2b2b2b; color: #fff; }
.fab {
  position: sticky;
  bottom: 8px;
  width: 100%;
  border-radius: 16px;
  padding: 14px;
}
#pub-form { display: grid; gap: 10px; }
#pub-form textarea, #pub-form input:not([type="file"]) {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 13px 14px;
  font: inherit;
  background: #fff;
}
.file-pick {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  border: 1px dashed #111;
  border-radius: 16px;
  background: #fff;
  font-weight: 800;
  cursor: pointer;
}
.file-pick input { display: none; }
.file-list { display: flex; flex-wrap: wrap; gap: 8px; }
.file-item {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #111;
  color: #fff;
  border-radius: 14px;
  padding: 8px 10px;
  max-width: 100%;
}
.file-item img {
  width: 36px;
  height: 36px;
  object-fit: cover;
  border-radius: 8px;
}
.file-item span { font-size: 12px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 160px; }
.file-item button {
  border: 0;
  background: var(--lime);
  color: #111;
  border-radius: 999px;
  width: 22px;
  height: 22px;
  font-weight: 800;
}
.media { display: grid; gap: 8px; margin-top: 10px; }
.media-img img, .media-video {
  width: 100%;
  max-height: 240px;
  object-fit: cover;
  border-radius: 16px;
  display: block;
  background: #111;
}
.media-audio { width: 100%; }
.file-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #111;
  color: var(--lime);
  text-decoration: none;
  border-radius: 14px;
  padding: 10px 12px;
  font-weight: 700;
  font-size: 13px;
}

.cards { display: block; }
.chat-list, .profile { display: grid; gap: 10px; }
.card, .chat-item, .profile-card, .sheet-card {
  background: #fff;
  border: 1px solid #eceff2;
  border-radius: 22px;
  padding: 14px;
  box-shadow: 0 8px 24px rgba(17,17,17,0.04);
}
.card, .chat-item {
  display: grid;
  grid-template-columns: 48px 1fr auto;
  gap: 12px;
  align-items: center;
  width: 100%;
  text-align: left;
  color: inherit;
  font: inherit;
}
.card.is-main {
  background: #111;
  color: #fff;
  border-color: #111;
  box-shadow: 0 0 0 2px var(--lime), 0 12px 28px rgba(17,17,17,0.18);
}
.card.is-main .mark {
  background: var(--lime);
  color: #111;
  box-shadow: none;
}
.card.is-main h3 { color: #fff; }
.card.is-main p { color: #c5c9ce; }
.card.is-main .price {
  background: var(--lime);
  color: #111;
  border-radius: 999px;
  padding: 8px 12px;
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.main-pill {
  display: inline-block;
  margin-bottom: 6px;
  background: var(--lime);
  color: #111;
  border-radius: 999px;
  padding: 3px 8px;
  font-family: "IBM Plex Mono", monospace;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
}
.card h3, .chat-item h3 { margin: 0 0 4px; font-size: 16px; }
.card p, .chat-item p, .meta { margin: 0; color: var(--hint); font-size: 13px; }
.price {
  font-family: "IBM Plex Mono", monospace;
  font-weight: 600;
  font-size: 16px;
  color: #111;
}

.mark, .ico {
  width: 48px;
  height: 48px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: var(--black);
  color: var(--lime);
  box-shadow: 0 0 0 1px #111, 0 0 16px rgba(184,255,60,0.18);
}

.stats { display: flex; gap: 8px; flex-wrap: wrap; }
.stats span {
  background: #111;
  color: var(--lime);
  border-radius: 999px;
  padding: 7px 10px;
  font-size: 11px;
  font-family: "IBM Plex Mono", monospace;
}

.empty { color: var(--hint); text-align: center; padding: 40px 16px; }

.chat-head { margin-bottom: 8px; align-items: center; }
.chat-who { display: flex; align-items: center; gap: 10px; flex: 1; }
.chat-who .mark { width: 42px; height: 42px; border-radius: 14px; }
.chat-who p { margin: 2px 0 0; color: #5d6470; font-size: 12px; }

.messages {
  flex: 1;
  overflow: auto;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 6px 2px 10px;
}
.msg {
  max-width: 86%;
  padding: 10px 12px;
  border-radius: 18px;
  line-height: 1.35;
  font-size: 15px;
  word-break: break-word;
}
.msg small { display: block; margin-top: 4px; opacity: 0.6; font-size: 11px; font-family: "IBM Plex Mono", monospace; }
.msg .who { font-size: 11px; font-weight: 700; margin-bottom: 4px; letter-spacing: 0.04em; }
.msg.in { align-self: flex-start; background: var(--bubble-in); border-bottom-left-radius: 6px; }
.msg.out { align-self: flex-end; background: var(--bubble-out); color: #fff; border-bottom-right-radius: 6px; }
.msg.out .who { text-align: right; color: var(--lime); }
.msg-tools {
  display: flex;
  gap: 6px;
  margin-top: 8px;
}
.msg-tools button {
  border: 0;
  border-radius: 999px;
  padding: 4px 8px;
  font-size: 10px;
  font-weight: 800;
  background: var(--lime);
  color: #111;
}
.msg.in .msg-tools button.ghost, .msg.sys .msg-tools button.ghost {
  background: #111;
  color: #fff;
}
.ban-note {
  margin: 0 0 8px;
  padding: 10px 12px;
  border-radius: 14px;
  background: #111;
  color: var(--lime);
  font-size: 13px;
  font-weight: 700;
  text-align: center;
}
.msg.sys {
  align-self: center;
  max-width: 94%;
  background: #fff;
  border: 1px solid var(--line);
  text-align: center;
  color: #5d6470;
}

.composer { display: flex; gap: 8px; }
.composer button { width: 48px; border-radius: 16px; font-size: 20px; }

.tabbar {
  position: absolute;
  z-index: 3;
  left: 12px;
  right: 12px;
  bottom: calc(8px + var(--safe-bot));
  height: 70px;
  padding: 6px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  background: #111;
  border-radius: 24px;
  box-shadow: 0 14px 32px rgba(17,17,17,0.24), 0 0 0 1px #111;
}
.tabbar.is-admin { grid-template-columns: repeat(4, 1fr); }
.tabbar.is-admin .tab-label { font-size: 10px; }
.tabbar button {
  border: 0;
  height: 100%;
  border-radius: 18px;
  background: #1c1c1c;
  color: #d4d8dc;
  font: inherit;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}
.tabbar button.is-on {
  background: var(--lime);
  color: #111;
  box-shadow: 0 0 18px rgba(184,255,60,0.4);
}
.tab-ico {
  width: 22px;
  height: 22px;
  display: block;
  background: currentColor;
  mask-position: center;
  mask-repeat: no-repeat;
  mask-size: contain;
}
.tab-label {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.02em;
  line-height: 1;
}
.tabbar button:not(.is-on) .tab-ico {
  color: var(--lime);
}
.ico-chat { mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M4 5.5A2.5 2.5 0 0 1 6.5 3h11A2.5 2.5 0 0 1 20 5.5v8A2.5 2.5 0 0 1 17.5 16H9l-4.2 3.1A.8.8 0 0 1 3.5 18.5V5.5z'/%3E%3C/svg%3E"); }
.ico-grid { mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M4 4h7v7H4zm9 0h7v7h-7zM4 13h7v7H4zm9 0h7v7h-7z'/%3E%3C/svg%3E"); }
.ico-user { mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M12 12a4 4 0 1 0-4-4 4 4 0 0 0 4 4zm0 2c-4 0-8 2-8 5v1h16v-1c0-3-4-5-8-5z'/%3E%3C/svg%3E"); }
.ico-admin { mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M12 2 4 5v6c0 5 3.4 9.4 8 11 4.6-1.6 8-6 8-11V5z'/%3E%3C/svg%3E"); }

.admin-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
}
.admin-stats span {
  background: #111;
  color: #fff;
  border-radius: 999px;
  padding: 8px 12px;
  font-size: 12px;
  font-weight: 800;
}
.admin-stats .stat-online {
  background: var(--lime);
  color: #111;
  box-shadow: 0 0 14px rgba(184,255,60,0.35);
}
.online-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 8px rgba(184,255,60,0.7);
  margin-right: 6px;
  vertical-align: middle;
}
.admin-switch {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 6px;
  margin-bottom: 14px;
  padding: 5px;
  background: #111;
  border-radius: 18px;
}
.admin-switch button {
  border: 0;
  background: #1c1c1c;
  color: #d4d8dc;
  border-radius: 14px;
  padding: 10px 6px;
  font: inherit;
  font-size: 12px;
  font-weight: 800;
}
.admin-switch button.is-on {
  background: var(--lime);
  color: #111;
}
.admin-pane { display: none; }
.admin-pane.is-on { display: block; }
.admin-stack { display: grid; gap: 10px; margin-bottom: 16px; }
.sheet-form, .desk-card {
  background: #fff;
  border: 1px solid #eceff2;
  border-radius: 22px;
  padding: 14px;
}
.sheet-form { display: grid; gap: 8px; margin-bottom: 12px; }
.sheet-form textarea,
.sheet-form input, .sheet-form select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 12px;
  font: inherit;
  background: #fff;
}
.sheet-form textarea { min-height: 120px; resize: vertical; }
.desk-card .admin-actions { display: grid; gap: 8px; margin-top: 10px; }
.desk-card .admin-actions button { width: 100%; }
.post-actions { display: flex; gap: 8px; margin-top: 10px; flex-wrap: wrap; }
.post-actions button { flex: 1; }

.profile-card strong { display: block; font-size: 20px; margin-bottom: 4px; }
.kv { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.kv:last-child { border-bottom: 0; }
.kv span { color: var(--hint); }

.icon-svg { width: 22px; height: 22px; display: block; }

button, input { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
