.page-cafe-monitor .cafe-mon__hint {
  margin: 0 0 0.85rem;
  font-size: 0.8125rem;
  line-height: 1.5;
  color: var(--text-muted, #9aa3af);
}

.page-cafe-monitor .cafe-mon__hint code {
  display: inline-block;
  margin-top: 0.15rem;
  padding: 0.12rem 0.4rem;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.06);
  color: #d7e6f6;
  font-size: 0.78rem;
}

.page-cafe-monitor .cafe-mon__selected {
  margin-top: 0.75rem;
}

.page-cafe-monitor .cafe-mon__cafe-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  max-width: 100%;
  padding: 0.4rem 0.5rem 0.4rem 0.75rem;
  border-radius: 999px;
  border: 1px solid rgba(3, 199, 90, 0.35);
  background: rgba(3, 199, 90, 0.1);
  font-size: 0.8125rem;
}

.page-cafe-monitor .cafe-mon__cafe-chip strong {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.page-cafe-monitor .cafe-mon__cafe-chip button {
  border: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
  font-size: 1rem;
  line-height: 1;
}

.page-cafe-monitor .cafe-mon__filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem 0.7rem;
  margin: 0.75rem 0 0.15rem;
}

.page-cafe-monitor .cafe-mon__filter {
  display: grid;
  gap: 0.28rem;
  min-width: 8.5rem;
  flex: 1 1 8.5rem;
}

.page-cafe-monitor .cafe-mon__filter span {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--text-muted, #9aa3af);
}

.page-cafe-monitor .cafe-mon__select {
  width: 100%;
  min-height: 2.4rem;
  padding: 0.4rem 0.6rem;
  font-size: 0.8125rem;
}

.page-cafe-monitor .cafe-mon__select:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.page-cafe-monitor .cafe-mon__pager {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  margin-top: 0.85rem;
}

.page-cafe-monitor .cafe-mon__pager button {
  min-width: 2.1rem;
  min-height: 2.1rem;
  padding: 0.2rem 0.55rem;
  border: 1px solid var(--dp-border, rgba(255, 255, 255, 0.1));
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.03);
  color: inherit;
  font: inherit;
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
}

.page-cafe-monitor .cafe-mon__pager button[aria-current="page"] {
  border-color: rgba(3, 199, 90, 0.45);
  background: rgba(3, 199, 90, 0.14);
  color: #86efac;
}

.page-cafe-monitor .cafe-mon__pager button:not(:disabled):hover {
  border-color: rgba(3, 199, 90, 0.35);
}

.page-cafe-monitor .cafe-mon__pager button:disabled {
  opacity: 0.4;
  cursor: default;
}

.page-cafe-monitor .cafe-mon__article-list {
  display: grid;
  gap: 0.35rem;
  margin-top: 0.7rem;
}

.page-cafe-monitor .cafe-mon__article {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 0.7rem;
  align-items: center;
  width: 100%;
  padding: 0.7rem 0.75rem;
  border: 1px solid var(--dp-border, rgba(255, 255, 255, 0.1));
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.02);
  color: inherit;
  text-align: left;
  font-family: inherit;
  cursor: pointer;
}

.page-cafe-monitor .cafe-mon__article .dv-post-picker__thumb,
.page-cafe-monitor .cafe-mon__cafe-chip .dv-post-picker__thumb {
  flex: 0 0 2.1rem;
  width: 2.1rem;
  height: 2.1rem;
}

.page-cafe-monitor .cafe-mon__cafe-chip .dv-post-picker__grade,
.page-cafe-monitor .cafe-mon__article-meta .dv-post-picker__grade {
  color: #c9d6e4;
  font-weight: 700;
}

.page-cafe-monitor #cafe-post-selected.is-picked {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding-left: 0;
}

.page-cafe-monitor #cafe-post-selected.is-picked::before {
  display: none;
}

.page-cafe-monitor #cafe-post-selected.is-picked .dv-post-picker__thumb {
  flex: 0 0 2.1rem;
  width: 2.1rem;
  height: 2.1rem;
}

.page-cafe-monitor .cafe-post-selected__copy {
  min-width: 0;
  display: grid;
  gap: 0.15rem;
}

.page-cafe-monitor .cafe-post-selected__copy strong {
  overflow: hidden;
  font-weight: 750;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.page-cafe-monitor .cafe-post-selected__grade {
  color: #c9d6e4;
  font-size: 0.75rem;
  font-weight: 700;
}

.page-cafe-monitor .cafe-post-selected__stats {
  display: flex;
  flex-wrap: wrap;
  gap: 0.18rem 0.7rem;
  color: #94a3b8;
  font-size: 0.74rem;
  font-weight: 650;
}

.page-cafe-monitor .cafe-mon__article.is-selected {
  border-color: rgba(3, 199, 90, 0.45);
  background: rgba(3, 199, 90, 0.08);
}

.page-cafe-monitor .cafe-mon__check {
  margin-top: 0.15rem;
  width: 1rem;
  height: 1rem;
  accent-color: #03c75a;
}

.page-cafe-monitor .cafe-mon__article-title {
  display: block;
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: -0.02em;
}

.page-cafe-monitor .cafe-mon__article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.2rem 0.65rem;
  margin-top: 0.28rem;
  font-size: 0.72rem;
  color: var(--text-muted, #9aa3af);
}

.page-cafe-monitor .cafe-mon__badge {
  flex-shrink: 0;
  padding: 0.16rem 0.45rem;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 800;
  white-space: nowrap;
}

.page-cafe-monitor .cafe-mon__badge--hot {
  color: #86efac;
  background: rgba(3, 199, 90, 0.16);
}

.page-cafe-monitor .cafe-mon__badge--normal {
  color: #cbd5e1;
  background: rgba(255, 255, 255, 0.06);
}

.page-cafe-monitor .cafe-mon__count {
  font-size: 0.75rem;
  color: var(--text-muted, #9aa3af);
}

.page-cafe-monitor .cafe-mon__plan {
  margin: 0 0 0.85rem;
  padding: 0.7rem 0.85rem;
  border: 1px solid rgba(114, 183, 255, 0.22);
  border-radius: 12px;
  background: rgba(114, 183, 255, 0.08);
  color: #d7e7ff;
  font-size: 0.8125rem;
  font-weight: 700;
  line-height: 1.45;
}

.page-cafe-monitor .cafe-mon__plan:empty {
  display: none;
}

.page-cafe-monitor .cafe-mon__watch-list {
  display: grid;
  gap: 0.65rem;
}

.page-cafe-monitor .cafe-mon__watch {
  display: grid;
  gap: 0.55rem;
  padding: 0.85rem 0.9rem;
  border: 1px solid var(--dp-border, rgba(255, 255, 255, 0.1));
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.025);
}

.page-cafe-monitor .cafe-mon__watch-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
}

.page-cafe-monitor .cafe-mon__watch-copy {
  min-width: 0;
}

.page-cafe-monitor .cafe-mon__watch-cafe {
  margin: 0 0 0.2rem;
  font-size: 0.72rem;
  color: #86efac;
  font-weight: 700;
}

.page-cafe-monitor .cafe-mon__watch-title {
  margin: 0;
  font-size: 0.92rem;
  font-weight: 800;
  line-height: 1.4;
  letter-spacing: -0.02em;
}

.page-cafe-monitor .cafe-mon__watch-remove {
  flex-shrink: 0;
  border: 0;
  background: transparent;
  color: var(--text-muted, #9aa3af);
  cursor: pointer;
  font-size: 0.78rem;
  font-weight: 700;
}

.page-cafe-monitor .cafe-mon__watch-remove:hover {
  color: #fca5a5;
}

.page-cafe-monitor .cafe-mon__toggles {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.4rem;
}

.page-cafe-monitor .cafe-mon__switch {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 0.18rem;
  min-height: 0;
  padding: 0.55rem 0.7rem;
  border: 1px solid var(--dp-border, rgba(255, 255, 255, 0.12));
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.03);
  color: inherit;
  text-align: left;
  font-family: inherit;
  cursor: pointer;
  pointer-events: auto;
}

.page-cafe-monitor .cafe-mon__switch:hover {
  border-color: rgba(114, 183, 255, 0.4);
}

.page-cafe-monitor .cafe-mon__switch.is-on {
  border-color: rgba(3, 199, 90, 0.5);
  background: rgba(3, 199, 90, 0.12);
}

.page-cafe-monitor .cafe-mon__switch-copy {
  display: flex;
  flex-direction: column;
  gap: 0.08rem;
  min-width: 0;
  font-size: 0.75rem;
  font-weight: 600;
  color: #d5dce6;
}

.page-cafe-monitor .cafe-mon__switch-copy b {
  margin-right: 0;
  font-size: 0.88rem;
  font-weight: 800;
  color: #9aa3af;
}

.page-cafe-monitor .cafe-mon__switch.is-on .cafe-mon__switch-copy,
.page-cafe-monitor .cafe-mon__switch.is-on .cafe-mon__switch-copy b,
.page-cafe-monitor .cafe-mon__switch.is-on .cafe-mon__switch-state {
  color: #86efac;
}

.page-cafe-monitor .cafe-mon__switch-state {
  flex-shrink: 0;
  font-size: 0.75rem;
  font-weight: 800;
  color: #94a3b8;
}

.page-cafe-monitor .cafe-mon__switch * {
  pointer-events: none;
}

.page-cafe-monitor .cafe-mon__toast {
  position: fixed;
  left: 50%;
  bottom: 1.25rem;
  transform: translateX(-50%);
  z-index: 1400;
  max-width: min(92vw, 28rem);
  padding: 0.7rem 1rem;
  border-radius: 12px;
  border: 1px solid rgba(74, 222, 128, 0.35);
  background: rgba(19, 19, 19, 0.96);
  color: #86efac;
  font-size: 0.86rem;
  font-weight: 700;
  line-height: 1.45;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.45);
}

.page-cafe-monitor .cafe-mon__toast.is-error {
  border-color: rgba(248, 113, 113, 0.4);
  color: #fca5a5;
}

.page-cafe-monitor .cafe-mon__toast[hidden] {
  display: none !important;
}

.page-cafe-monitor .cafe-mon__empty {
  margin: 0;
  padding: 1.4rem 0.5rem;
  text-align: center;
  color: var(--text-muted, #9aa3af);
  font-size: 0.85rem;
}

.page-cafe-monitor .cafe-mon__inline-link {
  color: #86efac;
  font-weight: 700;
  text-decoration: none;
}

.page-cafe-monitor .cafe-mon__inline-link:hover {
  text-decoration: underline;
}

.page-cafe-monitor .dv-post-picker__table--cafe tbody tr {
  cursor: pointer;
}

.page-cafe-monitor .dv-post-picker__table--cafe thead th:nth-child(1) {
  width: 58%;
}

.page-cafe-monitor .dv-post-picker__table--cafe thead th:nth-child(2) {
  width: 22%;
}

.page-cafe-monitor .dv-post-picker__cafe {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  min-width: 0;
}

.page-cafe-monitor .dv-post-picker__thumb {
  position: relative;
  flex: 0 0 2.4rem;
  width: 2.4rem;
  height: 2.4rem;
  overflow: hidden;
  border-radius: 8px;
  background: rgba(148, 163, 184, 0.16);
}

.page-cafe-monitor .dv-post-picker__thumb img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-cafe-monitor .dv-post-picker__thumb-fallback {
  display: grid;
  width: 100%;
  height: 100%;
  place-items: center;
  color: #c5d4e4;
  font-size: 0.82rem;
  font-weight: 800;
}

.page-cafe-monitor .dv-post-picker__cafe-copy {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.18rem;
}

.page-cafe-monitor .dv-post-picker__td--grade {
  color: #c9d6e4;
  font-weight: 700;
  white-space: nowrap;
}

.page-cafe-monitor .dv-post-picker__grade-badge {
  display: inline-flex;
  align-items: center;
  margin-left: 0.35rem;
  padding: 0.08rem 0.36rem;
  border-radius: 999px;
  background: rgba(3, 199, 90, 0.16);
  color: #7ee0a8;
  font-size: 0.68rem;
  font-weight: 800;
  vertical-align: middle;
}

.page-cafe-monitor .cafe-dir__spinner {
  flex: 0 0 auto;
  width: 1.7rem;
  height: 1.7rem;
  border: 3px solid rgba(148, 163, 184, 0.28);
  border-top-color: #03c75a;
  border-radius: 50%;
  animation: cafe-dir-spin 0.7s linear infinite;
}

.page-cafe-monitor .cafe-dir__spinner--sm {
  width: 1.1rem;
  height: 1.1rem;
  border-width: 2px;
}

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

.page-cafe-monitor .cafe-dir__search-loading {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  width: 100%;
  margin: 0.75rem 0 0;
  padding: 0.85rem 1rem;
  border: 1px solid rgba(3, 199, 90, 0.38);
  border-radius: 12px;
  background: rgba(3, 199, 90, 0.12);
  color: #86efac;
  font-size: 0.84rem;
  font-weight: 700;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.page-cafe-monitor .cafe-dir__search-loading[hidden] {
  display: none !important;
}

.page-cafe-monitor #cafe-post-selected.is-checking {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  min-height: 3.1rem;
  padding: 0.7rem 0.85rem;
  border: 1px dashed rgba(3, 199, 90, 0.42);
  border-radius: 12px;
  background: rgba(3, 199, 90, 0.08);
  color: #86efac;
}

.page-cafe-monitor #cafe-post-selected.is-checking::before {
  display: none;
}

.page-cafe-monitor .dv-post-source.is-checking-url .analysis-v2-input,
.page-cafe-monitor .dv-post-source.is-checking-url .analysis-v2-submit {
  opacity: 0.72;
}
