* {
  box-sizing: border-box;
}
html,
body {
  margin: 0;
  height: 100%;
}
body {
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  background: #0d0f16;
  color: #e9ecf5;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
button {
  font: inherit;
  cursor: pointer;
}

/* ---------- top bar ---------- */
header {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 10px 18px;
  border-bottom: 1px solid #1f2333;
  background: #11131c;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
}
.brand b {
  font-size: 18px;
}
.brand small {
  color: #8d93a8;
  font-size: 12px;
  margin-left: 6px;
}
.logo-bot {
  width: 26px;
  height: 22px;
  border-radius: 6px;
  background: #2fbf71;
  display: inline-flex;
  gap: 5px;
  align-items: center;
  justify-content: center;
}
.logo-bot i {
  width: 4px;
  height: 7px;
  background: #0d0f16;
  border-radius: 2px;
}
nav {
  display: flex;
  gap: 6px;
  margin-left: 12px;
}
.tab {
  background: #1a1d29;
  color: #aab0c5;
  border: 1px solid #262a38;
  border-radius: 10px;
  padding: 7px 14px;
}
.tab.on {
  background: #262b3d;
  color: #fff;
  border-color: #3b4157;
}
.right {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 10px;
}
#clock {
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}
.tz {
  color: #8d93a8;
  font-size: 12px;
}
.run {
  background: #2fbf71;
  color: #06140c;
  border: 0;
  border-radius: 10px;
  padding: 8px 16px;
  font-weight: 800;
  box-shadow: 0 0 18px rgba(47, 191, 113, 0.35);
}
.run:active {
  transform: scale(0.97);
}

/* ---------- layout ---------- */
main {
  flex: 1;
  display: flex;
  min-height: 0;
}
.view {
  display: none;
  flex: 1;
  position: relative;
  min-width: 0;
}
.view.on {
  display: block;
}

/* ---------- office ---------- */
#office {
  background: radial-gradient(ellipse at 50% 40%, #171a28, #0b0c12 70%);
}
#stage {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
#world {
  image-rendering: pixelated;
  image-rendering: crisp-edges;
  width: min(100%, calc((100vh - 70px) * 560 / 350));
  height: auto;
  cursor: pointer;
}
#overlay {
  position: absolute;
  pointer-events: none;
}
.bubble {
  position: absolute;
  transform: translate(-50%, -100%);
  background: #fff;
  color: #161925;
  font-size: 12px;
  font-weight: 600;
  padding: 5px 9px;
  border-radius: 9px;
  white-space: nowrap;
  box-shadow: 0 3px 0 rgba(0, 0, 0, 0.25);
  max-width: 260px;
  overflow: hidden;
  text-overflow: ellipsis;
}
.bubble::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -5px;
  margin-left: -5px;
  border: 5px solid transparent;
  border-bottom: 0;
  border-top-color: #fff;
}
.bubble.work {
  background: #fff7e8;
}
.bubble.err {
  background: #ffe3e4;
  color: #8a1520;
}
.tag {
  position: absolute;
  transform: translate(-50%, 0);
  font-size: 11px;
  font-weight: 700;
  color: #fff;
  background: rgba(13, 15, 22, 0.75);
  padding: 2px 7px;
  border-radius: 6px;
  white-space: nowrap;
}

/* ---------- automations ---------- */
#flow {
  background-color: #101219;
  background-image: radial-gradient(#23273a 1px, transparent 1px);
  background-size: 22px 22px;
  overflow: auto;
}
#wires {
  position: absolute;
  left: 0;
  top: 0;
  width: 1200px;
  height: 760px;
  pointer-events: none;
}
#cards {
  position: relative;
  width: 1200px;
  height: 760px;
}
.card {
  position: absolute;
  width: 238px;
  background: #171a26;
  border: 1px solid #2a2f42;
  border-radius: 16px;
  padding: 14px;
  cursor: pointer;
  transition:
    border-color 0.2s,
    box-shadow 0.2s;
}
.card:hover {
  border-color: #4a5170;
}
.card.working {
  border-color: #2fbf71;
  box-shadow: 0 0 22px rgba(47, 191, 113, 0.25);
}
.card.error {
  border-color: #e5484d;
}
.card.locked {
  opacity: 0.72;
}
.card .top {
  display: flex;
  align-items: center;
  gap: 10px;
}
.card .face {
  width: 36px;
  height: 30px;
  border-radius: 8px;
  display: flex;
  gap: 6px;
  align-items: center;
  justify-content: center;
  flex: none;
}
.card .face i {
  width: 5px;
  height: 9px;
  background: #0d0f16;
  border-radius: 2px;
}
.card b {
  display: block;
  font-size: 15px;
}
.card small {
  color: #8d93a8;
  font-size: 12px;
}
.card .line {
  margin-top: 10px;
  font-size: 12px;
  color: #c9cee0;
  background: #10121b;
  border-radius: 10px;
  padding: 8px 10px;
  min-height: 34px;
}
.pill {
  font-size: 11px;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: 999px;
  background: #262b3d;
  color: #aab0c5;
  white-space: nowrap;
}
.card .pill {
  margin-left: auto;
}
.pill.working {
  background: #143d27;
  color: #5fe0a0;
}
.pill.error {
  background: #47181c;
  color: #ff7b85;
}
.pill.idle {
  background: #262b3d;
  color: #aab0c5;
}
.panel .pill.idle {
  background: #e4e7f1;
  color: #3b4157;
}
.panel .pill.locked {
  background: #e4e7f1;
  color: #6b7190;
}
.pill.locked {
  background: #1f2230;
  color: #6f7590;
}
.card.drop {
  border-style: dashed;
  text-align: center;
}
.card.drop .big {
  font-size: 30px;
}

/* ---------- log ---------- */
#logPanel {
  width: 300px;
  border-left: 1px solid #1f2333;
  background: #0f111a;
  display: flex;
  flex-direction: column;
}
#logPanel h3 {
  margin: 0;
  padding: 14px 16px 10px;
  font-size: 14px;
}
#logPanel h3 small {
  color: #8d93a8;
  font-weight: 400;
  margin-left: 6px;
}
#log {
  flex: 1;
  overflow-y: auto;
  padding: 0 12px 12px;
}
.entry {
  display: flex;
  gap: 9px;
  padding: 8px 6px;
  border-bottom: 1px solid #191c28;
  font-size: 12px;
}
.entry .dot {
  width: 22px;
  height: 18px;
  border-radius: 5px;
  flex: none;
  display: flex;
  gap: 3px;
  align-items: center;
  justify-content: center;
}
.entry .dot i {
  width: 3px;
  height: 5px;
  background: #0d0f16;
  border-radius: 1px;
}
.entry b {
  display: block;
  font-size: 12px;
}
.entry span {
  color: #b5bbcf;
}
.entry time {
  color: #6f7590;
  font-size: 11px;
  margin-left: 4px;
  font-weight: 400;
}
.entry.error span {
  color: #ff8b93;
}
.entry.ok span {
  color: #7fe8b2;
}

/* ---------- bot panel ---------- */
.panel {
  position: fixed;
  right: 320px;
  top: 70px;
  width: 380px;
  max-height: calc(100vh - 90px);
  overflow-y: auto;
  background: #f6f7fb;
  color: #161925;
  border-radius: 18px;
  padding: 18px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5);
  z-index: 20;
}
.panel.hidden {
  display: none;
}
.panel .ph {
  display: flex;
  align-items: center;
  gap: 12px;
}
.panel .ph .face {
  width: 46px;
  height: 38px;
  border-radius: 10px;
  display: flex;
  gap: 8px;
  align-items: center;
  justify-content: center;
}
.panel .ph .face i {
  width: 6px;
  height: 11px;
  background: #0d0f16;
  border-radius: 2px;
}
.panel h2 {
  margin: 0;
  font-size: 19px;
}
.panel .ph small {
  color: #6b7190;
}
.panel .x {
  margin-left: auto;
  background: none;
  border: 0;
  font-size: 22px;
  color: #6b7190;
}
.panel h4 {
  margin: 16px 0 6px;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #6b7190;
}
.panel ul {
  margin: 0;
  padding-left: 18px;
  font-size: 13px;
  line-height: 1.6;
}
.panel .status {
  margin-top: 12px;
  display: flex;
  gap: 8px;
  align-items: center;
  font-size: 13px;
}
.panel .act {
  font-size: 12px;
  border-left: 3px solid #d7dbe8;
  padding: 4px 8px;
  margin: 4px 0;
  color: #3b4157;
}
.panel .lockbox {
  margin-top: 14px;
  background: #eef0f7;
  border-radius: 12px;
  padding: 12px;
  font-size: 13px;
}
.panel .btn {
  background: #f5821f;
  color: #fff;
  border: 0;
  border-radius: 10px;
  padding: 9px 14px;
  font-weight: 700;
  margin-top: 10px;
}
.jobs {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 10px;
  margin-top: 6px;
}
.job {
  background: #fff;
  border-radius: 12px;
  padding: 8px;
  font-size: 11px;
  border: 1px solid #e3e6f0;
}
.job .pv {
  height: 150px;
  background: #0c0d13;
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #8d93a8;
}
.job .pv img,
.job .pv video {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.job .nm {
  margin: 6px 0 4px;
  word-break: break-all;
  font-weight: 600;
}
.job .row {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 8px;
  align-items: center;
}
.job a {
  color: #f5821f;
  font-weight: 700;
  text-decoration: none;
}
.job button {
  background: none;
  border: 0;
  color: #9aa0b5;
  font-size: 11px;
}
.badge {
  font-size: 10px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 999px;
  background: #eceef5;
}
.badge.edited {
  background: #d9f6e6;
  color: #127a45;
}
.badge.editing {
  background: #fff0d6;
  color: #9a5b00;
}
.badge.error {
  background: #ffe0e2;
  color: #a3141f;
}

/* ---------- drop overlay ---------- */
#dropHint {
  position: fixed;
  inset: 0;
  background: rgba(13, 15, 22, 0.75);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 30;
}
#dropHint div {
  border: 3px dashed #f5821f;
  border-radius: 24px;
  padding: 50px 70px;
  font-size: 22px;
  font-weight: 800;
  background: #171a26;
}
#dropHint.hidden {
  display: none;
}

/* ---------- full screen + designer gallery ---------- */
.ghost {
  background: #1a1d29;
  color: #e9ecf5;
  border: 1px solid #2c3142;
  border-radius: 10px;
  padding: 7px 12px;
}
#logBtn {
  display: none;
}
body.fs #world {
  width: min(100%, calc((100vh - 56px) * 560 / 350));
}
.stories {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}
.stories .st {
  position: relative;
  display: block;
  border-radius: 10px;
  overflow: hidden;
  background: #dfe3ee;
}
.stories img {
  width: 100%;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  display: block;
}
.stories span {
  position: absolute;
  left: 4px;
  right: 4px;
  bottom: 4px;
  font-size: 10px;
  font-weight: 700;
  color: #fff;
  padding: 2px 5px;
  border-radius: 6px;
  text-align: center;
}
.stories span.ig {
  background: rgba(214, 41, 118, 0.9);
}
.stories span.fb {
  background: rgba(24, 119, 242, 0.9);
}

/* ---------- tablet (portrait or small laptop) ---------- */
@media (max-width: 1100px) {
  #logPanel {
    width: 240px;
  }
  .panel {
    right: 12px;
  }
}

/* ---------- phone + tablet portrait ---------- */
@media (max-width: 820px) {
  header {
    flex-wrap: wrap;
    gap: 8px;
    padding: 8px 10px;
    padding-top: max(8px, env(safe-area-inset-top));
  }
  .brand small,
  .tz {
    display: none;
  }
  nav {
    margin-left: 0;
    order: 3;
    width: 100%;
  }
  nav .tab {
    flex: 1;
    padding: 8px 6px;
  }
  .right {
    gap: 6px;
  }
  .right button {
    padding: 7px 10px;
    font-size: 13px;
  }
  #fsBtn {
    display: none;
  } /* phones: use "Add to Home Screen" instead */
  #logBtn {
    display: inline-block;
  }
  main {
    flex-direction: column;
  }
  #world {
    width: 100%;
  }
  #logPanel {
    display: none;
    width: 100%;
    height: 38vh;
    border-left: 0;
    border-top: 1px solid #1f2333;
  }
  body.showlog #logPanel {
    display: flex;
  }
  .panel {
    left: 8px;
    right: 8px;
    top: auto;
    bottom: 8px;
    width: auto;
    max-height: 72vh;
    border-radius: 16px;
    padding-bottom: max(18px, env(safe-area-inset-bottom));
  }
  .stories {
    grid-template-columns: repeat(4, 1fr);
  }
  #flow {
    -webkit-overflow-scrolling: touch;
  }
}
@media (max-width: 480px) {
  .stories {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ---------- Phase 4: approval cards ---------- */
#bellBtn.ring {
  background: #f5821f;
  color: #fff;
  border-color: #f5821f;
  animation: ring 1.2s ease-in-out infinite;
}
@keyframes ring {
  0%,
  100% {
    transform: rotate(0);
  }
  10% {
    transform: rotate(-12deg);
  }
  20% {
    transform: rotate(12deg);
  }
  30% {
    transform: rotate(0);
  }
}
.appr {
  display: flex;
  gap: 12px;
  background: #fff;
  border: 1px solid #e1e4ee;
  border-radius: 14px;
  padding: 10px;
  margin-bottom: 10px;
}
.appr.waiting {
  border: 2px solid #f5821f;
}
.appr.blocked {
  border-color: #e5484d;
}
.appr.posted {
  opacity: 0.85;
}
.apic {
  width: 86px;
  flex: none;
}
.apic img {
  width: 100%;
  border-radius: 8px;
  display: block;
}
.noimg {
  height: 120px;
  border-radius: 8px;
  background: #eef0f6;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  color: #6b7190;
}
.abody {
  flex: 1;
  min-width: 0;
  font-size: 13px;
}
.where {
  font-weight: 900;
  font-size: 15px;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}
.where span {
  display: block;
  font-size: 13px;
  text-transform: none;
  letter-spacing: 0;
  font-weight: 700;
}
.where.instagram {
  color: #c13584;
}
.where.facebook {
  color: #1877f2;
}
.where.threads {
  color: #111;
}
.ast {
  margin: 4px 0;
  font-weight: 700;
}
.abody ul {
  list-style: none;
  padding: 0;
  margin: 6px 0;
}
.abody li {
  margin: 2px 0;
}
.abody li.bad,
.abody .bad {
  color: #b3261e;
}
.abody li.warn {
  color: #9a5b00;
}
.abody textarea,
.testform textarea,
.testform select {
  width: 100%;
  font: inherit;
  border: 1px solid #cfd4e2;
  border-radius: 8px;
  padding: 6px 8px;
  margin: 4px 0;
  background: #fff;
  color: #161925;
}
.acts {
  display: flex;
  gap: 8px;
  margin-top: 6px;
}
.acts button {
  flex: 1;
  border: 1px solid #cfd4e2;
  background: #fff;
  border-radius: 10px;
  padding: 9px;
  font-weight: 800;
}
.acts .post {
  background: #2fbf71;
  color: #06140c;
  border: 0;
}
.acts .post:disabled {
  background: #cfd4e2;
  color: #6b7190;
  cursor: not-allowed;
}
.testform label {
  display: block;
  font-weight: 700;
  font-size: 12px;
  margin-top: 8px;
}
.testform .btn {
  margin-top: 10px;
  width: 100%;
}

/* ---------- 🗑 delete buttons ---------- */
.del {
  background: transparent;
  border: 0;
  cursor: pointer;
  font-size: 14px;
  line-height: 1;
  padding: 4px;
  border-radius: 6px;
  opacity: 0.45;
}
.del:hover {
  opacity: 1;
  background: rgba(229, 72, 77, 0.15);
}
#log .entry {
  position: relative;
  padding-right: 30px;
}
#log .entry .del {
  position: absolute;
  right: 4px;
  top: 6px;
  opacity: 0.7;
  filter: grayscale(1) brightness(2);
}
#log .entry .del:hover {
  filter: none;
}
.act {
  position: relative;
  padding-right: 28px;
}
.act .del {
  position: absolute;
  right: 0;
  top: 0;
}
.appr {
  position: relative;
}
.appr > .del {
  position: absolute;
  right: 6px;
  top: 6px;
}
.stories .st .del {
  position: absolute;
  top: 4px;
  right: 4px;
  background: rgba(255, 255, 255, 0.9);
  opacity: 0.85;
  font-size: 12px;
}
.job .row .del {
  margin-left: auto;
}
@media (hover: none) {
  .del {
    opacity: 0.8;
  }
} /* phones: always visible */

/* ---------- office pop-ups ---------- */
.dlg-back {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(8, 10, 18, 0.55);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  opacity: 0;
  transition: opacity 0.15s;
}
.dlg-back.on {
  opacity: 1;
}
.dlg {
  width: 100%;
  max-width: 380px;
  background: #f6f7fb;
  color: #161925;
  border-radius: 18px;
  padding: 18px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5);
  transform: translateY(8px) scale(0.98);
  transition: transform 0.15s;
}
.dlg-back.on .dlg {
  transform: none;
}
.dlg-top {
  display: flex;
  align-items: center;
  gap: 12px;
}
.dlg-top h3 {
  margin: 0;
  font-size: 17px;
}
.dlg-top small {
  color: #6b7190;
}
.dlg p {
  margin: 14px 0 16px;
  font-size: 14px;
  line-height: 1.45;
  color: #3b4157;
}
.dlg-acts {
  display: flex;
  gap: 8px;
}
.dlg-acts button {
  flex: 1;
  border-radius: 10px;
  padding: 10px;
  font-weight: 800;
  border: 1px solid #cfd4e2;
  background: #fff;
  color: #3b4157;
}
.dlg-acts .dlg-yes {
  background: #2fbf71;
  color: #06140c;
  border: 0;
}
.dlg-acts .dlg-yes.danger {
  background: #e5484d;
  color: #fff;
}
.dlg-acts button:focus-visible {
  outline: 3px solid #f5821f;
  outline-offset: 2px;
}
.dlg .face {
  width: 46px;
  height: 38px;
  border-radius: 10px;
  display: flex;
  gap: 8px;
  align-items: center;
  justify-content: center;
  flex: none;
}
.dlg .face i {
  width: 6px;
  height: 12px;
  background: #0d0f16;
  border-radius: 3px;
}

/* ---------- Phase 4b: videos, carousels, phone alerts ---------- */
.apic {
  position: relative;
}
.apic video {
  width: 100%;
  border-radius: 8px;
  display: block;
  background: #000;
}
.apic .badge {
  position: absolute;
  right: 4px;
  bottom: 4px;
  background: rgba(13, 15, 22, 0.8);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  padding: 2px 6px;
  border-radius: 6px;
}
.apic .badge.vid {
  left: 4px;
  right: auto;
}
.picks {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
  max-height: 260px;
  overflow-y: auto;
}
.pick {
  position: relative;
  border: 2px solid transparent;
  border-radius: 10px;
  padding: 0;
  background: #eef0f6;
  overflow: hidden;
  cursor: pointer;
}
.pick img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  display: block;
}
.pick span {
  display: block;
  font-size: 9px;
  padding: 2px 3px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  color: #3b4157;
}
.pick b {
  position: absolute;
  top: 4px;
  left: 4px;
  min-width: 20px;
  height: 20px;
  border-radius: 10px;
  background: #f5821f;
  color: #fff;
  font-size: 12px;
  display: none;
  align-items: center;
  justify-content: center;
}
.pick.on {
  border-color: #f5821f;
}
.pick.on b {
  display: flex;
}
.phone ol {
  margin: 0 0 6px;
  padding-left: 18px;
  font-size: 13px;
}
.phone .topic {
  display: block;
  background: #161925;
  color: #7cffb2;
  padding: 8px 10px;
  border-radius: 8px;
  font-size: 13px;
  user-select: all;
  word-break: break-all;
  margin: 4px 0;
}

/* ---------- Phase 5: Scheduler ---------- */
.due {
  font-size: 12px;
  color: #3b4157;
  margin: 2px 0 4px;
}
.sched {
  background: #fff;
  border: 1px solid #e1e4ee;
  border-radius: 12px;
  padding: 10px;
  margin: 8px 0;
  font-size: 13px;
}
.sched.bad {
  border-color: #e5484d;
  color: #b3261e;
}
.sched .st {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 6px;
  margin-bottom: 2px;
}
.sched ul {
  margin: 6px 0 0;
  padding-left: 18px;
}
.sched .bad {
  color: #b3261e;
}
.chip {
  font-size: 11px;
  font-weight: 700;
  background: #eef0f6;
  color: #3b4157;
  padding: 2px 8px;
  border-radius: 10px;
  white-space: nowrap;
}
.chip.on {
  background: #fff1e5;
  color: #b35a00;
}
.mini {
  margin-top: 8px;
  border: 1px solid #cfd4e2;
  background: #fff;
  border-radius: 8px;
  padding: 6px 10px;
  font-weight: 700;
  font-size: 12px;
}

.from {
  margin-bottom: 8px;
}

/* ---------- Phase 5½: content team ---------- */
.brief {
  font-size: 12px;
  margin: 4px 0;
  color: #3b4157;
}
.thumbs {
  display: flex;
  gap: 6px;
  margin: 6px 0;
}
.thumbs img {
  height: 96px;
  border-radius: 8px;
  display: block;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}
.mini:disabled {
  opacity: 0.6;
}

/* ---------- "Meta doesn't let bots" + your to-dos on approval cards ---------- */
.cant,
.todo {
  font-size: 12px;
  border-radius: 10px;
  padding: 8px 10px;
  margin: 8px 0;
  line-height: 1.4;
}
.cant {
  background: #fff4f4;
  border: 1px solid #f3c7c7;
  color: #7a2727;
}
.todo {
  background: #f2f5ff;
  border: 1px solid #cdd6f5;
  color: #26315c;
}
.todo.yourturn {
  background: #fff7ec;
  border: 2px solid #f5821f;
  color: #5a3200;
}
.todo.alldone {
  background: #eefaf1;
  border-color: #bfe5c9;
  color: #1f6b35;
}
.cant ul,
.todo ol {
  margin: 4px 0 0 18px;
  padding: 0;
}
.todo label {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  margin-top: 6px;
  cursor: pointer;
}
.todo label input {
  margin-top: 2px;
  width: 16px;
  height: 16px;
  flex: none;
  accent-color: #f5821f;
}
.todo input:checked + span {
  text-decoration: line-through;
  opacity: 0.6;
}

/* ---------- 📲 "I'll post it myself" ---------- */
.appr.self {
  border: 2px solid #475ca7;
}
.selfbox {
  font-size: 12px;
  background: #f2f5ff;
  border: 1px solid #cdd6f5;
  color: #26315c;
  border-radius: 10px;
  padding: 8px 10px;
  margin: 8px 0;
  line-height: 1.45;
}
.selfbox ol {
  margin: 4px 0 6px 18px;
  padding: 0;
}
.selfbox .saves {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 6px 0;
}
.selfbox .saves a {
  text-decoration: none;
}
.capbox textarea {
  width: 100%;
  font: inherit;
  font-size: 12px;
  border: 1px solid #cdd6f5;
  border-radius: 8px;
  padding: 6px;
  background: #fff;
  resize: vertical;
}
.capbox .mini {
  margin-top: 4px;
}
.selfbox .saves a.mini {
  display: inline-block;
  margin-top: 0;
  color: #26315c;
}
