@charset "utf-8";
/* =============================================
   CSS 变量主题配置（全部颜色/阴影/圆角/间距集中管理）
============================================= */
:root {
  /* 布局 */
  --container-max-width: 800px;
  /* 主色调 */
  --color-primary: #ff017a;
  --color-primary-light: #3b82f6;
  --color-accent: #f43f5e;
  --color-red: #dc2626;
  --color-danger: #ef4444;
  --color-submit: #2563eb;
  --color-reset: #f32828;
  /* 功能色 */
  --color-btn-green: #029e73;
  --color-btn-green-active: #018460;
  --color-btn-blue: #2589eb;
  --color-btn-blue-active: #1c76ce;
  --color-logout: #e74c3c;
  --color-logout-hover: #c0392b;
  --color-box-border: #FF5722;
  --color-input-border: #507bbf;
  --color-link-a: #663366;
  /* 文本 */
  --color-text-dark: #1f2937;
  --color-text-normal: #303643;
  --color-text-gray: #8892a0;
  --color-text-light: #9098a7;
  --color-text-h4: #333333;
  --color-text-quote: #375b94;
  /* 背景 */
  --color-bg-page-solid: #cccccc;
  --color-bg-white: #ffffff;
  --color-bg-gray: #f7f9fc;
  --color-bg-hover: #f0f6ff;
  --color-bg-card-gray: #f9f9f9;
  --color-bg-faint: #fbfcfe;
  --color-bg-faint2: #f9fafb;
  --color-bg-footer: #2f363c;
  --color-bg-tip: linear-gradient(90deg, #f0f7ff, #f6f9ff);
  --color-bg-page-gradient: linear-gradient(135deg, #eef2ff, #f5f7fa);
  /* 表格 */
  --color-table-td: #dddddd;
  --color-table-td-after: #eeeeee;
  --color-table-tr: #f2f2f2;
  --color-table-tr-hover: #e9f5e9;
  --gradient-table-th: linear-gradient(135deg, #ff444a 25%, #ff6cc9 70%, #ff017a 100%);
  --gradient-del-btn: linear-gradient(135deg, #ff2a4a 25%, #ff6cc9 70%, #ff017a 100%);
  /* 边框 */
  --color-border-base: #e9edf3;
  --color-border-focus: var(--color-primary-light);
  --color-border-lightgray: #e5e7eb;
  --color-border-gray2: #e0d0d0;
  --color-border-quote-line: #16b777;
  --color-border-form-left: #f86080;
  --color-border-sep: #D8D8D8;
  --color-border-ced4da: #ced4da;
  --color-border-e9ecef: #e9ecef;
  /* 组件自定义颜色 */
  --color-tab-normal: #16baaa;
  --color-tab-active: #ff4500;
  --color-tab-hover: #23292e;
  --color-alert-danger-text: #a94442;
  --color-alert-danger-bg: #f2dede;
  --color-alert-danger-border: #ebccd1;
  /* aspx表单 */
  --color-aspx-text: #1d2129;
  --color-aspx-desc: #86909c;
  --color-aspx-label: #4e5969;
  --color-aspx-border: #c9cdd4;
  --color-aspx-focus: #409eff;
  --color-aspx-btn-secondary: #ff2563;
  /* form‑row */
  --color-formrow-label: #d92323;
  --color-btn-pass: #ff2020;
  /* 帖子模块 */
  --color-post-link-blue: #007bff;
  --color-post-text-gray: #666666;
  --color-post-content: #343a40;
  --color-post-tag-sticky: #ffc107;
  --color-post-stat-color: #c75;
  /* 用户列表 */
  --color-user-link: #a832a8;
  --color-user-link-hover: #6a1b9a;
  /* custom‑dropdown 下拉组件 */
  --color-dd-text: #7d2638;
  --color-dd-bg: #fdf2f5;
  --color-dd-border: #e8c1ce;
  --color-dd-btn-primary: #b71c1c;
  --color-dd-btn-primary-hover: #9a1212;
  --color-dd-option-checked-bg: #fee;
  --color-dd-disabled-bg: #faf0f2;
  /* confirmButton */
  --color-confirm-btn: #ff0b56;
  --color-confirm-btn-hover: #f0bf56;
  /* 分页 */
  --color-pagination-bg: #f8f9fa;
  --color-pagination-disabled-bg: #f1f3f5;
  --color-pagination-disabled-border: #dee2e6;
  --color-pagination-text: #495057;
  /* 阴影 */
  --shadow-sm: 0 2px 10px rgba(0, 0, 0, 0.06);
  --shadow-sm‑01: 0 2px 10px rgba(0, 0, 0, 0.1);
  --shadow-sm‑005: 0 2px 10px rgba(0, 0, 0, 0.05);
  --shadow‑lg: 0 8px 30px rgba(30, 60, 120, 0.08);
  --shadow-input: 0 0 0 4px rgba(59, 130, 246, 0.12);
  --shadow-input‑blue‑01: 0 0 0 3px rgba(64, 158, 255, 0.1);
  --shadow-input‑blue‑02: 0 0 0 2px rgba(59, 130, 246, 0.2);
  --shadow-input‑red‑02: 0 0 0 2px rgba(183, 28, 28, 0.2);
  --shadow-post‑hover: 0 15px 35px rgba(0, 0, 0, 0.15);
  /* 圆角 */
  --radius-sm: 8px;
  --radius-md: 10px;
  --radius-lg: 16px;
  /* 动画 */
  --transition-base: all 0.25s ease;
  /* z-index */
  --z-decor: -1;
 /* 按键 */
  --color-background-color: #ff0b56;
  --color-background-hover: #f0bf56;
  --color-disabled: #6c757d;
}
/* =============================================
   Reset & 全局基础
============================================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  max-width: var(--container-max-width);
  margin: 0 auto;
  margin-bottom: 0;
  font: 16px/30px "Microsoft YaHei";
  line-height: 28px;
  background: var(--color-bg-page-solid) url(/Template/default/img/bg.jpg);
  box-shadow: 0 0 15px var(--color-bg-page-solid);
  overflow-y: scroll;
}
a {
  color: var(--color-link-a);
  text-decoration: none !important;
}
input {
  outline: none;
  border: none;
  border-bottom: 1px solid var(--color-input-border);
  padding: 5px;
  border-radius: 5px;
}
input:focus {
  box-shadow: 2px 2px 15px var(--color-box-border);
}
/* =============================================
   Footer
============================================= */
.footer {
  grid-area: footer;
  padding: 20px;
  background: var(--color-bg-footer);
  color: var(--color-bg-white);
  border-radius: var(--radius-sm);
  text-align: center;
   font-size: 16px !important;
}

.glyphicon-time:before {
  content: "▼";
}
/* =============================================
   按钮组 btn‑group
============================================= */
.btn-group {
  display: flex;
  gap: 14px;
  flex-wrap: nowrap;
}
.btn-reset,
.btn-submit {
  flex: 1;
  min-width: 120px;
  padding: 13px 20px;
  border: none;
  border-radius: var(--radius-sm);
  font-size: 14px;
  color: var(--color-bg-white);
  cursor: pointer;
}
.btn-reset {
  background-color: var(--color-reset);
}
.btn-submit {
  background-color: var(--color-submit);
}

.btn-reset:hover {
  background-color: var(--color-submit);
}
.btn-submit:hover {
  background: var(--gradient-del-btn);
}
/* =============================================
   表格样式
============================================= */
.tablecontainer {
  max-width: 100%;
  margin: 0 auto;
}
h4 {
  margin: 0 0 12px;
  text-align: center;
  color: var(--color-text-h4);
}
.table-container {
  overflow-x: auto;
  background-color: var(--color-bg-white);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm‑01);
}
table {
  width: 100%;
  min-width: 600px;
  border-collapse: collapse;
}
th,
td {
  padding: 12px 15px;
  text-align: left;
  border-bottom: 1px solid var(--color-table-td);
}
th {
  background: var(--gradient-table-th);
  color: var(--color-bg-white);
  font-weight: bold;
  min-width: 100px;
}
tr:nth-child(even) {
  background-color: var(--color-table-tr);
}
tr:hover {
  background-color: var(--color-table-tr-hover);
}
.btn-box {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
}
.btn-box > * {
  flex: 0 0 auto;
  margin-left: 12px;
}
.btn-box > *:first-child {
  margin-left: 0;
}
.btn.green {
  flex: none;
  background: var(--color-btn-green);
}
.btn.green:active {
  background: var(--color-btn-green-active);
}
.btn.blue {
  flex: none;
  background: var(--color-btn-blue);
}
.btn.blue:active {
  background: var(--color-btn-blue-active);
}
.logout-btn {
  padding: 2px 14px;
  background: var(--color-logout);
  color: var(--color-bg-white);
  border: none;
  border-radius: 5px;
  font-size: 14px;
  cursor: pointer;
  transition: 0.2s;
}
.logout-btn:hover {
  background: var(--color-logout-hover);
}

/* =============================================
   add‑form‑wrap 添加表单
============================================= */
.add-form-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px;
  margin-bottom: 14px;
  background: var(--color-bg-white);
  border-radius: var(--radius-md);
  box-shadow: 0 1px 4px var(--shadow-sm‑005);
}
.add-form-wrap input {
  outline: none;
  border: none;
  height: 35px;
  line-height: 35px;
  border-bottom: 1px solid var(--color-input-border);
  padding: 5px;
  border-radius: 5px;
}
.add-form-wrap input:focus {
  box-shadow: 2px 2px 15px var(--color-box-border);
}
.uid-input {
  flex: 1;
  min-width: 0;
  padding: 12px 14px;
  border: 1px solid var(--color-table-td-after);
  border-radius: var(--radius-sm);
  font-size: 15px;
}
.add-btn {
  flex: none;
  flex-shrink: 0;
  padding: 12px 26px;
  border: none;
  border-radius: var(--radius-sm);
  background: var(--color-btn-blue);
  color: var(--color-bg-white);
  font-size: 15px;
  cursor: pointer;
}
.add-btn:active {
  background: var(--color-btn-blue-active);
}
.avatar {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 50%;
}
.btn-wrap {
  display: flex;
  flex-wrap: nowrap;
  gap: 3px;
  margin-bottom: 10px;
}
.del-btn {
  flex: 1;
  padding: 5px 10px;
  border: none;
  border-radius: var(--radius-sm);
  background: var(--gradient-del-btn);
  color: var(--color-bg-white);
  font-size: 12px;
  cursor: pointer;
}
.wrap {
 max-width: var(--container-max-width);
  padding: 10px 20px;
  background: var(--color-bg-white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow‑lg);
}

.tip {
  padding: 14px 16px;
  margin-bottom: 10px;
  background: var(--color-bg-tip);
  border-left: 5px solid var(--color-primary-light);
  border-radius: var(--radius-md);
  font-size: 14px;
  color: var(--color-text-quote);
  line-height: 1.8;
}
.item {
  margin-bottom: 24px;
}
.desc {
  margin-bottom: 10px;
  padding-left: 2px;
  font-size: 13px;
  color: var(--color-text-light);
}
/* =============================================
   浮动标签输入框 input‑wrap
============================================= */
.input-wrap {
  position: relative;
  width: 100%;
}
.input-wrap input,
.input-wrap textarea {
  width: 100%;
  padding: 18px 15px 13px;
  border: 1px solid var(--color-border-base);
  border-radius: var(--radius-md);
  background: var(--color-bg-faint);
  font-size: 15px;
  outline: none;
  transition: var(--transition-base);
}
.input-wrap textarea {
  min-height: 130px;
  resize: vertical;
  line-height: 1.7;
}
.input-wrap input:focus,
.input-wrap textarea:focus {
  border-color: var(--color-border-focus);
  background: var(--color-bg-white);
  box-shadow: var(--shadow-input);
}
.input-wrap .label {
  position: absolute;
  left: 15px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 15px;
  font-weight: 500;
  color: var(--color-text-light);
  pointer-events: none;
  transition: var(--transition-base);
}
.input-wrap textarea ~ .label {
  top: 18px;
  transform: none;
}
.input-wrap input:focus ~ .label,
.input-wrap input:not(:placeholder-shown) ~ .label,
.input-wrap textarea:focus ~ .label,
.input-wrap textarea:not(:placeholder-shown) ~ .label {
  top: 8px;
  left: 12px;
  padding: 0 6px;
  font-size: 12px;
  color: var(--color-primary);
}
/* =============================================
   list‑container 列表容器
============================================= */
.list-container {
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: 5px;
  background: var(--color-bg-white);
  border-radius: var(--radius-sm);;
  box-shadow: var(--shadow-sm‑005);
}
.list-title {
  margin-bottom: 20px;
  font-size: 18px;
  font-weight: 600;
  color: var(--color-text-dark);
}
.list-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 5px;
  margin-bottom: 0;
  border-bottom: 1px solid var(--color-border-lightgray);
  border-radius: var(--radius-sm);
  transition: background 0.3s ease;
}
.list-item:hover {
  background: var(--color-bg-faint2);
}
.item-content {
  display: flex;
  align-items: center;
  flex: 1;
}
.item-number {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  margin-right: 15px;
  border-radius: 50%;
  background: var(--color-primary-light);
  color: var(--color-bg-white);
  font-size: 14px;
  font-weight: 600;
}
.item-title {
  font-size: 16px;
  font-weight: 500;
  color: var(--color-text-dark);
}
/* =============================================
   switch 开关组件
============================================= */
.switch {
  position: relative;
  display: inline-block;
  width: 50px;
  height: 26px;
}
.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}
.slider {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: 26px;
  background: var(--color-border-lightgray);
  cursor: pointer;
  transition: 0.4s;
}
.slider:before {
  position: absolute;
  left: 4px;
  bottom: 4px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--color-bg-white);
  content: "";
  transition: 0.4s;
}
input:checked + .slider {
  background: var(--color-primary-light);
}
input:checked + .slider:before {
  transform: translateX(24px);
}
/* =============================================
   page‑content
============================================= */
.page-content {
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: 10px 5px;
}
.preamble,
.postscript {
  margin-bottom: 5px;
}
/* =============================================
   Tab 标签页
============================================= */
.tabs {
  display: flex;
  margin-bottom: 20px;
  text-align: center;
}
.tab-button {
  flex: 1;
  margin: 0 5px;
  padding: 15px 20px;
  border: none;
  border-radius: 5px;
  background-color: var(--color-tab-normal);
  color: var(--color-bg-white);
  font-size: 16px;
  cursor: pointer;
  box-shadow: 0 3px 5px var(--shadow-sm‑01);
  transition: background-color 0.3s, box-shadow 0.3s;
}
.tab-button a {
  color: var(--color-bg-white);
  text-decoration: none;
}
.tab-button.active {
  background-color: var(--color-tab-active);
  box-shadow: 0 2px 4px var(--shadow-sm‑01);
}
.tab-button:hover {
  background-color: var(--color-tab-hover);
}
.tab-content {
  display: none;
  padding: 10px 5px;
  border: 1px solid var(--color-bg-page-solid);
  border-radius: 5px;
  background-color: var(--color-bg-white);
  box-shadow: 0 0 10px var(--shadow-sm‑01);
}
.tab-content.active {
  display: block;
}

/* =============================================
   select 下拉框美化
============================================= */
select {
  width: 120px;
  padding: 5px 10px;
  border: 2px solid var(--color-bg-page-solid);
  border-radius: 6px;
  background-color: var(--color-bg-white);
  color: var(--color-text-h4);
  font-size: 16px;
  appearance: none;
  -moz-appearance: none;
  -webkit-appearance: none;
  background-image: url('data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org/2000%2Fsvg%22%20viewBox%3D%220%200%204%205%22%20fill%3D%22%23333%22%3E%3Cpath%20d%3D%22M2%200L0%202h4zm0%205L0%203h4z%22%2F%3E%3C%2Fsvg%3E');
  background-position: right 10px center;
  background-repeat: no-repeat;
  background-size: 10px;
}
select:focus,
select:hover {
  border-width: 1px;
  border-style: solid;
  border-color: var(--color-red);
  outline: none;
  box-shadow: 0 0 5px rgba(0, 123, 255, 0.5);
}
select:disabled {
  background-color: var(--color-border-e9ecef);
  cursor: not-allowed;
}

/* =============================================
   container‑text
============================================= */
.container-text {
  max-width: var(--container-max-width);
  margin-bottom: 3px;
  padding: 10px;
  border: 1px solid var(--color-bg-page-solid);
  border-radius: 5px;
  background-color: var(--color-bg-card-gray);
  text-align: left;
  box-shadow: 0 0 10px var(--shadow-sm‑01);
}
.container-text:hover {
  background-color: rgba(0, 0, 0, 0.1);
}
.admin-name {
  margin-bottom: 10px;
  font-size: 16px;
  font-weight: bold;
}
.prize-info {
  margin-bottom: 10px;
  font-size: 14px;
  color: var(--color-text-h4);
}
.operation-time {
  margin-bottom: 0;
  font-size: 12px;
  color: var(--color-text-h4);
}
/* =============================================
   alert 提示框
============================================= */
.alert {
  padding: 15px;
  margin-bottom: 20px;
  border: 1px solid transparent;
  border-radius: 4px;
}
.alert-danger {
  color: var(--color-alert-danger-text);
  background-color: var(--color-alert-danger-bg);
  border-color: var(--color-alert-danger-border);
}
.layui-elem-quote {
  margin: 0 20px;
  padding: 15px;
  border-left: 5px solid var(--color-border-quote-line);
  border-radius: 12px;
  background-color: var(--color-bg-card-gray);
  line-height: 1.8;
}
.layui-quote-nm {
  border-width: 1px;
  border-left-width: 5px;
  border-style: solid;
  background: 0 0;
}
/* =============================================
   aspx‑container 表单容器
============================================= */
.aspx-container {
  width: 100%;
  max-width: var(--container-max-width);
  margin: 5px auto;
  padding: 10px 20px;
  background: var(--color-bg-white);
  border-radius: var(--radius-lg);
  box-shadow: 0 4px 20px var(--shadow‑lg);
}
.aspx-title {
  margin-bottom: 12px;
  font-size: 16px;
  font-weight: 700;
  color: var(--color-aspx-text);
  text-align: center;
  letter-spacing: 0.5px;
}
.aspx-desc {
  margin-bottom: 10px;
  font-size: 15px;
  color: var(--color-aspx-desc);
  text-align: left;
  line-height: 1.6;
}
/* 输入框行容器：大屏2列，小屏自动1列 */
.aspx-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  margin-bottom: 20px;
}

/* 兼容：如果一行只放1个item，也正常占满 */
.aspx-row .aspx-item {
  margin-bottom: 0; /* 取消item原来的底部margin，交给row的gap控制间距 */
}

.aspx-item {
  position: relative;
  margin-bottom: 20px;
}
.aspx-label {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 15px;
  font-weight: 500;
  color: var(--color-aspx-label);
  pointer-events: none;
}
.aspx-textarea {
  width: 100%;
  height: 120px;
  padding: 0 16px 0 88px;
  border: 1px solid var(--color-aspx-border);
  border-radius: 8px;
  background-color: var(--color-bg-card-gray);
  font-size: 15px;
  color: var(--color-aspx-text);
  outline: none;
  transition: all 0.2s ease;
}
.aspx-textarea:focus {
  border-color: var(--color-aspx-focus);
  background-color: var(--color-bg-white);
  box-shadow: var(--shadow-input‑blue‑01);
}
.aspx-input {
  width: 100%;
  height: 48px;
  padding: 0 16px 0 88px;
  border: 1px solid var(--color-aspx-border);
  border-radius: 8px;
  background-color: var(--color-bg-card-gray);
  font-size: 15px;
  color: var(--color-aspx-text);
  outline: none;
  transition: all 0.2s ease;
}
.aspx-input:focus {
  border-color: var(--color-aspx-focus);
  background-color: var(--color-bg-white);
  box-shadow: var(--shadow-input‑blue‑01);
}
.aspx-submit-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 14px;
  border: none;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--color-primary), var(--color-submit));
  color: var(--color-bg-white);
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}
.aspx-submit-btn a {
  color: var(--color-bg-white);
  text-decoration: none !important;
}
.aspx-submit-btn:hover {
  transform: scale(1.02);
  background: linear-gradient(135deg, var(--color-submit), var(--color-primary));
}
.aspx-submit-btn:active {
  transform: scale(0.98);
}

.submit-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 14px;
  border: none;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--color-primary), var(--color-aspx-btn-secondary));
  color: var(--color-bg-white);
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}
.submit-btn:hover {
  transform: scale(1.02);
  background: linear-gradient(135deg, var(--color-aspx-btn-secondary), var(--color-primary));
}
.submit-btn:active {
  transform: scale(0.98);
}
/* =============================================
   form‑row
============================================= */
.form-row {
  display: flex;
  align-items: center;
  gap: 15px;
  margin: 0 5px;
  padding: 20px;
  border: 1px solid var(--color-border-gray2);
  border-left: 3px solid var(--color-border-form-left);
  border-radius: 12px;
  background-color: var(--color-bg-white);
}
.form-label {
  flex: 0 0 auto;
  white-space: nowrap;
  font-size: 18px;
  font-weight: bold;
  color: var(--color-formrow-label);
}
.form-input {
  flex: 1;
  min-width: 0;
  padding: 10px 15px;
  border: 1px solid var(--color-bg-page-solid);
  border-radius: 8px;
  font-size: 16px;
}
.form-btn {
  flex: 0 0 auto;
  padding: 8px 16px;
  border: none;
  border-radius: 8px;
  background-color: transparent;
  color: var(--color-bg-white);
  font-size: 16px;
  cursor: pointer;
  white-space: nowrap;
}
.btn-pass {
  background-color: var(--color-btn-pass);
}

/* =============================================
   post 帖子模块
============================================= */
.post-container {
  max-width: var(--container-max-width);
  margin: 10px auto;
  padding: 20px;
  border-radius: 5px;
  background-color: var(--color-bg-white);
  box-shadow: 0 0 5px var(--shadow-sm‑01);
}
.post-container:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-post‑hover);
  background: var(--color-table-td-after);
}
.post {
  border-bottom: 1px solid var(--color-border-e9ecef);
}
.post:last-child {
  border-bottom: none;
}
.post-title {
  margin-bottom: 10px;
  font-size: 16px;
  font-weight: bold;
  color: var(--color-post-link-blue);
}
.post-title a {
  color: var(--color-post-text-gray);
  text-decoration: none;
}
.post-title a:hover {
  color: var(--color-red);
  text-decoration: none;
}
.post-info {
  margin-bottom: 10px;
  font-size: 14px;
}
.post-content {
  font-size: 16px;
  color: var(--color-post-content);
}
.sticky-label {
  padding: 3px 8px;
  margin-right: 10px;
  border-radius: 3px;
  background-color: var(--color-post-tag-sticky);
  color: var(--color-bg-white);
  font-size: 12px;
}
.sticky-hot,
.sticky-suoding {
  padding: 3px 8px;
  margin-right: 10px;
  border-radius: 3px;
  background-color: var(--color-red);
  color: var(--color-bg-white);
  font-size: 12px;
}
.post-stats {
  display: flex;
  justify-content: space-between;
  margin-top: 10px;
  font-size: 14px;
}
.post-stats span {
  color: var(--color-post-stat-color);
}
/* =============================================
   decor 浮动装饰元素
============================================= */
.decor {
  position: absolute;
  top: 0;
  left: 0;
  z-index: var(--z-decor);
  width: 100%;
  height: 80px;
  overflow: hidden;
}
.decor-circle {
  position: absolute;
  border-radius: 50%;
  background: rgba(59, 130, 246, 0.1);
  animation: float 6s ease-in-out infinite;
}
.c1 {
  top: -20px;
  left: 10%;
  width: 60px;
  height: 60px;
}
.c2 {
  top: 30px;
  right: 15%;
  width: 40px;
  height: 40px;
  animation-delay: 1s;
}
.c3 {
  top: 10px;
  left: 70%;
  width: 50px;
  height: 50px;
  animation-delay: 2s;
}
@keyframes float {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}
main {
  flex: 1;
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: 10px 20px;
}

.info {
  padding: 5px 10px;
  margin-bottom: 5px;
  border-radius: 12px;
  background: var(--color-bg-white);
  box-shadow: 0 2px 8px var(--shadow-sm‑005);
  transition: transform 0.3s ease;
}
.info:hover {
  transform: scale(1.01);
}
.info h3 {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
  color: var(--color-text-dark);
}
.info h3::before {
  content: 'ℹ️';
  font-size: 18px;
}
.info p {
  font-size: 14px;
  color: var(--color-text-gray);
  line-height: 1.5;
}
.required {
  color: var(--color-accent);
  font-weight: 600;
}
.form {
  padding: 0 5px;
  border-radius: 12px;
  background: var(--color-bg-white);
  box-shadow: 0 4px 12px var(--shadow‑lg);
  transition: box-shadow 0.3s ease;
}
.form:hover {
  box-shadow: 0 6px 16px var(--shadow-sm‑01);
}
.form-group {
  margin-bottom: 20px;
}
.form-left {
  text-align: left !important;
}
.form-label {
  display: block;
  margin-bottom: 6px;
  font-size: 14px;
  font-weight: 500;
  color: var(--color-text-dark);
}
.form-input {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid var(--color-border-lightgray);
  border-radius: var(--radius-sm);
  font-size: 15px;
  transition: all 0.3s ease;
}
.form-input:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: var(--shadow-input‑blue‑02);
}
.row {
  display: flex;
  gap: 15px;
}
.row .form-group {
  flex: 1;
  margin-bottom: 0;
}

.radio-group {
  display: flex;
  gap: 20px;
  margin-top: 8px;
  flex-wrap: wrap;
}
.radio-item {
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
}
.radio-input {
  accent-color: var(--color-primary);
  width: 16px;
  height: 16px;
}
.radio-label {
  font-size: 14px;
  color: var(--color-text-dark);
}
.toolbox {
  max-width: var(--container-max-width);
  margin: 0 auto;
  border-radius: 10px;
  background-color: var(--color-bg-white);
  box-shadow: var(--shadow-sm‑005);
}
/* =============================================
   pagination 分页
============================================= */
.pagination {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  margin: 20px 0;
  border-radius: 8px;
  background-color: var(--color-pagination-bg);
  list-style: none;
}
.pagination-btn {
  padding: 4px 6px;
  border: 1px solid var(--color-bg-page-solid);
  border-radius: 4px;
  background-color: var(--color-bg-white);
  font-size: 14px;
  cursor: pointer;
  transition: all 0.2s;
}
.pagination-btn:hover:not(:disabled) {
  background-color: var(--color-border-e9ecef);
  border-color: var(--color-bg-page-solid);
}
.pagination-btn:disabled {
  background-color: var(--color-pagination-disabled-bg);
  border-color: var(--color-pagination-disabled-border);
  color: var(--color-pagination-text);
  cursor: not-allowed;
}
.pagination-info {
  padding: 0 8px;
  font-size: 14px;
  color: var(--color-pagination-text);
}
.line1,
.line2 {
  word-break: break-all;
  padding: 5px;
  background-color: var(--color-bg-white);
  border-bottom: 1px solid var(--color-border-sep);
  line-height: 30px;
  transition: 0.2s;
}
.line1 a,
.line2 a {
  text-decoration: none;
  text-shadow: rgba(50, 50, 50, .3) 1px 1px 3px;
  font: bold 14px/1.3 "Microsoft YaHei", Arial;
}
.item-container {
  max-width: var(--container-max-width);
  margin: 20px;
  padding: 20px;
  border: 1px solid var(--color-bg-page-solid);
  border-radius: 12px;
  background-color: var(--color-bg-card-gray);
}
.item-container .item {
  margin-bottom: 10px;
  padding-bottom: 10px;
  border-bottom: 1px dashed var(--color-bg-page-solid);
}
.item-container .item:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}
.item-container strong {
  display: inline-block;
  width: 100px;
  color: var(--color-text-h4);
}
.item-container span {
  color: var(--color-post-text-gray);
}
/* =============================================
   user‑list 用户列表
============================================= */
.user-list {
  list-style: none;
  padding: 0;
  margin: 0;
  font-family: Arial, sans-serif;
}
.user-item {
  display: flex;
  align-items: center;
  padding: 15px 10px;
  border-bottom: 1px solid var(--color-table-td-after);
  background-color: var(--color-bg-white);
  transition: background-color 0.2s;
}
.user-item:hover {
  background-color: var(--color-bg-faint2);
}
.user-avatar {
  width: 50px;
  height: 50px;
  margin-right: 15px;
  border: 2px solid var(--color-table-td-after);
  border-radius: 50%;
  object-fit: cover;
}
.user-info {
  flex: 1;
}
.user-year,
.user-status {
  margin: 3px 0;
}
.user-year {
  font-size: 16px;
  font-weight: bold;
}
.user-year a {
  font-size: 16px;
  text-decoration: none;
}
.user-year span {
  font-weight: normal;
  font-size: 14px;
  color: var(--color-post-text-gray);
}
.user-status {
  font-size: 14px;
}
.user-actions {
  display: flex;
  align-items: center;
  padding-right: 30px !important;
}
.user-actions img {
  width: 15px !important;
  height: 15px !important;
  line-height: 20px !important;
}
.user-actions a {
  margin-left: 12px;
  color: var(--color-user-link);
  text-decoration: none;
  font-size: 14px;
  transition: color 0.2s;
}
.user-actions a:hover {
  color: var(--color-user-link-hover);
  text-decoration: underline;
}
.container-color {
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: 20px;
  border-radius: 10px;
  background-color: var(--color-bg-white);
  box-shadow: var(--shadow-sm‑005);
}
.form-group-group {
  margin-bottom: 20px;
}
/* =============================================
   custom‑dropdown 自定义下拉
============================================= */
.custom-dropdown {
  width: 100%;
  max-width: 300px;
  padding: 12px 15px;
  border: 1px solid var(--color-dd-border);
  border-radius: 6px;
  background-color: var(--color-dd-bg);
  color: var(--color-dd-text);
  font-size: 16px;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%237d2638' viewBox='0 0 16 16'%3E%3Cpath d='M8 11l4-4H4l4 4z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 15px center;
  background-size: 16px;
  cursor: pointer;
  transition: all 0.3s ease;
  transform: scale(1);
}
.btn-primary {
  padding: 10px 20px;
  border: none;
  border-radius: 6px;
  background-color: var(--color-dd-btn-primary);
  color: var(--color-bg-white);
  font-size: 16px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}
.btn-primary:hover {
  background-color: var(--color-dd-btn-primary-hover);
}
.custom-dropdown:focus {
  outline: none;
  border-color: var(--color-dd-btn-primary);
  box-shadow: var(--shadow-input‑red‑02);
}
.custom-dropdown:hover {
  border-color: var(--color-dd-btn-primary);
  background-color: var(--color-bg-white);
  transform: translateY(-2px);
}
.custom-dropdown:active {
  transform: scale(0.98);
  box-shadow: 0 2px 4px rgba(183, 28, 28, 0.1);
}
.custom-dropdown:disabled {
  opacity: 0.6;
  background-color: var(--color-dd-disabled-bg);
  cursor: not-allowed;
  transform: none;
}
.custom-dropdown option {
  padding: 10px;
  background-color: var(--color-bg-white);
  color: var(--color-dd-text);
  transition: background-color 0.2s ease;
}
.custom-dropdown option:checked {
  background-color: var(--color-dd-option-checked-bg);
  color: var(--color-dd-btn-primary);
}
@-webkit-keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-5px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-5px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.custom-dropdown:focus-within {
  -webkit-animation: fadeIn 0.2s ease forwards;
  animation: fadeIn 0.2s ease forwards;
}

h2 {
  margin-bottom: 22px;
  font-size: 22px;
  text-align: center;
  color: var(--color-text-dark);
  letter-spacing: 1px;
}
p {
  margin-bottom: 10px;
  letter-spacing: 1px;
}
/* 确定按钮样式 */
.confirmButton {
  padding: 5px 10px;
  font-size: 16px;
  border: none;
  border: 1px solid var(--color-dd-border);
  /* 与输入框分隔的边框 */
  background-color: var(--color-background-color);
  color: var(--color-bg-white);
  cursor: pointer;
  transition: background-color 0.3s ease;
  border-radius: 5px;
}
/* 确定按钮悬停时的样式 */
.confirmButton:hover {
  background-color: var(--color-background-hover);
}
/* 确定按钮禁用时的样式 */
.confirmButton:disabled {
  background-color: var(--color-disabled);
  cursor: not-allowed;
}

/* 父容器：按钮整体居右 */
.del-wrap {
  display: flex;
  justify-content: flex-end; /* 子元素靠右对齐 */
  width: 100%;
  margin: 8px 0; /* 可选，控制上下外边距 */
}

/* 优化后的删除按钮 */
.admin-del, .member-del, .btnText, .bbs-del{
  flex: 0 0 100px;
  padding: 8px 16px; /* 调整内边距，替代固定height */
  color: var(--color-bg-white);
  background-color: var(--color-box-border);
  border: none;
  border-radius: 4px;
  cursor: pointer;
  white-space: nowrap;
  display: flex;
  align-items: center; /* 文字垂直居中 */
  justify-content: center; /* 文字水平居中 */
  transition: background-color 0.2s ease;
}

.admin-del:hover, .member-del:hover, .btnText:hover, .bbs-del:hover{
  background-color: #c9302c; /* 鼠标悬浮变红，可改成你自己的变量 */
}

/* =============================================
   【精简后仅两套断点：768px｜480px，全部置于末尾】
============================================= */
@media (max-width: 768px) {
  /* btn‑group */
  .btn-group {
    flex-wrap: nowrap;
    gap: 12px;
  }
  /* 表格 */
  th,
  td {
    padding: 8px 10px;
    font-size: 14px;
  }
  /* 表格卡片化（原600px逻辑迁移至此） */
  .table-container {
    overflow-x: visible;
  }
  table {
    min-width: 100%;
  }
  thead {
    display: none;
  }
  tr {
    display: block;
    margin-bottom: 15px;
    border: 1px solid var(--color-table-td);
    border-radius: 5px;
  }
  td {
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 48px;
    padding: 10px;
    border-bottom: none;
    text-align: right;
    position: relative;
  }
  td::after {
    content: "";
    position: absolute;
    left: 10px;
    right: 10px;
    bottom: 0;
    height: 1px;
    background: var(--color-table-td-after);
  }
  td:before {
    content: attr(data-label);
    flex: 1;
    font-weight: bold;
    text-align: left;
  }
  tr td:last-child::after {
    display: none;
  }
  /* select */
  select {
    color: var(--color-text-h4);
  }
  /* tab按钮（原720px） */
  .tab-button {
    padding: 10px 15px;
    font-size: 14px;
  }
  /* form‑row表单竖排（原767px） */
  .card {
    padding: 15px;
  }
  .title {
    font-size: 18px;
  }
  .sub-title {
    font-size: 20px;
  }
  .form-row {
    flex-direction: column;
    align-items: stretch;
    gap: 15px;
    padding: 15px;
  }
  .form-label {
    font-size: 16px;
    text-align: left;
  }
  .form-input {
    width: 100%;
  }
  .form-btn {
    width: 100%;
  }
  .btn-reset {
    width: 100%;
  }
  /* custom‑dropdown */
  .container-color {
    padding: 15px;
  }
  .custom-dropdown {
    max-width: 100%;
    padding: 10px 12px;
    font-size: 15px;
  }
  .btn-primary {
    width: 100%;
    padding: 12px;
    font-size: 15px;
  }
  h2 {
    font-size: 20px;
  }
}

@media (max-width: 480px) {
  .footer {
    padding: 10px 15px;
    font-size: 14px !important;
  }
  .wrap {
    padding: 5px 10px;
  }
  .aspx-container {
    margin: 20px auto;
    padding: 24px 20px;
  }
  .aspx-title {
    font-size: 16px;
  }
  main {
    flex: 1;
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 5px 10px;
  }
  .row {
    flex-direction: column;
    gap: 20px;
  }
  .btn-reset {
    display: none;
  }
}
