#notifications {
  font-size: 16px;
  background: linear-gradient(145deg, #fff, #f4f7fb);
}
#notifications.has-unread:after {
  content: '';
  position: absolute;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #e53935;
  bottom: 6px;
  right: 7px;
}
.personal-notices {
  position: fixed;
  z-index: 220;
  right: 25px;
  top: 106px;
  width: 360px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: #fff;
  box-shadow: 0 20px 55px #10213d2d;
  overflow: hidden;
}
.personal-notices header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 17px;
  background: linear-gradient(115deg, #172b47, #274e79);
  color: #fff;
}
.personal-notices header span {
  display: flex;
  flex-direction: column;
}
.personal-notices header small {
  margin-top: 4px;
  color: #b7c7d9;
  font-size: 10px;
}
.personal-notices header button {
  border: 0;
  background: transparent;
  color: #fff;
  font-size: 20px;
}
.notice-list {
  padding: 7px;
}
.notice-item {
  width: 100%;
  display: flex;
  gap: 10px;
  padding: 12px 10px;
  border: 0;
  border-radius: 8px;
  background: #fff;
  text-align: left;
}
.notice-item:hover {
  background: #f5f7fa;
}
.notice-item > i {
  width: 29px;
  height: 29px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: #fff0f0;
  color: #d63333;
  font-style: normal;
  font-weight: 800;
}
.notice-item > span {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 3px;
}
.notice-item b {
  font-size: 11px;
}
.notice-item small {
  color: var(--muted);
  font-size: 9px;
  line-height: 1.45;
}
.notice-item time {
  white-space: nowrap;
  color: #98a3b0;
  font-size: 9px;
}
.personal-notices footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 14px;
  border-top: 1px solid var(--line);
  background: #fafbfc;
}
.personal-notices footer button {
  border: 0;
  background: transparent;
  color: var(--blue);
  font-size: 10px;
  font-weight: 700;
}
.guide-hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 23px 25px;
  border-radius: 13px;
  background: linear-gradient(120deg, #111b2b, #224a74);
  color: #fff;
  margin-bottom: 15px;
}
.guide-hero small {
  color: #85acd1;
  font-size: 10px;
}
.guide-hero h2 {
  margin: 5px 0;
  font-size: 20px;
}
.guide-hero p {
  margin: 0;
  color: #b7c8da;
  font-size: 11px;
}
.guide-search {
  width: 300px;
  height: 42px;
  padding: 0 14px;
  border: 1px solid #ffffff2b;
  border-radius: 9px;
  background: #ffffff10;
  color: #fff;
}
.guide-search::placeholder {
  color: #aebfd0;
}
.guide-layout {
  display: grid;
  grid-template-columns: 1.65fr 0.9fr;
  gap: 15px;
}
.manual-panel,
.platform-advice,
.guide-detail {
  border: 1px solid var(--line);
  border-radius: 11px;
  background: #fff;
  overflow: hidden;
}
.guide-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 18px;
  border-bottom: 1px solid var(--line);
}
.guide-title h3 {
  margin: 0 0 4px;
  font-size: 14px;
}
.guide-title small {
  color: var(--muted);
  font-size: 10px;
}
.manual-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 9px;
  padding: 14px;
}
.manual-card {
  min-height: 105px;
  display: flex;
  gap: 11px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: #fff;
  text-align: left;
}
.manual-card:hover,
.manual-card.active {
  border-color: #8fb0e9;
  background: #f4f8ff;
}
.manual-card > i {
  width: 33px;
  height: 33px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 8px;
  background: #edf3ff;
  color: #2c61b3;
  font-style: normal;
}
.manual-card span {
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.manual-card small {
  color: var(--muted);
  font-size: 9px;
  line-height: 1.5;
}
.guide-detail {
  margin: 0 14px 14px;
  padding: 15px;
  background: #f8fafc;
}
.guide-detail h4 {
  margin: 0 0 8px;
}
.guide-detail ol {
  margin: 0;
  padding-left: 20px;
  color: #576577;
  font-size: 10px;
  line-height: 1.8;
}
.advice-feature {
  margin: 14px;
  padding: 15px;
  border-radius: 10px;
  background: linear-gradient(145deg, #fff7e8, #fff);
  border: 1px solid #efd9ac;
}
.advice-feature span {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.advice-feature em {
  padding: 3px 6px;
  border-radius: 5px;
  background: #e53935;
  color: #fff;
  font-size: 8px;
  font-style: normal;
}
.advice-feature p {
  margin: 8px 0;
  color: #665338;
  font-size: 10px;
  line-height: 1.6;
}
.advice-feature button {
  border: 0;
  background: transparent;
  color: #a05f00;
  padding: 0;
  font-size: 10px;
  font-weight: 700;
}
.advice-list {
  padding: 0 14px 14px;
}
.advice-list button {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 11px 0;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: transparent;
  text-align: left;
  color: #455267;
  font-size: 10px;
}
.advice-list time {
  color: #96a1ae;
  font-size: 8px;
}
.platform-placeholder {
  margin: 0 14px 14px;
  padding: 12px;
  border: 1px dashed #b8c5d5;
  border-radius: 8px;
  color: #6d7c90;
  font-size: 9px;
  line-height: 1.5;
}
.platform-placeholder b {
  display: block;
  margin-bottom: 4px;
  color: #4a596c;
}
.guide-support {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 15px;
  padding: 15px 18px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
}
.guide-support p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 10px;
}
body.theme-dark .personal-notices,
body.theme-dark .notice-item,
body.theme-dark .personal-notices footer,
body.theme-dark .manual-panel,
body.theme-dark .platform-advice,
body.theme-dark .guide-detail,
body.theme-dark .manual-card,
body.theme-dark .guide-support {
  background: #171c24;
  color: #eef2f7;
}
body.theme-dark .notice-item:hover,
body.theme-dark .manual-card:hover,
body.theme-dark .manual-card.active {
  background: #202a38;
}
body.theme-dark .advice-feature {
  background: #2a241a;
  border-color: #5c4b2c;
}
body.theme-dark .advice-feature p {
  color: #d7c5a4;
}
@media (max-width: 900px) {
  .guide-layout {
    grid-template-columns: 1fr;
  }
  .guide-hero {
    align-items: flex-start;
    gap: 15px;
  }
  .guide-search {
    width: 230px;
  }
  .personal-notices {
    right: 12px;
    width: min(360px, calc(100vw - 24px));
  }
}
@media (max-width: 650px) {
  .guide-hero {
    flex-direction: column;
  }
  .guide-search {
    width: 100%;
  }
  .manual-grid {
    grid-template-columns: 1fr;
  }
}
