.hidden {
  display: none !important;
}

main h1 {
  text-align: center;
  color: transparent;
  -webkit-background-clip: text;
  background-clip: text;
  background-image: linear-gradient(to right, #5B32F4, #740FD6);
  font-weight: 700;
  font-size: 36px;
  line-height: 1.15;
  margin-bottom: 20px;
}

main h1 span {
  color: #130E19;
  font-weight: 400;
}

@media (max-width: 992px) {
  main h1 {
    font-size: 32px;
  }
}

@media (max-width: 768px) {
  main h1 {
    font-size: 28px;
    line-height: 1.2;
    margin-bottom: 16px;
  }

  main h1 br {
    display: none;
  }
}

@media (max-width: 576px) {
  main h1 {
    font-size: 24px;
  }
}

.service_notice {
  max-width: 900px;
  margin: 0 auto;
  color: #6d6675;
  font-size: 12px;
  line-height: 1.45;
  text-align: center;
}

.check_option {
  min-height: 50px;
  border: 1px solid #E8E8E8;
  border-radius: 10px;
  background: #fff;
  padding: 12px 14px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: #130E19;
  font-size: 14px;
  line-height: 1.35;
  cursor: pointer;
}

.check_option input {
  width: 18px !important;
  height: 18px !important;
  margin-top: 1px;
  flex: 0 0 auto;
  accent-color: #5B32F4;
}

.captcha_row {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.form .btn[disabled],
.form .copy[disabled] {
  opacity: 0.65;
  cursor: default;
  transform: none !important;
}

.form .err.hidden {
  display: none !important;
}

#read-app > section {
  width: 100%;
}

#note-panel .form {
  max-width: 900px;
}

.admin_actions {
  max-width: 900px;
  margin: 0 auto 22px;
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

.admin_actions form {
  margin: 0;
}

.admin_actions .admin_btn {
  min-height: 48px;
  padding: 0 18px;
  border: 1px solid #e2ddfb;
  border-radius: 8px;
  background: #fff;
  color: #130e19;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.1;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease, background 0.2s ease;
  box-shadow: 0 8px 18px rgba(19, 14, 25, 0.06);
}

.admin_actions .admin_btn:before {
  content: "";
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  background: currentColor;
  mask: var(--admin-icon) center / contain no-repeat;
  -webkit-mask: var(--admin-icon) center / contain no-repeat;
}

.admin_actions .admin_btn:hover,
.admin_actions .admin_btn:focus-visible {
  transform: translateY(-2px);
  border-color: #cfc4ff;
  box-shadow: 0 12px 26px rgba(91, 50, 244, 0.14);
  outline: none;
}

.admin_actions .admin_btn_cleanup {
  --admin-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 6h18'/%3E%3Cpath d='M8 6V4h8v2'/%3E%3Cpath d='M19 6l-1 14H6L5 6'/%3E%3Cpath d='M10 11v5'/%3E%3Cpath d='M14 11v5'/%3E%3C/svg%3E");
  color: #5b32f4;
  background: #f7f5ff;
}

.admin_actions .admin_btn_site {
  --admin-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 12h18'/%3E%3Cpath d='M15 6l6 6-6 6'/%3E%3Cpath d='M3 5v14'/%3E%3C/svg%3E");
  color: #130e19;
}

.admin_actions .admin_btn_danger {
  --admin-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M10.3 3h3.4L22 18H2L10.3 3z'/%3E%3Cpath d='M12 9v4'/%3E%3Cpath d='M12 17h.01'/%3E%3C/svg%3E");
  background: linear-gradient(135deg, #d92d3a, #9f1722) !important;
  color: #fff !important;
  border-color: #b3202a !important;
  box-shadow: 0 10px 24px rgba(179, 32, 42, 0.22);
}

.admin_actions .admin_btn_danger:hover,
.admin_actions .admin_btn_danger:focus-visible {
  box-shadow: 0 14px 30px rgba(179, 32, 42, 0.28);
}

.danger_btn {
  background: #b3202a !important;
  color: #fff !important;
  border-color: #b3202a !important;
}

.admin_table_wrap {
  max-width: 1180px;
  margin: 0 auto;
  overflow-x: auto;
  background: #fff;
  border: 1px solid #e8e8e8;
  border-radius: 10px;
}

.admin_table {
  width: 100%;
  min-width: 900px;
  border-collapse: collapse;
  font-size: 13px;
}

.admin_table th,
.admin_table td {
  padding: 12px 14px;
  border-bottom: 1px solid #e8e8e8;
  text-align: left;
  vertical-align: top;
}

.admin_table th {
  background: #130e19;
  color: #fff;
  font-weight: 600;
}

.admin_table a {
  color: #5b32f4;
  font-weight: 600;
}

.table_link {
  border: 0;
  background: transparent;
  color: #5b32f4;
  font: inherit;
  font-weight: 600;
  padding: 0;
  margin: 0 8px 0 0;
  cursor: pointer;
}

.table_link:hover {
  text-decoration: underline;
}

.mono {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  word-break: break-all;
}

.badge {
  display: inline-block;
  padding: 4px 8px;
  border-radius: 999px;
  background: #eef9f1;
  color: #18713a;
  font-weight: 700;
}

.badge.danger {
  background: #ffecef;
  color: #b3202a;
}

.admin_detail {
  max-width: 900px;
  margin: 0 auto;
}

.admin_detail textarea {
  width: 100%;
  min-height: 180px;
  padding: 16px;
  border: 1px solid #e8e8e8;
  border-radius: 10px;
  resize: vertical;
  margin-bottom: 20px;
}

.admin_detail pre {
  white-space: pre-wrap;
  word-break: break-word;
  background: #fff;
  border: 1px solid #e8e8e8;
  border-radius: 10px;
  padding: 16px;
}

.pagination {
  max-width: 1180px;
  margin: 18px auto 0;
  display: flex;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
}

.page_button {
  min-width: 40px;
  height: 40px;
  border: 1px solid #e8e8e8;
  border-radius: 8px;
  background: #fff;
  color: #130e19;
  font-weight: 700;
  cursor: pointer;
}

.page_button.wide {
  padding: 0 14px;
}

.page_button.active {
  background: #5b32f4;
  border-color: #5b32f4;
  color: #fff;
}

.blog_grid {
  max-width: 1180px;
  margin: 28px auto 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.blog_card {
  background: #fff;
  border: 1px solid #e8e8e8;
  border-radius: 8px;
  padding: 22px;
  min-height: 260px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.blog_card time,
.blog_article_meta {
  color: #6d6675;
  font-size: 13px;
  font-weight: 600;
}

.blog_card h2 {
  color: #130e19;
  font-size: 20px;
  line-height: 1.25;
  margin: 12px 0 10px;
  text-align: left;
}

.blog_card h2 a {
  color: inherit;
}

.blog_card p {
  color: #6d6675;
  font-size: 15px;
  line-height: 1.55;
  margin-bottom: 18px;
}

.blog_read_link {
  margin-top: auto;
  color: #5b32f4;
  font-weight: 700;
}

.blog_article {
  max-width: 900px;
  margin: 0 auto;
}

.blog_article_meta {
  text-align: center;
  margin-bottom: 24px;
}

.blog_article_content {
  color: #130e19;
  font-size: 17px;
  line-height: 1.75;
}

.blog_article_content h2 {
  font-size: 26px;
  line-height: 1.25;
  margin: 30px 0 12px;
  color: #130e19;
  text-align: left;
}

.blog_article_content p,
.blog_article_content ul,
.blog_article_content ol {
  margin-bottom: 16px;
}

.blog_article_content a {
  color: #5b32f4;
  font-weight: 700;
}

.blog_article_actions {
  margin-top: 34px;
}

.blog_article_actions .btns {
  width: 100%;
}

@media (max-width: 992px) {
  .blog_grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .admin_actions {
    align-items: stretch;
  }

  .admin_actions form,
  .admin_actions .admin_btn {
    width: 100%;
  }

  .blog_grid {
    grid-template-columns: 1fr;
  }

  .blog_card {
    min-height: 0;
  }

  .blog_article_content {
    font-size: 16px;
  }

  .blog_article_content h2 {
    font-size: 22px;
  }
}
