.f95-page { --f95-red: #c74545; --f95-deep: #9b3636; }
.f95-page .site-header { background: linear-gradient(135deg, var(--f95-red), var(--f95-deep)); }
.f95-page .site-header :is(.brand-name, .brand-sub, .msg-link, .avatar-link) { color: #fff; }
.f95-main { padding-top: 0; background: #fff; }
.f95-guide .guide-wrap {
  width: min(1200px, calc(100% - 40px));
  margin-inline: auto;
}
.f95-guide .guide-breadcrumb {
  justify-content: flex-start;
  margin-top: 0;
  padding-block: 12px;
}
.f95-guide .guide-hero {
  position: relative;
  isolation: isolate;
  display: grid;
  place-items: center;
  min-height: clamp(300px, 46vw, 470px);
  overflow: hidden;
  padding: 48px 20px;
  text-align: center;
  color: #fff;
  background: linear-gradient(135deg, #b93e3e, #742c39 70%, #502838);
}
.f95-guide .guide-hero::before {
  content: '';
  position: absolute;
  z-index: -1;
  inset: 0;
  background: radial-gradient(ellipse at 80% 15%, #ff918b55, transparent 54%);
}
.f95-guide .guide-hero h1 {
  margin: 0 0 12px;
  color: inherit;
  font-size: clamp(30px, 6vw, 48px);
  line-height: 1.15;
}
.f95-guide .guide-hero p { max-width: 44em; margin: 0 auto; line-height: 1.65; }
.f95-guide .guide-toc { margin-top: 24px; gap: 10px; }
.f95-guide .guide-toc a {
  padding: 6px 14px;
  border-radius: 999px;
  background: #fff;
  color: var(--f95-deep);
}
.f95-guide .guide-toc a:hover,
.f95-guide .guide-toc a:focus-visible { background: #fff0ee; color: #712828; }
.f95-guide .guide-body { padding-top: 28px; }
.f95-guide .guide-section { margin-bottom: clamp(28px, 5vw, 52px); }
.f95-guide .guide-section h2 {
  margin: 0 0 18px;
  padding-bottom: 8px;
  border-bottom: 3px solid var(--f95-red);
  font-size: clamp(20px, 3vw, 30px);
  line-height: 1.4;
  scroll-margin-top: 96px;
}
.f95-guide .guide-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
  gap: 14px;
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
}
.f95-guide .guide-steps li {
  padding: 16px;
  border: 1px solid #f1dbdb;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 3px 12px #4222220d;
}
.f95-guide .guide-steps b { display: block; color: var(--f95-deep); }
.f95-guide .guide-steps span { color: var(--ink-2); }
@media (min-width: 981px) {
  .f95-page .site-header .main-nav a { color: #fff; }
  .f95-page .site-header .main-nav a:hover { background: #ffffff26; }
}

/* F95Zone community reference */
.f95-page.f95-community {
  --f95-red: #c27a75;
  --f95-deep: #a85f5a;
  --ink: #e8e8e8;
  --ink-2: #b8b8b8;
  --ink-3: #a5a5a5;
  background: #1a1a1a;
}
.f95-community .site-header,
.f95-community .site-footer { background: #242424; border-color: #383333; }
.f95-community .f95-main { background: #1a1a1a; }
.f95-community .guide-hero {
  min-height: clamp(320px, 45vw, 510px);
  background: radial-gradient(ellipse at 24% 48%, #523536, #1a1a1a 64%);
}
.f95-community .guide-hero h1 { color: #f3dbd9; }
.f95-community .guide-toc a { background: #292323; color: #edb1ab; border: 1px solid #744b48; }
.f95-community .guide-toc a:hover,
.f95-community .guide-toc a:focus-visible { background: #4b3030; color: #fff; }
.f95-community .guide-section h2 { border-bottom: 1px solid #744b48; }
.f95-community .guide-steps li { background: #242424; border-color: #463536; box-shadow: none; }
.f95-community .guide-steps b { color: #e7a7a1; }

/* Illusion web reference */
.f95-page.illusion-web { --f95-red: #dc143c; --f95-deep: #b01030; }
.illusion-web .site-header { background: #24252c; }
.illusion-web .f95-main { background: #f7fafc; }
.illusion-web .guide-hero { background: linear-gradient(135deg, #b01030, #dc143c 55%, #ff1f51); }
.illusion-web .guide-hero::before {
  background-image: linear-gradient(#ffffff22 1px, transparent 1px), linear-gradient(90deg, #ffffff22 1px, transparent 1px);
  background-size: 36px 36px;
}
.illusion-web .guide-section h2 { text-align: center; border-bottom: 0; }
.illusion-web .guide-section h2::after {
  content: '';
  display: block;
  width: 52px;
  height: 3px;
  margin: 12px auto 0;
  background: var(--f95-red);
}
.illusion-web .guide-steps li { border-color: #e2e8f0; border-top: 3px solid var(--f95-red); }

/* Illusion CN reference */
.f95-page.illusion-cn { --f95-red: #667eea; --f95-deep: #594095; }
.illusion-cn .site-header,
.illusion-cn .guide-hero { background: linear-gradient(135deg, #4e62c2, #764ba2); }
.illusion-cn .f95-main { background: #f7fafc; }
.illusion-cn .guide-hero { text-align: left; }
.illusion-cn .guide-hero > div {
  width: min(1200px, 100%);
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
  align-items: center;
  gap: 12px 36px;
}
.illusion-cn .guide-hero h1,
.illusion-cn .guide-hero p { margin: 0; }
.illusion-cn .guide-toc { justify-content: flex-start; }
.illusion-cn .guide-toc a:hover,
.illusion-cn .guide-toc a:focus-visible { background: #f3eeff; color: #422b77; }
.illusion-cover {
  grid-column: 2;
  grid-row: 1 / span 3;
  display: grid;
  place-content: center;
  min-height: 220px;
  border: 1px solid #ffffff5c;
  border-radius: 20px;
  background: linear-gradient(150deg, #ac96ecaa, #31235ccc);
  text-align: center;
  font-size: clamp(22px, 4vw, 44px);
  font-weight: 800;
  letter-spacing: .08em;
}
.illusion-cover small { font-size: 13px; letter-spacing: .25em; }
.illusion-cn .guide-body { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 16px; }
.illusion-cn .guide-section { margin: 0; padding: 20px; background: #fff; border: 1px solid #e2e8f0; border-radius: 14px; }
.illusion-cn .guide-section:has(#requirements) { grid-column: 2; grid-row: 1 / span 2; }

/* Illusion China reference */
.f95-page.illusion-china {
  --f95-red: #f6c94d;
  --f95-deep: #dbb74e;
  --ink: #f1ede3;
  --ink-2: #d0c6b1;
  --ink-3: #b4a996;
  background: #12100a;
}
.illusion-china .site-header,
.illusion-china .site-footer { background: #151515; border-color: #504226; }
.illusion-china .f95-main { background: #12100a; }
.illusion-china .guide-hero {
  min-height: 320px;
  background: radial-gradient(ellipse at 50% 25%, #433716, #17140e 72%);
}
.illusion-china .guide-hero::before { background: none; }
.illusion-china .guide-hero h1 { color: var(--f95-red); }
.illusion-china .guide-toc a { background: #242016; color: #f6d574; border: 1px solid #594a2b; }
.illusion-china .guide-toc a:hover,
.illusion-china .guide-toc a:focus-visible { background: #493a1d; color: #fff; }
.illusion-search { width: min(100%, 520px); margin: 20px auto 0; text-align: left; }
.illusion-search label { display: block; margin-bottom: 6px; color: #f3db96; }
.illusion-search div { display: flex; gap: 8px; }
.illusion-search input {
  flex: 1;
  min-width: 0;
  padding: 10px 12px;
  border: 1px solid #735e30;
  border-radius: 8px;
  color: #fff;
  background: #18150f;
}
.illusion-search button { padding: 0 16px; border: 0; border-radius: 8px; background: #f6c94d; color: #211707; }
.illusion-china .guide-body { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.illusion-china .guide-section { margin: 0; padding: 20px; background: #151515; border: 1px solid #504226; border-radius: 12px; }
.illusion-china .guide-section h2 { border-bottom: 1px solid #735e30; }
.illusion-china .guide-section p { color: var(--ink-2); }

@media (max-width: 980px) {
  .f95-community .site-header .main-nav,
  .illusion-china .site-header .main-nav { background: #242424; }
}
@media (max-width: 700px) {
  .illusion-cn .guide-hero > div,
  .illusion-cn .guide-body,
  .illusion-china .guide-body { grid-template-columns: 1fr; }
  .illusion-cover { grid-column: auto; grid-row: auto; min-height: 120px; }
  .illusion-cn .guide-section:has(#requirements) { grid-column: auto; grid-row: auto; }
}
