.php-note {
  font-size: 11px;
  margin-top: 16px;
  color: var(--muted);
  line-height: 1.7;
}
.screenshot-image {
  display: block;
  width: 100%;
  max-height: 600px;
  object-fit: contain;
  margin: 16px 0;
}
.btn[hidden] {
  display: none !important;
}
.sidebar-profile {
  color: inherit;
  text-decoration: none;
  min-width: 0;
}
.sidebar-profile strong {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 116px;
}
.screenshot-source {
  position: fixed;
  width: 1px;
  height: 1px;
  left: 0;
  bottom: 0;
  opacity: 0.01;
  pointer-events: none;
}
.screenshot-archive-source {
  position: fixed;
  left: 0;
  top: 0;
  width: 1280px;
  height: 900px;
  border: 0;
  opacity: 0.01;
  pointer-events: none;
  z-index: -1;
}
.capture-kinds {
  border: 0;
  padding: 0;
  margin: 0 0 22px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.capture-kinds legend {
  font-weight: 700;
  margin-bottom: 12px;
}
.capture-kind {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 18px;
  border: 1px solid var(--border);
  border-radius: 12px;
  cursor: pointer;
  background: var(--raised);
}
.capture-kind:has(input:checked) {
  border-color: var(--accent);
  background: var(--soft);
}
.capture-kind input {
  width: 18px;
  height: 18px;
  padding: 0;
  margin-top: 4px;
  accent-color: var(--purple);
}
.capture-kind strong,
.capture-kind small {
  display: block;
}
.capture-kind small {
  color: var(--muted);
  margin-top: 5px;
  font-size: 12px;
  font-weight: 400;
}
#capture-submit {
  margin-top: 20px;
}
.capture-screenshot {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: var(--bg);
}
.capture-preview {
  position: relative;
}
.screenshot-badge {
  position: absolute;
  bottom: 8px;
  right: 8px;
  background: var(--surface);
}
.screenshot-viewer {
  flex: 1;
  overflow: auto;
  padding: 24px;
  text-align: center;
}
.screenshot-viewer img {
  max-width: 100%;
  height: auto;
}
@media (max-width: 600px) {
  .capture-kinds {
    grid-template-columns: 1fr;
  }
}
.text-preview {
  padding: 24px;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--soft), var(--surface));
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
}
.text-preview .icon {
  color: var(--accent);
  width: 28px;
  height: 28px;
}
.text-preview strong {
  font-size: 18px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.text-preview small {
  font-size: 10px;
  color: var(--muted);
}
.setup-wide {
  max-width: 520px;
}
.auth-content {
  overflow: auto;
}
.capture-options {
  grid-template-columns: 1fr;
}
.hero-top {
  max-width: 700px;
}
.hero h1 {
  font-size: 36px;
}
.url-text {
  overflow-wrap: anywhere;
}
.working {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 25px 0;
}
.form-errors:empty {
  display: none;
}
.form-errors {
  margin: 15px 0;
}
.detail-preview {
  padding: 25px;
}
.detail-preview .text-preview {
  min-height: 170px;
}
.timeline {
  max-height: 420px;
  overflow: auto;
}
.btn:disabled {
  cursor: not-allowed;
}
.viewer-bar .url-text {
  max-width: 650px;
}
.modal-backdrop {
  overflow: auto;
}
.preview-label {
  font-size: 9px;
  letter-spacing: 1px;
  text-transform: uppercase;
}
.stats-grid.three {
  grid-template-columns: repeat(3, 1fr);
}
@media (max-width: 700px) {
  .stats-grid.three {
    grid-template-columns: 1fr;
  }
  .hero h1 {
    font-size: 29px;
  }
  .hero-top br {
    display: none;
  }
  .viewer-bar .url-text {
    max-width: 100%;
  }
}
