@font-face {
  font-family: "DingTalk JinBuTi";
  src: url("../font/DingTalk-JinBuTi.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  --iiice-bg: #f4f5f6;
  --iiice-white: #ffffff;
  --iiice-border: #e9eaec;
  --iiice-title: #2f3640;
  --iiice-text: #666f7a;
  --iiice-primary: #3d4557;
  --iiice-accent: #ef4444;
  --iiice-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body.iiice-body {
  font-family: "DingTalk JinBuTi", "HarmonyOS Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  color: var(--iiice-title);
  background: var(--iiice-bg);
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
}

.iiice-topbar {
  width: 100%;
  background: var(--iiice-primary);
  color: #fff;
  font-size: 12px;
}

.iiice-topbar-inner {
  max-width: 1300px;
  margin: 0 auto;
  height: 36px;
  padding: 0 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.iiice-topbar-left {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.iiice-topbar-right {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.iiice-topbar-date,
.iiice-topbar-right p {
  margin: 0;
  line-height: 1;
}

.iiice-topbar-divider {
  width: 1px;
  height: 12px;
  background: rgba(255, 255, 255, 0.5);
}

.iiice-header {
  width: 100%;
  background: var(--iiice-white);
  border-bottom: 1px solid #f2f2f2;
}

.iiice-header-inner {
  max-width: 1300px;
  min-height: 100px;
  margin: 0 auto;
  padding: 0 00px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.iiice-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 240px;
}

.iiice-logo {
  width: 64px;
  height: 64px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.iiice-logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.iiice-brand-text h1 {
  margin: 0;
  font-size: 20px;
  font-weight: 600;
}

.iiice-brand-text p {
  margin: 2px 0 0;
  font-size: 12px;
  color: #b4bcc8;
}

.iiice-search {
  flex: 1;
  min-width: 300px;
  max-width: 430px;
}

.iiice-search-box {
  position: relative;
  padding: 8px 10px;
  border-radius: 8px;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.2);
}

.iiice-search-form {
  height: 24px;
  background: #fff;
  border-radius: 6px;
  display: flex;
  align-items: center;
  gap: 4px;
}

.iiice-search-toggle {
  width: 38px;
  height: 100%;
  background: transparent;
  border: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2px;
  padding: 0;
  cursor: pointer;
}

.iiice-search-toggle img {
  width: 18px;
  height: 18px;
}

.iiice-search-toggle svg {
  width: 18px;
  height: 18px;
  fill: #4a5568;
}

.iiice-search-form input {
  flex: 1;
  height: 100%;
  border: 0;
  outline: none;
  padding: 0;
  font-size: 14px;
  color: #333;
  background: #fff;
}

.iiice-search-submit {
  width: 26px;
  height: 24px;
  border: 0;
  background: transparent;
  color: #343c47;
  cursor: pointer;
  padding: 0;
}

.iiice-search-submit svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.iiice-search-dropdown {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  right: 0;
  z-index: 30;
  display: none;
  border-radius: 8px;
  background: #fff;
  padding: 10px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.14);
}

.iiice-search-dropdown.is-open {
  display: block;
}

.iiice-search-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

.iiice-search-item {
  height: 36px;
  border: 0;
  border-radius: 7px;
  background: #f7f9fb;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0 8px;
  cursor: pointer;
}

.iiice-search-item img {
  width: 16px;
  height: 16px;
}

.iiice-search-item span {
  font-size: 12px;
  color: #334155;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.iiice-quick {
  width: 277px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
}

.iiice-quick-item {
  width: 64px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
}

.iiice-quick-item img {
  width: 32px;
  height: 32px;
  object-fit: cover;
}

.iiice-quick-item em {
  font-style: normal;
  font-size: 12px;
  color: #414b57;
  white-space: nowrap;
}

.iiice-top-links {
  border-top: 1px solid #f4f4f4;
  position: relative;
}

.iiice-top-links-inner {
  max-width: 1300px;
  height: 40px;
  margin: 0 auto;
  padding: 0 0px;
  display: flex;
  align-items: center;
  gap: 14px;
  overflow-x: auto;
}

.iiice-top-links-inner a {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: #333;
}

.iiice-top-links-inner a img {
  width: 18px;
  height: 18px;
}

.iiice-top-links-inner a.is-highlight span {
  color: #dc2626;
}

.iiice-top-links-inner a:hover span {
  color: var(--iiice-accent);
}

/* ===== 关注和历史按钮样式 ===== */
.iiice-nav-btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 5px 10px;
  border: 1px solid #e9eaec;
  border-radius: 20px;
  background: #fff;
  color: #666f7a;
  font-size: 12px;
  cursor: pointer;
  transition: all 0.25s ease;
  font-family: inherit;
  vertical-align: middle;
  flex-shrink: 0;
  margin-left: 4px;
}

.iiice-nav-btn:first-of-type {
  margin-left: auto;
}

.iiice-nav-btn:hover {
  border-color: #d1d5db;
  box-shadow: 0 2px 6px rgba(0,0,0,0.08);
}

.iiice-nav-btn:active { transform: scale(0.97); }

.iiice-nav-icon { width: 13px; height: 13px; }

.iiice-nav-btn-follow {
  color: #e91e63;
  border-color: #fce4ec;
  background: #fff5f8;
}

.iiice-nav-btn-follow:hover {
  border-color: #f8bbd9;
  background: #fce4ec;
}

.iiice-nav-btn-follow .iiice-nav-icon { stroke: #e91e63; }
.iiice-nav-btn-follow.is-followed .iiice-nav-icon { fill: #e91e63; stroke: #e91e63; }

/* ===== 下拉浮层 ===== */
.iiice-dropdown {
  position: fixed;
  margin-top: 0;
  width: 250px;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
  z-index: 99999 !important;
  overflow: hidden;
}

.iiice-follow-dropdown {
  width: 260px;
}

.iiice-dropdown-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 14px;
  border-bottom: 1px solid #f0f0f0;
}

.iiice-dropdown-header h4 { margin: 0; font-size: 14px; font-weight: 500; color: #374151; }

.iiice-dropdown-close {
  width: 18px; height: 18px; border: none; background: transparent;
  color: #9ca3af; font-size: 16px; cursor: pointer; line-height: 1;
}

.iiice-dropdown-close:hover { color: #6b7280; }

.iiice-dropdown-body { max-height: 360px; overflow-y: auto; }

.iiice-dropdown-footer { 
  padding: 10px 14px; 
  border-top: 1px solid #e5e7eb; 
  text-align: center;
  background: #fff;
}

.iiice-clear-history {
  border: none;
  background: transparent;
  color: #3b82f6;
  font-size: 13px;
  cursor: pointer;
  font-family: inherit;
}

.iiice-clear-history:hover { color: #2563eb; }

/* ===== 历史列表 ===== */
.iiice-history-empty { padding: 30px 14px; text-align: center; color: #9ca3af; font-size: 13px; }

.iiice-history-item {
  display: flex;
  align-items: center;
  padding: 10px 14px;
  border-bottom: 1px solid #f5f5f5;
  transition: background 0.15s;
  cursor: pointer;
}

.iiice-history-item:hover { background: #f9fafb; }
.iiice-history-item:last-child { border-bottom: none; }

.iiice-history-link {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  text-decoration: none;
}

.iiice-history-link img { 
  width: 24px; 
  height: 24px; 
  border-radius: 4px; 
  object-fit: cover; 
  flex-shrink: 0; 
}

.iiice-history-info { 
  flex: 1; 
  min-width: 0; 
  display: flex; 
  flex-direction: column; 
  gap: 2px; 
}

.iiice-history-name { 
  font-size: 14px; 
  color: #1f2937; 
  font-weight: 500;
  overflow: hidden; 
  text-overflow: ellipsis; 
  white-space: nowrap; 
}

.iiice-history-time { 
  font-size: 12px; 
  color: #9ca3af; 
}

.iiice-history-right { 
  display: flex; 
  align-items: center; 
  gap: 4px; 
  flex-shrink: 0; 
  margin-left: 10px;
}

/* ===== 关注弹窗 ===== */
.iiice-follow-body { padding: 16px; }

.iiice-follow-tip { margin: 0 0 14px; text-align: center; font-size: 13px; color: #666; }

.iiice-qr-grid { display: flex; gap: 16px; justify-content: center; }

.iiice-qr-item { display: flex; flex-direction: column; align-items: center; gap: 8px; }

.iiice-qr-box {
  width: 90px; height: 90px; background: #f9f9f9; border: 1px solid #eee; border-radius: 8px;
  display: flex; align-items: center; justify-content: center; overflow: hidden;
}

.iiice-qr-box img { width: 100%; height: 100%; object-fit: cover; }
.iiice-qr-placeholder { font-size: 11px; color: #ccc; }
.iiice-qr-item span { font-size: 12px; color: #666; }

/* 手机端隐藏按钮 */
@media screen and (max-width: 768px) {
  .iiice-nav-btn { display: none !important; }
}

.iiice-ad-wrap {
  max-width: 1300px;
  margin: 8px auto 0;
  padding: 0 10px 10px;
  display: none;
}

.iiice-ad-wrap.has-desktop {
  display: block;
}

.iiice-ad-desktop,
.iiice-ad-mobile {
  width: 100%;
}

.iiice-ad-mobile {
  display: none;
}

.iiice-main {
  padding: 10px 10px 30px;
}

.iiice-main-inner {
  max-width: 1300px;
  margin: 0 auto;
}

.iiice-section {
  margin-top: 10px;
}

/* ===== 分类标题区域 ===== */
.iiice-section-head {
  height: auto;
  min-height: 28px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 4px 0;
}

.iiice-section-title-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.iiice-section-marker {
  width: 8px;
  height: 8px;
  background: #3b82f6;
  border-radius: 50%;
  flex-shrink: 0;
}

.iiice-section-title-wrap h2 {
  margin: 0;
  font-size: 15px;
  font-weight: 700;
}

/* ===== 子分类标签样式 ===== */
.iiice-subcategories-wrap {
  flex-shrink: 0;
}

.iiice-subcategories {
  display: inline-flex;
  align-items: center;
  gap: 0;
  padding: 3px;
  border: 1px solid #d1d5db;
  border-radius: 18px;
  background: #fff;
}

.iiice-subcat-item {
  display: inline-block;
  padding: 5px 9px;
  font-size: 14px;
  color: #64748b;
  background: transparent;
  border-radius: 14px;
  cursor: pointer;
  transition: all 0.15s ease;
  user-select: none;
  white-space: nowrap;
}

.iiice-subcat-item:hover {
  background: #fef3c7;
  color: #d97706;
}

.iiice-subcat-item.active {
  background: #22c55e;
  color: #fff;
  font-weight: 600;
}

/* ===== 分类介绍（放在最右边） ===== */
.iiice-section-desc {
  font-size: 12px;
  color: #8a949f;
  margin-left: auto;
  text-align: right;
  flex-shrink: 0;
  max-width: 300px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* 卡片容器（用于筛选） */
.iiice-card-container {
  display: contents;
}

.iiice-grid {
  margin-top: 8px;
  display: grid;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  gap: 10px;
}

/* ===== 卡片外层包裹（角标容器） ===== */
.iiice-card-wrap {
  position: relative;
}

.iiice-card {
  height: 40px;
  border-radius: 8px;
  background: var(--iiice-white);
  border: 1px solid #f0f0f0;
  padding: 0 8px;
  display: flex;
  align-items: center;
  gap: 7px;
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.iiice-card:hover {
  box-shadow: var(--iiice-shadow);
  transform: translateY(-1px);
}

.iiice-card img {
  width: 20px;
  height: 20px;
  border-radius: 4px;
  object-fit: cover;
  flex-shrink: 0;
}

.iiice-card span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: #313a45;
  font-size: 13px;
}

.iiice-card.is-title-red span {
  color: #dc2626;
}

/* ===== 角标样式 ===== */
.navcat-badge {
  position: absolute;
  top: -3px;
  left: -3px;
  background-color: #ff4444;
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  padding: 1px 4px;
  transform: rotate(-15deg);
  z-index: 10;
  border-radius: 4px;
  pointer-events: none;
  line-height: 1.4;
}

.navcat-badge-new {
  background-color: #4CAF50;
}

.badge-short {
  display: none;
}

.badge-full {
  display: inline;
}

@media (max-width: 768px) {
  .badge-full {
    display: none;
  }
  .badge-short {
    display: inline;
  }
}

.iiice-pagebar {
  margin-top: 18px;
  padding-bottom: 8px;
}

.iiice-pagebar a,
.iiice-pagebar span {
  display: inline-block;
  margin: 0 5px 6px 0;
  padding: 6px 10px;
  border-radius: 6px;
  background: #fff;
  border: 1px solid #e6e9ee;
  font-size: 13px;
}

.iiice-main-single {
  max-width: 980px;
}

.iiice-article {
  background: #fff;
  border: 1px solid #eceff3;
  border-radius: 12px;
  padding: 22px 24px;
}

.iiice-article-title {
  margin: 0 0 12px;
  font-size: 26px;
  line-height: 1.35;
}

.iiice-article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  font-size: 13px;
  color: #8a949f;
  padding-bottom: 16px;
  border-bottom: 1px dashed #e6eaf0;
}

.iiice-article-content {
  margin-top: 20px;
  line-height: 1.7;
  font-size: 15px;
  color: #2f3640;
  word-break: break-word;
  overflow-wrap: break-word;
}

.iiice-article-content img {
  max-width: 100%;
  height: auto;
}

.iiice-article-tags {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px dashed #e6eaf0;
  color: #5c6673;
  font-size: 13px;
}

.iiice-article-tags a {
  margin-right: 8px;
  color: #3c4f73;
}

.iiice-404 {
  text-align: center;
  padding: 40px 20px;
  border-radius: 12px;
  background: #fff;
  border: 1px solid #e9edf3;
}

.iiice-404 h2 {
  margin: 0 0 10px;
}

.iiice-404 p {
  margin: 0 0 14px;
  color: #7a8390;
}

.iiice-404 a {
  color: #3f4960;
}

.iiice-footer {
  margin-top: 16px;
  background: var(--iiice-primary);
  color: #fff;
  padding: 14px 10px 18px;
}

.iiice-footer-inner {
  max-width: 1300px;
  margin: 0 auto;
}

.iiice-footer-title {
  margin: 0 0 8px;
  font-size: 12px;
}

.iiice-friend-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
  padding: 10px 12px;
  border-radius: 10px;
  background: rgba(12, 16, 23, 0.35);
}

.iiice-friend-links a {
  font-size: 12px;
  color: #dde3ed;
}

.iiice-friend-links a:hover {
  color: #fff;
}

.iiice-footer-bottom {
  margin-top: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
  font-size: 12px;
}

.iiice-footer-left {
  display: flex;
  align-items: center;
  gap: 8px;
}

.iiice-footer-left a {
  color: #fff;
}

#divCommentPost {
  margin-top: 18px;
  padding: 16px;
  background: #fff;
  border: 1px solid #e7ebf0;
  border-radius: 12px;
}

#divCommentPost .posttop {
  margin: 0 0 12px;
  font-size: 15px;
  font-weight: 700;
  color: #334155;
}

#divCommentPost .iiice-comment-heading {
  display: inline-block;
  vertical-align: middle;
}

#divCommentPost .postbottom {
  margin: 8px 0 0;
  color: #94a3b8;
  font-size: 12px;
}

#divCommentPost form p {
  margin: 0 0 10px;
}

.iiice-comment-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 10px;
}

.iiice-comment-grid .iiice-comment-field {
  margin: 0;
}

#divCommentPost input[type="text"],
#divCommentPost input[type="email"],
#divCommentPost textarea {
  width: 100%;
  border: 1px solid #d9e2ee;
  border-radius: 10px;
  padding: 10px 12px;
  font-size: 14px;
  color: #334155;
  background: #fff;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

#divCommentPost input[type="text"]:focus,
#divCommentPost input[type="email"]:focus,
#divCommentPost textarea:focus {
  outline: none;
  border-color: #94a3b8;
  box-shadow: 0 0 0 3px rgba(148, 163, 184, 0.18);
}

#divCommentPost textarea {
  min-height: 120px;
  resize: vertical;
  line-height: 1.65;
}

.iiice-comment-field-verify {
  display: flex;
  align-items: center;
  gap: 8px;
}

.iiice-comment-field-verify input[type="text"] {
  flex: 1;
  min-width: 0;
}

.iiice-comment-verify-img {
  flex-shrink: 0;
  width: 96px;
  height: 38px;
  border-radius: 8px;
  border: 1px solid #dbe4ef;
  cursor: pointer;
}

#divCommentPost label {
  display: inline-block;
  margin-top: 6px;
  color: #64748b;
  font-size: 12px;
}

#divCommentPost input[type="submit"] {
  width: auto;
  min-width: 96px;
  border: 0;
  border-radius: 10px;
  padding: 9px 16px;
  background: #3f4960;
  color: #fff;
  font-size: 14px;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

#divCommentPost input[type="submit"]:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 14px rgba(63, 73, 96, 0.22);
}

#cancel-reply {
  margin-left: -8px;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 12px;
  color: #475569;
  background: #f1f5f9;
}

.msg {
  list-style: none;
  margin: 12px 0 0;
  padding: 14px 16px;
  background: #fff;
  border: 1px solid #e6ecf3;
  border-radius: 12px;
}

.msg > li {
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
}

.msghead {
  padding: 10px 14px;
}

.msghead .tbname {
  font-size: 14px;
  font-weight: 700;
  color: #334155;
}

.msgname {
  min-height: 0;
  padding-left: 0;
}

.commentname a {
  color: #334155;
  font-size: 14px;
  font-weight: 700;
}

.msgname small {
  display: block;
  margin-top: 4px;
  color: #9ca3af;
  font-size: 12px;
  line-height: 1.5;
}

.revertcomment a {
  color: #64748b;
}

.revertcomment a:hover {
  color: #334155;
}

.msgarticle {
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px dashed #e2e8f0;
  color: #334155;
  font-size: 14px;
  line-height: 1.8;
  word-break: break-word;
}

.msgarticle > .msg {
  margin-top: 10px;
  margin-left: 14px;
  background: #f8fafc;
  border-color: #e2e8f0;
}

.commentpagebar {
  margin-top: 12px;
}

@media (max-width: 1200px) {
  .iiice-grid {
    grid-template-columns: repeat(7, minmax(0, 1fr));
  }
}

@media (max-width: 1024px) {
  .iiice-header-inner {
    flex-wrap: wrap;
    align-items: flex-start;
    padding-top: 12px;
    padding-bottom: 10px;
  }

  .iiice-search {
    max-width: none;
    width: 100%;
    order: 3;
  }

  .iiice-search-box {
    padding: 8px 10px;
  }

  .iiice-quick {
    width: auto;
    margin-left: auto;
  }

  .iiice-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .iiice-topbar-inner {
    height: 32px;
    font-size: 11px;
  }

  .iiice-topbar-date,
  .iiice-topbar-divider {
    display: none;
  }

  .iiice-header-inner {
    min-height: 66px;
    gap: 10px;
    flex-wrap: nowrap;
    align-items: center;
    padding-top: 8px;
    padding-bottom: 8px;
  }

  .iiice-brand {
    min-width: 0;
    gap: 8px;
    flex: 0 0 auto;
  }

  .iiice-logo {
    width: 48px;
    height: 48px;
    border-radius: 10px;
    font-size: 22px;
  }

  .iiice-brand-text {
    display: none;
  }

  .iiice-search {
    display: none;
  }

  .iiice-search-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .iiice-quick {
    width: auto;
    flex: 1;
    justify-content: flex-end;
    order: 0;
    overflow-x: auto;
    padding-bottom: 0;
  }

  .iiice-quick-item {
    width: 56px;
    flex-shrink: 0;
  }

  .iiice-quick-item img {
    width: 28px;
    height: 28px;
  }

  .iiice-quick-item em {
    font-size: 11px;
  }

  .iiice-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
  }

  .iiice-ad-wrap {
    display: none;
  }

  .iiice-ad-wrap.has-mobile {
    display: block;
  }

  .iiice-ad-desktop {
    display: none;
  }

  .iiice-ad-mobile {
    display: block;
  }

  .iiice-card {
    padding: 0 6px;
    gap: 6px;
  }

  .iiice-card span {
    font-size: 12px;
  }

  .iiice-article {
    padding: 16px 14px;
  }

  .iiice-article-title {
    font-size: 22px;
  }

  #divCommentPost {
    padding: 12px;
  }

  #divCommentPost input[type="text"],
  #divCommentPost input[type="email"],
  #divCommentPost textarea {
    font-size: 13px;
    padding: 9px 10px;
  }

  .iiice-comment-grid {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .iiice-comment-field-verify {
    align-items: stretch;
  }

  .iiice-comment-verify-img {
    width: 88px;
    height: 36px;
  }

  .msg {
    padding: 12px;
  }

  .msgname {
    padding-left: 0;
  }

  .msgarticle {
    font-size: 13px;
  }

  .msgarticle > .msg {
    margin-left: 8px;
  }

  /* ===== 手机端分类标题样式 ===== */
  .iiice-section-head {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
  }
  
  .iiice-section-title-wrap {
    flex-shrink: 0;
  }
  
  .iiice-subcategories-wrap {
    flex-shrink: 0;
  }
  
  /* 手机端分类介绍 - 完整显示 */
  .iiice-section-desc {
    font-size: 11px;
    max-width: none;
  }
}

@media (max-width: 520px) {
  .iiice-main {
    padding-left: 8px;
    padding-right: 8px;
  }

  .iiice-search-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .iiice-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .iiice-card {
    height: 38px;
  }
}

/* ===== 立即访问按钮 ===== */
.iiice-history-visit {
  display: inline-block;
  padding: 4px 12px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: #fff;
  font-size: 12px;
  border-radius: 14px;
  text-decoration: none;
  transition: all 0.25s ease;
  white-space: nowrap;
}

.iiice-history-visit:hover {
  background: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
  transform: translateY(-1px);
  box-shadow: 0 3px 10px rgba(102, 126, 234, 0.4);
}

.iiice-history-visit:active {
  transform: translateY(0);
}