:root {
  --guide-library-release: "20260726-guide-library-os-1585";
}

[data-guide-library-deferred="true"][hidden] {
  display: none !important;
}

.guide-library-shortcut {
  width: min(1080px, calc(100% - 32px));
  margin: 10px auto 12px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  padding: 12px;
  border: 1px solid rgba(226, 111, 160, 0.2);
  border-radius: 12px;
  background:
    linear-gradient(135deg, rgba(255, 246, 251, 0.94), rgba(255, 255, 255, 0.92)),
    radial-gradient(circle at 12% 12%, rgba(255, 103, 165, 0.14), transparent 34%);
  box-shadow: 0 14px 30px rgba(84, 31, 58, 0.08);
}

.guide-library-shortcut-copy {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.guide-library-shortcut-copy span,
.guide-library-section-head span,
.guide-library-checklist span {
  color: #a77525;
  font-size: 11px;
  font-weight: 560;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.guide-library-shortcut-copy h2,
.guide-library-section-head h2,
.guide-library-checklist h2 {
  margin: 0;
  color: #2a1722;
  font-size: clamp(18px, 2vw, 24px);
  font-weight: 560;
  letter-spacing: 0;
  line-height: 1.14;
}

.guide-library-shortcut-copy p,
.guide-library-section-head p,
.guide-library-checklist p,
.guide-library-module-grid p {
  margin: 0;
  color: #725d68;
  font-size: 14px;
  line-height: 1.45;
}

.guide-library-shortcut a {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 13px;
  border: 1px solid rgba(226, 111, 160, 0.25);
  border-radius: 10px;
  background: linear-gradient(135deg, #ff67a5, #efb850);
  color: #25131d;
  font-size: 13px;
  font-weight: 540;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  box-shadow: 0 10px 20px rgba(226, 111, 160, 0.14);
}

.guide-library-shortcut a svg,
.guide-library-module-grid a svg {
  width: 15px;
  height: 15px;
  flex: 0 0 auto;
}

.guide-library-modules,
.guide-library-checklist {
  display: grid;
  gap: 14px;
  margin-top: 18px;
  margin-bottom: 20px;
}

.guide-library-section-head,
.guide-library-checklist {
  border: 1px solid rgba(198, 154, 86, 0.2);
  border-radius: 14px;
  background: rgba(255, 250, 253, 0.94);
  box-shadow: 0 16px 34px rgba(84, 31, 58, 0.07);
  padding: 16px;
}

.guide-library-section-head {
  display: grid;
  gap: 5px;
}

.guide-library-module-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.guide-library-module-grid article {
  display: grid;
  gap: 8px;
  align-content: start;
  min-height: 0;
  border: 1px solid rgba(226, 111, 160, 0.18);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 12px 26px rgba(84, 31, 58, 0.06);
  padding: 14px;
}

.guide-library-module-grid h3 {
  margin: 0;
  color: #2a1722;
  font-size: 17px;
  font-weight: 560;
  letter-spacing: 0;
  line-height: 1.22;
}

.guide-library-module-grid a {
  justify-self: start;
  min-height: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 10px;
  border: 1px solid rgba(226, 111, 160, 0.22);
  border-radius: 9px;
  color: #7a294e;
  font-size: 13px;
  font-weight: 540;
  text-decoration: none;
  background: rgba(255, 245, 250, 0.88);
}

.guide-library-checklist {
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  align-items: start;
}

.guide-library-checklist > div {
  display: grid;
  gap: 5px;
}

.guide-library-checklist ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
}

.guide-library-checklist li {
  position: relative;
  min-height: 34px;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 8px 10px 8px 34px;
  border: 1px solid rgba(226, 111, 160, 0.15);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.78);
  color: #3a2631;
  font-size: 14px;
  line-height: 1.35;
}

.guide-library-checklist li::before {
  content: "";
  position: absolute;
  left: 11px;
  top: 50%;
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: linear-gradient(135deg, #ff67a5, #efb850);
  transform: translateY(-50%);
  box-shadow: 0 0 0 3px rgba(255, 103, 165, 0.12);
}

.guide-library-compacted-source {
  max-width: min(1080px, calc(100% - 32px));
}

body[data-theme="dark"] .guide-library-shortcut,
body[data-theme="dark"] .guide-library-section-head,
body[data-theme="dark"] .guide-library-checklist,
body[data-theme="dark"] .guide-library-module-grid article,
body[data-theme="dark"].guide-page .guide-library-shortcut,
body[data-theme="dark"].guide-page .guide-library-section-head,
body[data-theme="dark"].guide-page .guide-library-checklist,
body[data-theme="dark"].guide-page .guide-library-module-grid article {
  border-color: rgba(255, 137, 188, 0.22);
  background: linear-gradient(135deg, rgba(48, 18, 36, 0.96), rgba(35, 17, 29, 0.94));
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.24);
}

body[data-theme="dark"] .guide-library-shortcut-copy h2,
body[data-theme="dark"] .guide-library-section-head h2,
body[data-theme="dark"] .guide-library-checklist h2,
body[data-theme="dark"] .guide-library-module-grid h3,
body[data-theme="dark"] .guide-library-checklist li {
  color: #fff5fa;
}

body[data-theme="dark"] .guide-library-shortcut-copy p,
body[data-theme="dark"] .guide-library-section-head p,
body[data-theme="dark"] .guide-library-checklist p,
body[data-theme="dark"] .guide-library-module-grid p {
  color: #e9cbd8;
}

body[data-theme="dark"] .guide-library-checklist li,
body[data-theme="dark"] .guide-library-module-grid a {
  border-color: rgba(255, 137, 188, 0.2);
  background: rgba(255, 137, 188, 0.08);
}

body[data-theme="dark"] .guide-library-module-grid a {
  color: #ffd7e7;
}

@media (max-width: 860px) {
  .guide-library-shortcut {
    width: min(100% - 24px, 620px);
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 11px;
  }

  .guide-library-shortcut a {
    width: 100%;
  }

  .guide-library-module-grid,
  .guide-library-checklist {
    grid-template-columns: 1fr;
  }

  .guide-library-section-head,
  .guide-library-checklist,
  .guide-library-module-grid article {
    border-radius: 12px;
  }
}
