/* Official page styles — single owner.
 * Loaded after desktop-shell.css. Safe balanced extract.
 */


#desktop-official-library .official-library-v2.official-library-refined .official-primary-grid {
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:16px;
}
#desktop-official-library .official-library-v2.official-library-refined .official-primary-card {
  display:grid;
  grid-template-columns:minmax(0,1fr);
  grid-template-rows:minmax(0,1fr) auto;
}
#desktop-official-library .official-library-v2.official-library-refined .official-primary-card > div {
  width:auto;
  min-width:0;
}
#desktop-official-library .official-library-v2.official-library-refined .official-yibentong-entry {
  grid-column:1 / -1;
  grid-template-columns:196px minmax(0,1fr);
}
@media (max-width:980px) {
  #desktop-official-library .official-library-v2.official-library-refined .official-primary-grid { grid-template-columns:1fr; }
  #desktop-official-library .official-library-v2.official-library-refined .official-yibentong-entry { grid-template-columns:112px minmax(0,1fr); }
}
#desktop-official-library { background:#0d0d10; }
#desktop-official-library .official-library-v2 {
  width:min(1320px,calc(100% - 80px)) !important;
  margin:0 auto !important;
  padding:48px 0 76px !important;
}
#desktop-official-library .official-library-v2 a { color:inherit; text-decoration:none; }
#desktop-official-library .official-library-v2 .official-library-head {
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:28px;
  min-height:142px !important;
  margin:0 !important;
  padding:0 0 25px !important;
  border-bottom:1px solid #292930 !important;
}
#desktop-official-library .official-library-v2 .official-library-head > div:first-child { min-width:0; }
#desktop-official-library .official-library-v2 .official-library-head > div:first-child > span,
#desktop-official-library .official-library-v2 .official-section-heading > div > span,
#desktop-official-library .official-library-v2 .official-primary-card > div > span {
  display:block;
  color:#42d4c3;
  font-size:10px;
  font-weight:700;
  line-height:1.3;
}
#desktop-official-library .official-library-v2 .official-library-head h1 {
  margin:8px 0 10px !important;
  color:#f7f5fa;
  font-size:40px !important;
  font-weight:850;
  line-height:1.08;
}
#desktop-official-library .official-library-v2 .official-library-head p {
  max-width:680px;
  margin:0 !important;
  color:#96919c;
  font-size:14px !important;
  line-height:1.55;
}
#desktop-official-library .official-library-v2 .official-library-status {
  display:inline-flex;
  flex:0 0 auto;
  align-items:center;
  gap:8px;
  padding:9px 11px;
  border:1px solid #2e7169;
  border-radius:4px;
  color:#63d9cc;
  font-size:12px;
  white-space:nowrap;
}
#desktop-official-library .official-library-v2 .official-library-status i { font-size:16px; }
#desktop-official-library .official-library-v2 .official-primary-grid {
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:16px;
  margin-top:28px;
}
#desktop-official-library .official-library-v2 .official-primary-card {
  display:grid;
  grid-template-columns:minmax(0,1fr);
  grid-template-rows:minmax(0,1fr) auto;
  column-gap:18px;
  min-height:220px;
  padding:27px;
  border:1px solid #303038;
  border-radius:6px;
  background:#131317;
  transition:border-color .18s ease,background .18s ease,transform .18s ease;
}
#desktop-official-library .official-library-v2 .official-primary-card.official-card-card { grid-column:1 / -1; grid-template-columns:208px minmax(0,1fr); }
#desktop-official-library .official-library-v2 .official-primary-card.official-card-card > figure { margin:0; }
#desktop-official-library .official-library-v2 .official-template-card {
  border-color:#286e67;
  background:linear-gradient(135deg,#13201f 0%,#121216 58%);
  box-shadow:0 18px 48px rgba(0,0,0,.16), inset 0 1px 0 rgba(70,226,212,.08);
}
#desktop-official-library .official-library-v2 .official-card-card {
  opacity:.94;
}
#desktop-official-library .official-library-v2 .official-primary-card:hover {
  border-color:#35d6c5;
  background:#15201f;
  transform:translateY(-2px);
}
#desktop-official-library .official-library-v2 .official-primary-card > i {
  display:grid;
  place-items:center;
  width:48px;
  height:48px;
  border:1px solid #2b7c73;
  border-radius:5px;
  background:#15302d;
  color:#54d6c7;
  font-size:24px;
}
#desktop-official-library .official-library-v2 .official-card-card > i { border-color:#3d4157; background:#202331; color:#aab2ff; }
#desktop-official-library .official-library-v2 .official-primary-card > div { min-width:0; }
#desktop-official-library .official-library-v2 .official-primary-card strong {
  display:block;
  margin-top:12px;
  color:#f0eef3;
  font-size:30px;
  font-weight:850;
  line-height:1.16;
}
#desktop-official-library .official-library-v2 .official-card-card strong { font-size:24px; color:#ecebff; }
#desktop-official-library .official-library-v2 .official-primary-card p {
  max-width:520px;
  margin:12px 0 0;
  color:#a8a3ad;
  font-size:14px;
  line-height:1.7;
}
#desktop-official-library .official-course-strip {
  display:grid;
  grid-template-columns:1fr;
  gap:14px;
  margin:26px 0 0;
}
#desktop-official-library .official-course-strip-card {
  display:grid;
  grid-template-columns:190px minmax(0,1fr) auto;
  align-items:center;
  gap:22px;
  min-height:132px;
  padding:22px 26px;
  border:1px solid rgba(111,137,192,.36);
  border-radius:8px;
  background:linear-gradient(105deg,#17253b,#121824 70%);
  box-sizing:border-box;
}
#desktop-official-library .official-course-strip-card figure {
  width:190px;
  height:126px;
  margin:0;
  overflow:visible;
  border:1px solid rgba(219,232,244,.28);
  border-radius:6px;
  background:#d9e7f2;
  box-shadow:0 12px 30px rgba(0,0,0,.24);
}
#desktop-official-library .official-course-strip-card figure img {
  width:100%;
  height:100%;
  object-fit:contain;
  object-position:center center;
  display:block;
  border-radius:5px;
}
#desktop-official-library .official-course-strip-card span,
#desktop-official-library .official-course-strip-card p,
#desktop-official-library .official-course-strip-card strong {
  display:block;
}
#desktop-official-library .official-course-strip-card span {
  color:#a9b7dd;
  font-size:10px;
  font-weight:850;
  letter-spacing:.08em;
}
#desktop-official-library .official-course-strip-card strong {
  margin-top:6px;
  color:#f1f4fb;
  font-size:25px;
  line-height:1.2;
}
#desktop-official-library .official-course-strip-card p {
  max-width:760px;
  margin:7px 0 0;
  color:#a7b1c3;
  font-size:13px;
  line-height:1.55;
}
#desktop-official-library .official-course-strip-card b {
  flex:0 0 auto;
  display:inline-flex;
  align-items:center;
  gap:7px;
  min-height:40px;
  padding:0 14px;
  border:1px solid rgba(126,151,204,.38);
  border-radius:5px;
  background:rgba(80,103,157,.16);
  color:#d6def2;
  font-size:13px;
}
@media (max-width:760px) {
  #desktop-official-library .official-course-strip-card {
    grid-template-columns:76px minmax(0,1fr);
  }
  #desktop-official-library .official-course-strip-card figure {
    width:76px;
    height:68px;
  }
  #desktop-official-library .official-course-strip-card b {
    grid-column:1 / -1;
    justify-content:center;
  }
}
#desktop-official-library .official-course-strip-card em {
  font-style:normal;
  font-size:18px;
}
#desktop-official-library .official-library-v2 .official-promo-shell,
#desktop-official-library .official-library-v2 .official-promo-season,
#desktop-official-library .official-library-v2 .official-trial-grid {
  display:grid;
  gap:14px;
  margin-top:18px;
}
#desktop-official-library .official-library-v2 .official-promo-shell {
  grid-template-columns:minmax(0,1.15fr) minmax(0,.85fr);
  padding:22px;
  border:1px solid #2d4e49;
  border-radius:6px;
  background:linear-gradient(135deg,#13201f 0%,#111318 100%);
}
#desktop-official-library .official-library-v2 .official-promo-shell.official-promo-day01 {
  grid-template-columns:168px minmax(0,1fr);
  align-items:center;
  min-height:188px;
}
#desktop-official-library .official-library-v2 .official-promo-cover {
  width:168px;
  height:136px;
  margin:0;
  overflow:hidden;
  border:1px solid rgba(218,232,244,.3);
  border-radius:7px;
  background:#d7e5ef;
  box-shadow:0 16px 34px rgba(0,0,0,.28);
}
#desktop-official-library .official-library-v2 .official-promo-cover img {
  display:block;
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:left center;
}
#desktop-official-library .official-library-v2 .official-promo-copy,
#desktop-official-library .official-library-v2 .official-promo-preview {
  min-width:0;
}
#desktop-official-library .official-library-v2 .official-promo-tags {
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  margin-top:14px;
}
#desktop-official-library .official-library-v2 .official-promo-tags span {
  padding:6px 10px;
  border:1px solid #2f5d57;
  border-radius:999px;
  color:#8fe0d6;
  font-size:11px;
}
#desktop-official-library .official-library-v2 .official-promo-actions {
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin-top:16px;
}
#desktop-official-library .official-library-v2 .official-promo-actions a,
#desktop-official-library .official-library-v2 .official-promo-actions button {
  display:inline-flex;
  align-items:center;
  gap:8px;
  min-height:42px;
  padding:0 14px;
  border:1px solid #2f5d57;
  border-radius:4px;
  background:#12211f;
  color:#d7f8f2;
  font:600 13px/1 inherit;
  text-decoration:none;
  cursor:pointer;
}
#desktop-official-library .official-library-v2 .official-promo-actions button {
  background:#151a20;
  border-color:#323f4c;
}
#desktop-official-library .official-library-v2 .official-promo-preview {
  display:grid;
  gap:12px;
  padding:18px;
  border:1px solid #2a333f;
  border-radius:6px;
  background:#11151c;
}
#desktop-official-library .official-library-v2 .official-promo-preview small,
#desktop-official-library .official-library-v2 .official-promo-preview span {
  color:#8d99a8;
}
#desktop-official-library .official-library-v2 .official-promo-preview strong {
  display:block;
  margin-top:5px;
  color:#f1eff4;
  font-size:20px;
}
#desktop-official-library .official-library-v2 .official-promo-input textarea {
  width:100%;
  box-sizing:border-box;
  margin-top:8px;
  padding:12px;
  border:1px solid #2a333f;
  border-radius:4px;
  background:#0d1117;
  color:#dce8e6;
  font:inherit;
  resize:vertical;
}
#desktop-official-library .official-library-v2 .official-season-card,
#desktop-official-library .official-library-v2 .official-trial-card {
  display:block;
  padding:18px;
  border:1px solid #2c3038;
  border-radius:6px;
  background:#121318;
}
#desktop-official-library .official-library-v2 .official-season-card span,
#desktop-official-library .official-library-v2 .official-trial-card span {
  color:#7c8a99;
  font-size:10px;
  font-weight:700;
  letter-spacing:.08em;
}
#desktop-official-library .official-library-v2 .official-season-card strong,
#desktop-official-library .official-library-v2 .official-trial-card strong {
  display:block;
  margin-top:10px;
  color:#f1eff4;
  font-size:18px;
  line-height:1.3;
}
#desktop-official-library .official-library-v2 .official-season-card p,
#desktop-official-library .official-library-v2 .official-trial-card p {
  margin:8px 0 0;
  color:#a8a3ad;
  font-size:13px;
  line-height:1.6;
}
#desktop-official-library .official-library-v2 .official-season-card small,
#desktop-official-library .official-library-v2 .official-trial-card small {
  display:block;
  margin-top:10px;
  color:#71808f;
  font-size:12px;
  line-height:1.5;
}
#desktop-official-library .official-library-v2 .official-season-card b {
  display:flex;
  align-items:center;
  justify-content:space-between;
  margin-top:14px;
  color:#6fe0d4;
  font-size:12px;
}
#desktop-official-library .official-library-v2 .official-season-summer { border-color:#2d5167; background:linear-gradient(135deg,#132233,#11141b); }
#desktop-official-library .official-library-v2 .official-season-autumn { border-color:#3a5d4c; background:linear-gradient(135deg,#13231c,#11141b); }
#desktop-official-library .official-library-v2 .official-textbook-card i { border-color:#395e50; background:#14211d; color:#8fe0d6; }
#desktop-official-library .official-library-v2 .official-section-note { color:#7f8c98; font-size:12px; }
#desktop-official-library .official-library-v2 .official-trial-grid { grid-template-columns:repeat(3,minmax(0,1fr)); }
#desktop-official-library .official-library-v2 .official-promo-season { grid-template-columns:repeat(2,minmax(0,1fr)); }
@media (max-width:980px) {
  #desktop-official-library .official-library-v2 .official-promo-shell,
  #desktop-official-library .official-library-v2 .official-promo-season,
  #desktop-official-library .official-library-v2 .official-trial-grid { grid-template-columns:1fr; }
}
#desktop-official-library .official-library-v2 .official-primary-card b {
  grid-column:1 / -1;
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding-top:19px;
  border-top:1px solid #29292f;
  color:#50d2c2;
  font-size:13px;
  font-weight:800;
}
#desktop-official-library .official-library-v2 .official-card-card b { color:#b0b7ff; }
#desktop-official-library .official-library-v2 em { font-size:19px; font-style:normal; line-height:1; }
#desktop-official-library .official-library-v2 .official-writing-section,
#desktop-official-library .official-library-v2 .official-cards-section { margin-top:46px; }
#desktop-official-library .official-library-v2 .official-section-heading {
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:20px;
  margin:0 !important;
  padding:0 0 13px !important;
  border-top:0 !important;
  border-bottom:1px solid #292930;
}
#desktop-official-library .official-library-v2 .official-section-heading h2 {
  margin:6px 0 0 !important;
  color:#f2eff5;
  font-size:26px !important;
  font-weight:840;
  line-height:1.16;
}
#desktop-official-library .official-library-v2 .official-section-heading > a {
  display:inline-flex;
  align-items:center;
  gap:7px;
  color:#5bd5c6;
  font-size:12px;
  white-space:nowrap;
}
#desktop-official-library .official-library-v2 .official-writing-grid {
  display:grid;
  grid-template-columns:repeat(5,minmax(154px,1fr));
  gap:12px;
  margin-top:16px;
}
#desktop-official-library .official-library-v2 .official-writing-grid > a {
  display:grid;
  grid-template-columns:30px minmax(0,1fr) auto;
  align-items:center;
  gap:12px;
  min-height:104px;
  padding:16px;
  border:1px solid #2c2c33;
  border-radius:5px;
  background:#121216;
  transition:border-color .18s ease,background .18s ease,transform .18s ease;
}
#desktop-official-library .official-library-v2 .official-writing-grid > a:hover { border-color:#3c9288; background:#151b1a; transform:translateY(-1px); }
#desktop-official-library .official-library-v2 .official-writing-grid i { display:grid; place-items:center; width:30px; height:30px; border-radius:4px; background:#122b28; color:#52d4c4; font-size:18px; }
#desktop-official-library .official-library-v2 .official-writing-grid div { min-width:0; }
#desktop-official-library .official-library-v2 .official-writing-grid strong,
#desktop-official-library .official-library-v2 .official-writing-grid span { display:block; }
#desktop-official-library .official-library-v2 .official-writing-grid strong { color:#f0edf4; font-size:15px; font-weight:780; line-height:1.32; }
#desktop-official-library .official-library-v2 .official-writing-grid span { margin-top:4px; color:#898590; font-size:11px; line-height:1.4; }
#desktop-official-library .official-library-v2 .official-writing-grid b { color:#73707a; font-size:18px; font-weight:400; }
#desktop-official-library .official-library-v2 .official-library-grid {
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:12px;
  margin-top:16px;
}
#desktop-official-library .official-library-v2 .official-library-grid > a {
  --subject-tone:#7f8bea;
  display:grid;
  grid-template-columns:38px minmax(0,1fr) auto;
  align-items:center;
  gap:14px;
  min-height:112px;
  padding:18px;
  border:1px solid rgba(128,140,162,.24);
  border-radius:8px;
  background:linear-gradient(135deg,rgba(255,255,255,.045),rgba(255,255,255,.012) 58%,color-mix(in srgb,var(--subject-tone) 12%,transparent)),#121419;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.035);
  transition:border-color .18s ease,background .18s ease,transform .18s ease,box-shadow .18s ease;
}
#desktop-official-library .official-library-v2 .official-library-grid > a:hover {
  border-color:color-mix(in srgb,var(--subject-tone) 58%,#ffffff 0%);
  background:linear-gradient(135deg,rgba(255,255,255,.06),rgba(255,255,255,.018) 54%,color-mix(in srgb,var(--subject-tone) 18%,transparent)),#151821;
  box-shadow:0 18px 36px rgba(0,0,0,.22), inset 0 1px 0 rgba(255,255,255,.05);
  transform:translateY(-2px);
}
#desktop-official-library .official-library-v2 .official-library-grid > a > i {
  display:grid;
  place-items:center;
  width:38px;
  height:38px;
  border:1px solid color-mix(in srgb,var(--subject-tone) 46%,#333845);
  border-radius:6px;
  background:color-mix(in srgb,var(--subject-tone) 18%,#1b1e27);
  color:color-mix(in srgb,var(--subject-tone) 72%,#ffffff);
  font-size:10px;
  font-style:normal;
  font-weight:700;
}
#desktop-official-library .official-library-v2 .official-library-grid div { min-width:0; }
#desktop-official-library .official-library-v2 .official-library-grid strong,
#desktop-official-library .official-library-v2 .official-library-grid span { display:block; }
#desktop-official-library .official-library-v2 .official-library-grid strong { color:#e9e6ed; font-size:15px; font-weight:760; line-height:1.35; }
#desktop-official-library .official-library-v2 .official-library-grid span { margin-top:5px; color:#85818c; font-size:12px; line-height:1.35; }
#desktop-official-library .official-library-v2 .official-library-grid b { color:color-mix(in srgb,var(--subject-tone) 62%,#85818c); font-size:18px; font-weight:400; }
body.desktop-light #desktop-official-library { background:#f7f9fb !important; }
body.desktop-light #desktop-official-library .official-library-v2 .official-library-head,
body.desktop-light #desktop-official-library .official-library-v2 .official-section-heading { border-color:#dce3ea !important; }
body.desktop-light #desktop-official-library .official-library-v2 .official-library-head h1,
body.desktop-light #desktop-official-library .official-library-v2 .official-section-heading h2,
body.desktop-light #desktop-official-library .official-library-v2 .official-primary-card strong,
body.desktop-light #desktop-official-library .official-library-v2 .official-writing-grid strong,
body.desktop-light #desktop-official-library .official-library-v2 .official-library-grid strong { color:#222b35; }
body.desktop-light #desktop-official-library .official-library-v2 .official-library-head p,
body.desktop-light #desktop-official-library .official-library-v2 .official-primary-card p,
body.desktop-light #desktop-official-library .official-library-v2 .official-writing-grid span,
body.desktop-light #desktop-official-library .official-library-v2 .official-library-grid span { color:#6d7783; }
body.desktop-light #desktop-official-library .official-library-v2 .official-primary-card,
body.desktop-light #desktop-official-library .official-library-v2 .official-writing-grid > a,
body.desktop-light #desktop-official-library .official-library-v2 .official-library-grid > a { border-color:#dce3ea; background:#fff; }
body.desktop-light #desktop-official-library .official-library-v2 .official-primary-card:hover,
body.desktop-light #desktop-official-library .official-library-v2 .official-writing-grid > a:hover { border-color:#77beb5; background:#f4fbfa; }
body.desktop-light #desktop-official-library .official-library-v2 .official-library-grid > a:hover { border-color:#aeb7e8; background:#f7f8ff; }
body.desktop-light #desktop-official-library .official-library-v2 .official-primary-card b { border-color:#e5eaef; }
body.desktop-light #desktop-official-library .official-library-v2 .official-library-status { border-color:#9ccfc9; color:#15786e; }
body.desktop-light #desktop-official-library .official-library-v2 .official-primary-card > i { border-color:#a6d4ce; background:#edf9f7; color:#168d80; }
body.desktop-light #desktop-official-library .official-library-v2 .official-card-card > i { border-color:#cbd0e7; background:#f1f2fb; color:#6671b8; }
body.desktop-light #desktop-official-library .official-library-v2 .official-library-grid > a > i { border-color:color-mix(in srgb,var(--subject-tone) 34%,#d7dce8); background:color-mix(in srgb,var(--subject-tone) 10%,#f5f7fb); color:color-mix(in srgb,var(--subject-tone) 72%,#4f5d72); }

#desktop-official-templates { position:fixed; inset:0 var(--desktop-right-width) 0 var(--desktop-left-width); z-index:82; overflow-y:auto; background:#09090b; color:#ecebf0; }
body.desktop-nav-collapsed #desktop-official-templates { left:0; }
body.context-collapsed #desktop-official-templates { right:0; }
body.desktop-light #desktop-official-templates { background:#f7f9fb; color:#25303a; }
@media (max-width:980px) {
  #desktop-official-templates { inset:0; }
  .official-templates-shell { width:calc(100% - 32px); padding:32px 0 56px; }
  .official-templates-head,.official-templates-toolbar { align-items:flex-start; flex-direction:column; }
  .official-templates-toolbar label { width:100%; min-width:0; box-sizing:border-box; }
  .official-templates-summary,.official-template-reader,.official-templates-community-hero,.official-template-community-layout,.official-template-recent > div:last-child { grid-template-columns:1fr; }
  .official-template-topic-rail { position:static; }
  .official-template-reader aside { position:static; }
}
@media (max-width:1180px) {
  #desktop-official-library .official-library-v2 .official-writing-grid { grid-template-columns:repeat(3,minmax(0,1fr)); }
  #desktop-official-library .official-library-v2 .official-library-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
}

@media (max-width:760px) {
  #desktop-official-library .official-library-v2 { width:calc(100% - 32px) !important; padding:32px 0 52px !important; }
  #desktop-official-library .official-library-v2 .official-library-head { align-items:flex-start; flex-direction:column; min-height:0 !important; }
  #desktop-official-library .official-library-v2 .official-primary-grid,
  #desktop-official-library .official-library-v2 .official-writing-grid,
  #desktop-official-library .official-library-v2 .official-library-grid { grid-template-columns:1fr; }
  #desktop-official-library .official-library-v2 .official-primary-card { min-height:190px; }
}

#desktop-official-library { position:fixed; inset:0 var(--desktop-right-width) 0 var(--desktop-left-width); z-index:82; overflow-y:auto; background:#09090b; color:#ecebf0; }
body.desktop-nav-collapsed #desktop-official-library { left:0; } body.context-collapsed #desktop-official-library { right:0; }
body.desktop-light #desktop-official-library { background:#f8fafc; color:#222b35; }

#desktop-official-library .official-library-v2 .official-yibentong-entry {
  position:relative;
  grid-template-columns:150px minmax(0,1fr);
  grid-template-rows:minmax(0,1fr) auto;
  gap:18px;
  overflow:hidden;
  min-height:238px;
  padding:18px;
  border-color:rgba(83,139,202,.52);
  background:
    linear-gradient(122deg,rgba(63,125,184,.22),rgba(32,63,134,.05) 46%,#141821 100%),
    #10141b;
}

#desktop-official-library .official-library-v2 .official-yibentong-entry > i {
  display:none;
}

#desktop-official-library .official-library-v2 .official-yibentong-entry figure {
  grid-row:1 / span 2;
  position:relative;
  width:150px;
  height:196px;
  margin:0;
  overflow:hidden;
  border:1px solid rgba(199,218,244,.32);
  border-radius:8px;
  background:#183871;
  box-shadow:0 18px 34px rgba(0,0,0,.25);
}

#desktop-official-library .official-library-v2 .official-yibentong-entry figure img {
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:44% center;
}

#desktop-official-library .official-library-v2 .official-yibentong-entry > div {
  align-self:center;
}

#desktop-official-library .official-library-v2 .official-yibentong-entry strong {
  color:#f7fbff;
  font-size:30px;
}

#desktop-official-library .official-library-v2 .official-yibentong-entry p {
  max-width:360px;
  color:#aebdd0;
}

#desktop-official-library .official-library-v2 .official-yibentong-entry b {
  grid-column:2;
  justify-self:start;
  border-color:rgba(116,173,239,.34);
  background:rgba(63,125,184,.15);
  color:#d7eaff;
}
#desktop-official-library .official-library-redesign {
  width:min(1240px,calc(100% - 64px)) !important;
  padding:42px 0 72px !important;
}

#desktop-official-library .official-library-redesign .official-library-head {
  position:relative;
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(300px,430px);
  align-items:end;
  gap:28px;
  min-height:154px !important;
  padding:0 0 28px !important;
}

#desktop-official-library .official-library-redesign .official-library-head::before {
  content:'';
  position:absolute;
  inset:auto 0 -1px 0;
  height:1px;
  background:linear-gradient(90deg,#35d6c5,rgba(53,214,197,.18) 36%,rgba(255,255,255,.04));
}

#desktop-official-library .official-library-redesign .official-library-head h1 {
  max-width:760px;
  font-size:44px !important;
  letter-spacing:0 !important;
}

#desktop-official-library .official-library-redesign .official-library-head p {
  max-width:760px;
  color:#aba6b0;
}

#desktop-official-library .official-library-redesign .official-library-status {
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:10px;
  padding:0;
  border:0;
}

#desktop-official-library .official-library-redesign .official-library-status article {
  min-height:82px;
  padding:15px 12px;
  border:1px solid rgba(53,214,197,.28);
  border-radius:7px;
  background:linear-gradient(180deg,rgba(53,214,197,.08),rgba(53,214,197,.025)),#111417;
  text-align:center;
}

#desktop-official-library .official-library-redesign .official-library-status strong,
#desktop-official-library .official-library-redesign .official-library-status span {
  display:block;
}

#desktop-official-library .official-library-redesign .official-library-status strong {
  color:#43ddcd;
  font-size:26px;
  line-height:1;
  font-weight:850;
}

#desktop-official-library .official-library-redesign .official-library-status span {
  margin-top:9px;
  color:#8c9295;
  font-size:11px;
}

#desktop-official-library .official-library-redesign .official-primary-grid {
  grid-template-columns:minmax(0,1.18fr) minmax(390px,.82fr);
  gap:18px;
  margin-top:28px;
}

#desktop-official-library .official-library-redesign .official-primary-card {
  border-radius:8px;
  min-height:248px;
  padding:28px;
}

#desktop-official-library .official-library-redesign .official-template-card {
  grid-template-columns:58px minmax(0,1fr);
  background:
    radial-gradient(circle at 12% 18%,rgba(53,214,197,.18),transparent 28%),
    linear-gradient(135deg,#132321 0%,#111216 54%,#15141b 100%);
}

#desktop-official-library .official-library-redesign .official-primary-card > i {
  width:58px;
  height:58px;
  border-radius:8px;
  font-size:28px;
}

#desktop-official-library .official-library-redesign .official-primary-card strong {
  font-size:32px;
}

#desktop-official-library .official-library-redesign .official-primary-card small {
  display:inline-flex;
  align-items:center;
  min-height:24px;
  margin-top:18px;
  padding:0 9px;
  border:1px solid rgba(53,214,197,.26);
  border-radius:4px;
  background:rgba(53,214,197,.08);
  color:#76dfd3;
  font-size:11px;
  font-weight:750;
}

#desktop-official-library .official-library-redesign .official-primary-card b {
  min-height:42px;
  padding:14px 0 0;
}

#desktop-official-library .official-library-redesign .official-yibentong-entry {
  min-height:248px;
  grid-template-columns:138px minmax(0,1fr);
  padding:20px;
}

#desktop-official-library .official-library-redesign .official-yibentong-entry figure {
  width:138px;
  height:186px;
}

#desktop-official-library .official-library-redesign .official-yibentong-entry strong {
  font-size:28px;
}

#desktop-official-library .official-library-redesign .official-writing-section,
#desktop-official-library .official-library-redesign .official-cards-section {
  margin-top:40px;
}

#desktop-official-library .official-library-redesign .official-section-heading {
  align-items:center;
  padding-bottom:14px !important;
}

#desktop-official-library .official-library-redesign .official-writing-grid {
  grid-template-columns:repeat(5,minmax(132px,1fr));
  gap:10px;
}

#desktop-official-library .official-library-redesign .official-writing-grid > a {
  min-height:92px;
  padding:14px;
  border-radius:7px;
}

#desktop-official-library .official-library-redesign .official-writing-grid > a.is-recommended {
  border-color:#35d6c5;
  background:linear-gradient(135deg,rgba(53,214,197,.11),rgba(255,255,255,.025)),#121917;
}

#desktop-official-library .official-library-redesign .official-library-grid {
  grid-template-columns:repeat(3,minmax(240px,1fr));
  gap:12px;
}

#desktop-official-library .official-library-redesign .official-library-grid > a {
  min-height:104px;
  border-radius:7px;
}

body.desktop-light #desktop-official-library .official-library-redesign .official-library-status article {
  border-color:#c6e6e2;
  background:#fff;
}

body.desktop-light #desktop-official-library .official-library-redesign .official-library-status span {
  color:#6d7783;
}

body.desktop-light #desktop-official-library .official-library-redesign .official-primary-card small {
  border-color:#bae0dc;
  background:#eefaf8;
  color:#15786e;
}
#desktop-official-library .official-library-workbench {
  width:min(1220px,calc(100% - 64px)) !important;
  padding:42px 0 72px !important;
}

#desktop-official-library .official-library-workbench .official-library-head {
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:24px;
  min-height:0 !important;
  padding:0 0 24px !important;
  border-bottom:1px solid rgba(255,255,255,.09) !important;
}

#desktop-official-library .official-library-workbench .official-library-head > div:first-child {
  max-width:760px;
}

#desktop-official-library .official-library-workbench .official-library-head span,
#desktop-official-library .official-library-workbench .official-section-heading span,
#desktop-official-library .official-library-workbench .official-focus-kicker span,
#desktop-official-library .official-library-workbench .official-route-panel > div > span,
#desktop-official-library .official-library-workbench .official-yibentong-compact span {
  color:#48d8c8;
  font-size:10px;
  font-weight:850;
  letter-spacing:.08em;
}

#desktop-official-library .official-library-workbench .official-library-head h1 {
  margin:9px 0 10px;
  color:#f5f3f7;
  font-size:42px !important;
  line-height:1.08;
  letter-spacing:0 !important;
}

#desktop-official-library .official-library-workbench .official-library-head p {
  max-width:680px;
  color:#a8a5ad;
  font-size:14px;
  line-height:1.75;
}

#desktop-official-library .official-head-action {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  min-height:42px;
  padding:0 16px;
  border:1px solid rgba(72,216,200,.42);
  border-radius:6px;
  background:#11211f;
  color:#dbfffb;
  font-size:13px;
  font-weight:780;
  text-decoration:none;
  white-space:nowrap;
}

#desktop-official-library .official-head-action i { font-size:18px; }

#desktop-official-library .official-focus-layout {
  display:grid;
  grid-template-columns:minmax(0,1.16fr) minmax(320px,.84fr);
  gap:18px;
  margin-top:26px;
}

#desktop-official-library .official-focus-card {
  display:flex;
  flex-direction:column;
  min-height:336px;
  padding:30px;
  border:1px solid rgba(72,216,200,.28);
  border-radius:8px;
  background:linear-gradient(135deg,#142321 0%,#111316 58%,#171820 100%);
  color:inherit;
  text-decoration:none;
}

#desktop-official-library .official-focus-kicker {
  display:inline-flex;
  align-items:center;
  gap:10px;
}

#desktop-official-library .official-focus-kicker i {
  display:grid;
  place-items:center;
  width:42px;
  height:42px;
  border:1px solid rgba(72,216,200,.34);
  border-radius:8px;
  background:rgba(72,216,200,.1);
  color:#55dfd0;
  font-size:22px;
}

#desktop-official-library .official-focus-card strong {
  display:block;
  margin-top:24px;
  color:#fbf9fc;
  font-size:34px;
  line-height:1.14;
  font-weight:850;
}

#desktop-official-library .official-focus-card p {
  max-width:600px;
  margin:14px 0 0;
  color:#bbb7bf;
  font-size:14px;
  line-height:1.8;
}

#desktop-official-library .official-focus-meta {
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  margin-top:24px;
}

#desktop-official-library .official-focus-meta span {
  min-height:28px;
  padding:7px 10px;
  border:1px solid rgba(255,255,255,.1);
  border-radius:4px;
  background:rgba(255,255,255,.04);
  color:#d3d1d6;
  font-size:12px;
}

#desktop-official-library .official-focus-card b {
  display:flex;
  align-items:center;
  justify-content:space-between;
  margin-top:auto;
  padding-top:30px;
  color:#65e4d6;
  font-size:14px;
  font-weight:850;
}

#desktop-official-library .official-route-panel {
  display:flex;
  flex-direction:column;
  gap:16px;
  min-height:336px;
  padding:22px;
  border:1px solid rgba(255,255,255,.09);
  border-radius:8px;
  background:#111216;
}

#desktop-official-library .official-route-panel h2 {
  margin:7px 0 0;
  color:#f0edf3;
  font-size:22px;
  line-height:1.2;
}

#desktop-official-library .official-route-panel ol {
  display:grid;
  gap:10px;
  margin:0;
  padding:0;
  list-style:none;
}

#desktop-official-library .official-route-panel li {
  display:grid;
  grid-template-columns:28px minmax(0,1fr);
  gap:11px;
  align-items:start;
  padding:13px;
  border:1px solid rgba(255,255,255,.07);
  border-radius:7px;
  background:#15161b;
}

#desktop-official-library .official-route-panel li::before {
  display:grid;
  place-items:center;
  width:28px;
  height:28px;
  border-radius:6px;
  background:#1c2f2c;
  color:#54dcca;
  font-size:12px;
  font-weight:850;
  content:counter(list-item);
}

#desktop-official-library .official-route-panel li strong,
#desktop-official-library .official-route-panel li span {
  display:block;
}

#desktop-official-library .official-route-panel li strong {
  color:#ebe9ee;
  font-size:14px;
  line-height:1.35;
}

#desktop-official-library .official-route-panel li span {
  margin-top:4px;
  color:#8f8c94;
  font-size:12px;
  line-height:1.45;
}

#desktop-official-library .official-yibentong-compact {
  display:grid;
  grid-template-columns:72px minmax(0,1fr) 18px;
  gap:14px;
  align-items:center;
  margin-top:auto;
  padding:13px;
  border:1px solid rgba(255,255,255,.1);
  border-radius:8px;
  background:#181920;
  color:inherit;
  text-decoration:none;
}

#desktop-official-library .official-yibentong-compact figure {
  width:72px;
  height:96px;
  margin:0;
  overflow:hidden;
  border-radius:5px;
  background:#242630;
}

#desktop-official-library .official-yibentong-compact img {
  display:block;
  width:100%;
  height:100%;
  object-fit:cover;
}

#desktop-official-library .official-yibentong-compact strong {
  display:block;
  margin-top:5px;
  color:#f0edf3;
  font-size:17px;
}

#desktop-official-library .official-yibentong-compact p {
  margin:5px 0 0;
  color:#8e8b94;
  font-size:12px;
  line-height:1.45;
}

#desktop-official-library .official-yibentong-compact b {
  color:#54dcca;
  font-size:22px;
  font-weight:500;
}

#desktop-official-library .official-library-workbench .official-output-section,
#desktop-official-library .official-library-workbench .official-foundation-section {
  margin-top:38px;
}
#desktop-official-library .official-library-workbench .official-foundation-featured { position:relative; overflow:hidden; margin-top:32px; padding:28px 30px 30px; border:1px solid rgba(104,220,203,.28); border-radius:14px; background:linear-gradient(120deg,rgba(24,57,62,.92),rgba(28,33,55,.94) 62%,rgba(40,29,59,.93)); }
#desktop-official-library .official-library-workbench .official-foundation-featured::before { content:""; position:absolute; right:-72px; top:-116px; width:280px; height:280px; border:1px solid rgba(122,230,214,.16); border-radius:50%; box-shadow:0 0 0 32px rgba(122,230,214,.035),0 0 0 64px rgba(135,120,241,.025); pointer-events:none; }
#desktop-official-library .official-library-workbench .official-foundation-featured .official-section-heading,#desktop-official-library .official-library-workbench .official-foundation-featured .official-section-intro,#desktop-official-library .official-library-workbench .official-foundation-featured .official-library-grid { position:relative; z-index:1; }
#desktop-official-library .official-library-workbench .official-foundation-featured .official-section-heading > div > span { color:#83eadc; }
#desktop-official-library .official-library-workbench .official-foundation-featured .official-section-heading > a { border:1px solid rgba(111,226,211,.42); border-radius:5px; padding:8px 11px; background:rgba(18,59,61,.54); color:#bcf6ef; }

#desktop-official-library .official-library-workbench .official-section-heading {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  padding-bottom:13px !important;
  border-bottom:1px solid rgba(255,255,255,.08) !important;
}

#desktop-official-library .official-library-workbench .official-section-heading h2 {
  margin:5px 0 0;
  color:#f0edf3;
  font-size:23px;
  line-height:1.2;
}

#desktop-official-library .official-library-workbench .official-section-heading > a {
  color:#a9e8e1;
  font-size:13px;
  font-weight:760;
  text-decoration:none;
  white-space:nowrap;
}

#desktop-official-library .official-writing-flow {
  display:grid;
  grid-template-columns:repeat(5,minmax(132px,1fr));
  gap:10px;
  margin-top:14px;
}

#desktop-official-library .official-writing-flow > a {
  display:grid;
  grid-template-columns:34px minmax(0,1fr) 16px;
  gap:12px;
  align-items:center;
  min-height:96px;
  padding:14px;
  border:1px solid rgba(255,255,255,.08);
  border-radius:7px;
  background:#121317;
  color:inherit;
  text-decoration:none;
}

#desktop-official-library .official-writing-flow > a.is-recommended {
  border-color:rgba(72,216,200,.45);
  background:#14201e;
}

#desktop-official-library .official-writing-flow i {
  display:grid;
  place-items:center;
  width:34px;
  height:34px;
  border-radius:7px;
  background:#1b2d2a;
  color:#51dacb;
  font-size:18px;
}

#desktop-official-library .official-writing-flow small,
#desktop-official-library .official-writing-flow strong,
#desktop-official-library .official-writing-flow span {
  display:block;
}

#desktop-official-library .official-writing-flow small {
  color:#5edfd0;
  font-size:10px;
  font-weight:850;
}

#desktop-official-library .official-writing-flow strong {
  margin-top:4px;
  color:#efedf2;
  font-size:15px;
  line-height:1.32;
}

#desktop-official-library .official-writing-flow span {
  margin-top:4px;
  color:#8b8891;
  font-size:11px;
  line-height:1.4;
}

#desktop-official-library .official-writing-flow b {
  color:#77747d;
  font-size:18px;
  font-weight:400;
}

#desktop-official-library .official-library-workbench .official-library-grid {
  grid-template-columns:repeat(3,minmax(220px,1fr));
  gap:10px;
  margin-top:14px;
}

#desktop-official-library .official-library-workbench .official-library-grid > a {
  min-height:88px;
  padding:15px;
  border-radius:7px;
  background:#121317;
}

/* Lower learning areas: elevate the working surface so these are not lost in the dark canvas. */
#desktop-official-library .official-library-workbench .official-output-section,
#desktop-official-library .official-library-workbench .official-foundation-section {
  position: relative;
  overflow: hidden;
  margin-top: 28px;
  padding: 23px;
  border: 1px solid rgba(133, 151, 202, .16);
  border-radius: 14px;
  background:
    radial-gradient(circle at 100% 0, rgba(82, 117, 210, .14), transparent 30%),
    linear-gradient(135deg, rgba(27, 33, 53, .94), rgba(16, 19, 30, .96));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.045), 0 16px 34px rgba(0,0,0,.12);
}
#desktop-official-library .official-library-workbench .official-foundation-section {
  background:
    radial-gradient(circle at 3% 100%, rgba(59, 185, 168, .14), transparent 35%),
    radial-gradient(circle at 100% 0, rgba(129, 105, 208, .13), transparent 31%),
    linear-gradient(135deg, rgba(25, 31, 47, .96), rgba(16, 19, 29, .98));
}
#desktop-official-library .official-library-workbench .official-section-heading {
  position: relative;
  z-index: 1;
  border-color: rgba(178, 191, 236, .16) !important;
}
#desktop-official-library .official-library-workbench .official-section-heading > a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 32px;
  padding: 0 11px;
  border: 1px solid rgba(111, 229, 214, .25);
  border-radius: 6px;
  background: rgba(57, 178, 165, .1);
  color: #b5f4eb;
}
#desktop-official-library .official-library-workbench .official-section-intro { color: #a8b0c2; }
#desktop-official-library .official-writing-flow { position: relative; z-index: 1; gap: 12px; margin-top: 17px; }
#desktop-official-library .official-writing-flow > a {
  position: relative;
  overflow: hidden;
  min-height: 108px;
  border-color: rgba(155, 172, 220, .2);
  border-radius: 10px;
  background: linear-gradient(145deg, rgba(35, 43, 65, .96), rgba(20, 24, 37, .98));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.035);
}
#desktop-official-library .official-writing-flow > a::before {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, #52dccd, #7a91ff);
  content: '';
  opacity: .72;
}
#desktop-official-library .official-writing-flow > a:hover {
  border-color: rgba(128, 217, 207, .56);
  background: linear-gradient(145deg, rgba(40, 61, 76, .98), rgba(23, 32, 46, .98));
  box-shadow: 0 10px 24px rgba(5, 12, 25, .3), inset 0 1px 0 rgba(255,255,255,.07);
  transform: translateY(-3px);
}
#desktop-official-library .official-writing-flow > a.is-recommended { border-color: rgba(81, 231, 213, .62); background: linear-gradient(145deg, #173f3b, #19273a); }
#desktop-official-library .official-writing-flow i { width: 39px; height: 39px; border: 1px solid rgba(94, 226, 211, .2); border-radius: 9px; background: rgba(67, 210, 193, .12); color: #83ecdf; }
#desktop-official-library .official-writing-flow strong { color: #f5f4fb; font-size: 16px; }
#desktop-official-library .official-writing-flow span { color: #aeb6c7; }
#desktop-official-library .official-writing-flow b { color: #b7f4eb; }
#desktop-official-library .official-library-workbench .official-library-grid { position: relative; z-index: 1; gap: 13px; margin-top: 17px; }
#desktop-official-library .official-library-workbench .official-library-grid > a {
  position: relative;
  overflow: hidden;
  min-height: 96px;
  border: 1px solid color-mix(in srgb, var(--subject-tone, #8395ff) 35%, rgba(185, 197, 233, .18));
  border-radius: 10px;
  background: linear-gradient(125deg, color-mix(in srgb, var(--subject-tone, #8395ff) 15%, #20273a), #171b29 72%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.04);
}
#desktop-official-library .official-library-workbench .official-library-grid > a::after {
  position: absolute;
  right: -22px;
  bottom: -38px;
  width: 105px;
  height: 105px;
  border: 1px solid color-mix(in srgb, var(--subject-tone, #8395ff) 38%, transparent);
  border-radius: 50%;
  content: '';
  opacity: .54;
}
#desktop-official-library .official-library-workbench .official-library-grid > a:hover { border-color: var(--subject-tone, #9ba9ff); transform: translateY(-3px); box-shadow: 0 10px 22px rgba(3, 8, 19, .26), inset 0 1px 0 rgba(255,255,255,.07); }
#desktop-official-library .official-library-workbench .official-library-grid > a > i { position: relative; z-index: 1; border-radius: 9px; background: color-mix(in srgb, var(--subject-tone, #8395ff) 18%, #263047); color: color-mix(in srgb, var(--subject-tone, #8395ff) 72%, #e5eaff); }
#desktop-official-library .official-library-workbench .official-library-grid > a div,
#desktop-official-library .official-library-workbench .official-library-grid > a b { position: relative; z-index: 1; }
#desktop-official-library .official-library-workbench .official-library-grid strong { color: #f3f4fa; font-size: 16px; }
#desktop-official-library .official-library-workbench .official-library-grid span { color: #abb3c4; }
#desktop-official-library .official-library-workbench .official-library-grid small {
  display: inline-flex;
  margin-top: 7px;
  padding: 3px 6px;
  border-radius: 4px;
  background: rgba(109, 236, 218, .11);
  color: #9eede3;
  font-size: 9px;
  font-weight: 750;
  letter-spacing: .03em;
}
#desktop-official-library .official-library-workbench .official-library-grid > a.is-admin-only {
  --subject-tone: #9aa4b8;
  filter: saturate(.45);
}
#desktop-official-library .official-library-workbench .official-library-grid > a.is-admin-only small {
  background: rgba(166, 176, 205, .11);
  color: #b3bac8;
}
#desktop-official-library .official-library-workbench .official-library-grid > a.is-admin-only > b {
  color: #a7afc0;
  font-size: 13px;
}
#desktop-official-library .official-library-workbench .official-library-grid > a.is-admin-only:hover {
  border-color: rgba(155, 172, 220, .4);
}
#desktop-official-library .official-library-workbench .official-library-grid > a.is-coming-soon {
  cursor: not-allowed;
  filter: saturate(.48);
  opacity: .72;
}
#desktop-official-library .official-library-workbench .official-library-grid > a.is-coming-soon:hover { transform: none; border-color: rgba(155, 172, 220, .2); box-shadow: inset 0 1px 0 rgba(255,255,255,.04); }
#desktop-official-library .official-library-workbench .official-library-grid > a.is-coming-soon small { background: rgba(166, 176, 205, .11); color: #b3bac8; }
#desktop-official-library .official-library-workbench .official-library-grid > a.is-coming-soon > b { color: #a7afc0; font-size: 15px; }

body.desktop-light #desktop-official-library .official-library-workbench .official-library-head {
  border-color:#dce3ea !important;
}

body.desktop-light #desktop-official-library .official-library-workbench .official-library-head h1,
body.desktop-light #desktop-official-library .official-library-workbench .official-route-panel h2,
body.desktop-light #desktop-official-library .official-library-workbench .official-section-heading h2,
body.desktop-light #desktop-official-library .official-library-workbench .official-route-panel li strong,
body.desktop-light #desktop-official-library .official-library-workbench .official-yibentong-compact strong,
body.desktop-light #desktop-official-library .official-library-workbench .official-writing-flow strong,
body.desktop-light #desktop-official-library .official-library-workbench .official-focus-card strong {
  color:#222b35;
}

body.desktop-light #desktop-official-library .official-library-workbench .official-library-head p,
body.desktop-light #desktop-official-library .official-library-workbench .official-route-panel li span,
body.desktop-light #desktop-official-library .official-library-workbench .official-yibentong-compact p,
body.desktop-light #desktop-official-library .official-library-workbench .official-writing-flow span,
body.desktop-light #desktop-official-library .official-library-workbench .official-focus-card p {
  color:#687582;
}

body.desktop-light #desktop-official-library .official-library-workbench .official-focus-card,
body.desktop-light #desktop-official-library .official-library-workbench .official-route-panel,
body.desktop-light #desktop-official-library .official-library-workbench .official-route-panel li,
body.desktop-light #desktop-official-library .official-library-workbench .official-yibentong-compact,
body.desktop-light #desktop-official-library .official-library-workbench .official-writing-flow > a {
  border-color:#dce3ea;
  background:#fff;
}

body.desktop-light #desktop-official-library .official-library-workbench .official-focus-card {
  border-color:#bfe5df;
  background:linear-gradient(135deg,#effbf9 0%,#fff 64%);
}

body.desktop-light #desktop-official-library .official-library-workbench .official-head-action {
  background:#ecfaf8;
  color:#147b70;
}

body.desktop-light #desktop-official-library .official-library-workbench .official-focus-meta span {
  border-color:#dce3ea;
  background:#f6f9fb;
  color:#4e5b66;
}
#desktop-official-library .official-library-refined {
  width:min(1180px,calc(100% - 64px)) !important;
  padding:44px 0 72px !important;
}

#desktop-official-library .official-library-refined .official-library-head {
  grid-template-columns:minmax(0,1fr) minmax(260px,360px);
  align-items:end;
  min-height:132px !important;
  padding-bottom:24px !important;
}

#desktop-official-library .official-library-refined .official-library-head h1 {
  font-size:40px !important;
  line-height:1.08;
}

#desktop-official-library .official-library-refined .official-library-head p {
  max-width:690px;
  line-height:1.7;
}

#desktop-official-library .official-library-refined .official-library-status {
  gap:8px;
}

#desktop-official-library .official-library-refined .official-library-status article {
  min-height:70px;
  padding:13px 10px;
  background:#111316;
}

#desktop-official-library .official-library-refined .official-library-status strong {
  font-size:20px;
}

#desktop-official-library .official-library-refined .official-primary-grid {
  grid-template-columns:minmax(0,1.28fr) minmax(350px,.72fr);
  gap:16px;
  margin-top:26px;
}

#desktop-official-library .official-library-refined .official-primary-card {
  min-height:224px;
  border-radius:8px;
}

#desktop-official-library .official-library-refined .official-template-card {
  padding:30px;
  border-color:rgba(53,214,197,.34);
  background:linear-gradient(135deg,#132421 0%,#111316 56%,#171820 100%);
}

#desktop-official-library .official-library-refined .official-template-card strong {
  font-size:34px;
}

#desktop-official-library .official-library-refined .official-card-card {
  opacity:.94;
}

#desktop-official-library .official-library-refined .official-yibentong-entry {
  grid-template-columns:196px minmax(0,1fr);
  min-height:224px;
}

#desktop-official-library .official-library-refined .official-yibentong-entry figure {
  width:118px;
  height:158px;
}

#desktop-official-library .official-library-refined .official-yibentong-entry .official-yibentong-covers {
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:6px;
  width:180px;
  height:132px;
  padding:8px;
  border:1px solid rgba(199,218,244,.28);
  border-radius:8px;
  background:#101824;
}

#desktop-official-library .official-library-refined .official-yibentong-entry .official-yibentong-covers::before {
  content:"";
  grid-area:1 / 1 / 3 / 3;
  border-radius:4px;
  background:linear-gradient(135deg,rgba(23,58,112,.85),rgba(16,24,36,.92));
}

#desktop-official-library .official-library-refined .official-yibentong-entry .official-yibentong-covers img {
  display:block;
  width:100%;
  height:100%;
  min-width:0;
  object-fit:contain;
  object-position:center;
  background:#173a70;
  border-radius:4px;
  box-shadow:0 8px 18px rgba(0,0,0,.28);
  position:relative;
  z-index:1;
}

#desktop-official-library .official-library-refined .official-yibentong-entry strong {
  font-size:25px;
}

#desktop-official-library .official-library-refined .official-writing-section,
#desktop-official-library .official-library-refined .official-cards-section {
  margin-top:34px;
}

#desktop-official-library .official-library-refined .official-section-heading {
  padding-bottom:12px !important;
}

#desktop-official-library .official-library-refined .official-writing-grid {
  grid-template-columns:repeat(5,minmax(126px,1fr));
  gap:9px;
  margin-top:14px;
}

#desktop-official-library .official-library-refined .official-writing-grid > a {
  min-height:86px;
  padding:13px;
  border-radius:7px;
  background:#121317;
}

#desktop-official-library .official-library-refined .official-writing-grid > a.is-recommended {
  border-color:rgba(53,214,197,.5);
  background:linear-gradient(135deg,rgba(53,214,197,.12),rgba(255,255,255,.025)),#121917;
}

#desktop-official-library .official-library-refined .official-library-grid {
  grid-template-columns:repeat(3,minmax(210px,1fr));
  gap:10px;
  margin-top:14px;
}

#desktop-official-library .official-library-refined .official-library-grid > a {
  min-height:92px;
  padding:15px;
  border-radius:7px;
  background:#121317;
}

body.desktop-light #desktop-official-library .official-library-refined .official-library-status article,
body.desktop-light #desktop-official-library .official-library-refined .official-writing-grid > a,
body.desktop-light #desktop-official-library .official-library-refined .official-library-grid > a {
  background:#fff;
}

body.desktop-light #desktop-official-library .official-library-refined .official-template-card {
  background:linear-gradient(135deg,#eefaf8 0%,#fff 64%);
}

@media (max-width:1180px) {
  #desktop-official-library .official-library-refined .official-library-head,
  #desktop-official-library .official-library-refined .official-primary-grid {
    grid-template-columns:1fr;
  }

  #desktop-official-library .official-library-refined .official-library-status {
    max-width:460px;
  }

  #desktop-official-library .official-library-refined .official-writing-grid {
    grid-template-columns:repeat(3,minmax(0,1fr));
  }
}

@media (max-width:760px) {
  #desktop-official-library .official-library-refined {
    width:calc(100% - 32px) !important;
    padding-top:30px !important;
  }

  #desktop-official-library .official-library-refined .official-library-head h1 {
    font-size:32px !important;
  }

  #desktop-official-library .official-library-refined .official-library-status,
  #desktop-official-library .official-library-refined .official-writing-grid,
  #desktop-official-library .official-library-refined .official-library-grid {
    grid-template-columns:1fr;
  }

  #desktop-official-library .official-library-refined .official-primary-card,
  #desktop-official-library .official-library-refined .official-yibentong-entry {
    grid-template-columns:1fr;
    min-height:0;
  }

  #desktop-official-library .official-library-refined .official-yibentong-entry figure {
    width:112px;
    height:150px;
  }

  #desktop-official-library .official-library-refined .official-yibentong-entry .official-yibentong-covers {
    width:min(220px,100%);
    height:162px;
  }
}

@media (max-width:1180px) {
  #desktop-official-library .official-library-workbench .official-focus-layout {
    grid-template-columns:1fr;
  }

  #desktop-official-library .official-writing-flow {
    grid-template-columns:repeat(3,minmax(0,1fr));
  }
}

@media (max-width:760px) {
  #desktop-official-library .official-library-workbench {
    width:calc(100% - 32px) !important;
    padding-top:30px !important;
  }

  #desktop-official-library .official-library-workbench .official-library-head {
    align-items:flex-start;
    flex-direction:column;
  }

  #desktop-official-library .official-library-workbench .official-library-head h1 {
    font-size:32px !important;
  }

  #desktop-official-library .official-writing-flow,
  #desktop-official-library .official-library-workbench .official-library-grid {
    grid-template-columns:1fr;
  }

  #desktop-official-library .official-focus-card,
  #desktop-official-library .official-route-panel {
    min-height:0;
  }
}

@media (max-width:1180px) {
  #desktop-official-library .official-library-redesign .official-library-head,
  #desktop-official-library .official-library-redesign .official-primary-grid {
    grid-template-columns:1fr;
  }

  #desktop-official-library .official-library-redesign .official-library-status {
    max-width:520px;
  }

  #desktop-official-library .official-library-redesign .official-writing-grid {
    grid-template-columns:repeat(3,minmax(0,1fr));
  }
}

@media (max-width:760px) {
  #desktop-official-library .official-library-redesign {
    width:calc(100% - 32px) !important;
    padding-top:30px !important;
  }

  #desktop-official-library .official-library-redesign .official-library-head h1 {
    font-size:34px !important;
  }

  #desktop-official-library .official-library-redesign .official-library-status,
  #desktop-official-library .official-library-redesign .official-writing-grid,
  #desktop-official-library .official-library-redesign .official-library-grid {
    grid-template-columns:1fr;
  }

  #desktop-official-library .official-library-redesign .official-primary-card,
  #desktop-official-library .official-library-redesign .official-yibentong-entry {
    grid-template-columns:1fr;
    min-height:0;
  }

  #desktop-official-library .official-library-redesign .official-yibentong-entry figure {
    grid-row:auto;
    width:118px;
    height:156px;
  }
}
#desktop-official-library .official-library-v2.official-library-refined .official-primary-grid {
  grid-template-columns:repeat(2,minmax(0,1fr)) !important;
  gap:16px !important;
}
#desktop-official-library .official-library-v2.official-library-refined .official-primary-card {
  display:grid !important;
  grid-template-columns:minmax(0,1fr) !important;
  grid-template-rows:minmax(0,1fr) auto !important;
}
#desktop-official-library .official-library-v2.official-library-refined .official-primary-card > div {
  width:auto !important;
  min-width:0 !important;
}
#desktop-official-library .official-library-v2.official-library-refined .official-yibentong-entry {
  grid-column:auto !important;
  grid-template-columns:154px minmax(0,1fr) !important;
}
#desktop-official-library .official-library-v2.official-library-refined .official-yibentong-entry .official-yibentong-covers { width:142px; height:116px; }
#desktop-official-library .official-library-v2.official-library-refined .official-puzzle-entry { border-color:#4c487e; background:linear-gradient(135deg,#17152a 0%,#121217 60%,#171820 100%); }
#desktop-official-library .official-library-v2.official-library-refined .official-puzzle-entry > div > span,
#desktop-official-library .official-library-v2.official-library-refined .official-puzzle-entry b,
#desktop-official-library .official-library-v2.official-library-refined .official-puzzle-entry em { color:#aaa4ff; }
#desktop-official-library .official-library-v2.official-library-refined .official-puzzle-entry small { border-color:rgba(170,164,255,.28); background:rgba(170,164,255,.09); color:#bbb6ff; }
@media (max-width:980px) {
  #desktop-official-library .official-library-v2.official-library-refined .official-primary-grid { grid-template-columns:1fr !important; }
  #desktop-official-library .official-library-v2.official-library-refined .official-yibentong-entry { grid-template-columns:112px minmax(0,1fr) !important; }
}
#desktop-official-library .official-library-refined .official-study-room-entry { display:grid; grid-template-columns:42px minmax(0,1fr) auto; align-items:center; gap:14px; min-height:76px; margin:20px 0 26px; padding:13px 16px; border:1px solid #294440; border-radius:6px; background:#101918; color:inherit; text-decoration:none; transition:border-color .16s ease,background .16s ease,transform .16s ease; }
#desktop-official-library .official-library-refined .official-study-room-entry:hover { border-color:#51cabb; background:#13221f; transform:translateY(-1px); }
#desktop-official-library .official-library-refined .official-study-room-entry > i { display:grid; width:42px; height:42px; place-items:center; border:1px solid #38766e; border-radius:5px; background:#17302c; color:#65ddcf; font-size:20px; }
#desktop-official-library .official-library-refined .official-study-room-entry > div { min-width:0; }
#desktop-official-library .official-library-refined .official-study-room-entry > div > span { display:block; margin-bottom:4px; color:#56cbbb; font-size:9px; font-weight:800; letter-spacing:.12em; }
#desktop-official-library .official-library-refined .official-study-room-entry strong { color:#edf2f1; font-size:14px; }
#desktop-official-library .official-library-refined .official-study-room-entry p { margin:4px 0 0; overflow:hidden; color:#7b8886; font-size:10px; text-overflow:ellipsis; white-space:nowrap; }
#desktop-official-library .official-library-refined .official-study-room-entry aside { display:grid; grid-template-columns:auto auto; column-gap:6px; align-items:baseline; padding-left:17px; border-left:1px solid #29403d; text-align:right; }
#desktop-official-library .official-library-refined .official-study-room-entry aside b { color:#65ddcf; font:600 23px/1 ui-monospace,SFMono-Regular,Menlo,monospace; font-variant-numeric:tabular-nums; }
#desktop-official-library .official-library-refined .official-study-room-entry aside > span { color:#8a9694; font-size:10px; }
#desktop-official-library .official-library-refined .official-study-room-entry aside em { grid-column:1 / -1; margin-top:7px; color:#a4b4b1; font-size:10px; font-style:normal; font-weight:700; }
#desktop-official-library .official-library-refined .official-study-room-entry aside small { margin-left:4px; color:#5bd3c4; font-size:15px; vertical-align:-1px; }
body.desktop-light #desktop-official-library .official-library-refined .official-study-room-entry { border-color:#cce3df; background:#f7fbfa; }
body.desktop-light #desktop-official-library .official-library-refined .official-study-room-entry:hover { border-color:#83c9c0; background:#f1faf8; }
body.desktop-light #desktop-official-library .official-library-refined .official-study-room-entry strong { color:#263332; }
body.desktop-light #desktop-official-library .official-library-refined .official-study-room-entry p { color:#71807e; }
@media (max-width:640px) { #desktop-official-library .official-library-refined .official-study-room-entry { grid-template-columns:38px minmax(0,1fr) auto; gap:10px; margin:16px 0 22px; padding:11px; } #desktop-official-library .official-library-refined .official-study-room-entry > i { width:38px; height:38px; font-size:18px; } #desktop-official-library .official-library-refined .official-study-room-entry aside { padding-left:10px; } #desktop-official-library .official-library-refined .official-study-room-entry aside b { font-size:19px; } }
#desktop-official-library .official-library-refined .official-study-room-entry { position:relative; grid-template-columns:minmax(230px,1fr) minmax(170px,.72fr) auto; min-height:148px; margin:22px 0 30px; padding:22px 24px; overflow:hidden; border-color:#31544d; background:#12201e; }
#desktop-official-library .official-library-refined .official-study-room-entry::before { content:''; position:absolute; inset:0; pointer-events:none; background:linear-gradient(90deg,rgba(86,205,190,.08),transparent 45%); }
#desktop-official-library .official-library-refined .official-study-room-entry:hover { border-color:#6dd6c6; background:#142724; transform:translateY(-2px); }
#desktop-official-library .official-library-refined .official-study-room-entry > .official-study-room-copy { position:relative; z-index:2; }
#desktop-official-library .official-library-refined .official-study-room-copy > span { display:block; margin-bottom:9px; color:#6ce0d1; font-size:9px; font-weight:800; letter-spacing:.16em; }
#desktop-official-library .official-library-refined .official-study-room-copy strong { display:block; color:#f2f7f5; font-size:23px; line-height:1.2; }
#desktop-official-library .official-library-refined .official-study-room-copy p { max-width:340px; margin:9px 0 12px; overflow:visible; color:#a1b7b1; font-size:12px; line-height:1.55; white-space:normal; }
#desktop-official-library .official-library-refined .official-study-room-copy small { display:flex; align-items:center; gap:7px; color:#82a59d; font-size:9px; }
#desktop-official-library .official-library-refined .official-study-room-copy small i { width:6px; height:6px; border-radius:50%; background:#59d6c5; box-shadow:0 0 0 4px rgba(89,214,197,.12); }
#desktop-official-library .official-library-refined .official-study-room-scene { position:relative; align-self:stretch; min-height:102px; overflow:hidden; border:1px solid rgba(151,223,211,.18); border-radius:5px; background:#1b302d; box-shadow:inset 0 0 0 5px rgba(4,15,13,.16); }
#desktop-official-library .official-room-window { position:absolute; top:13px; right:18px; display:grid; grid-template-columns:repeat(2,24px); gap:3px; padding:3px; border:2px solid #d2d4c6; background:#537d82; }
#desktop-official-library .official-room-window i { display:block; width:24px; height:24px; background:#94bdc0; }
#desktop-official-library .official-room-lamp { position:absolute; top:0; left:31px; width:2px; height:28px; background:#b9cfbf; }
#desktop-official-library .official-room-lamp::after { content:''; position:absolute; top:25px; left:-8px; width:18px; height:7px; border-radius:9px 9px 3px 3px; background:#ecdca3; box-shadow:0 5px 17px rgba(233,211,139,.42); }
#desktop-official-library .official-room-plant { position:absolute; right:17px; bottom:12px; width:13px; height:20px; border-radius:3px 3px 7px 7px; background:#aa7650; }
#desktop-official-library .official-room-plant::before,#desktop-official-library .official-room-plant::after { content:''; position:absolute; bottom:15px; width:12px; height:19px; border-radius:100% 0 100% 0; background:#54a36b; transform:rotate(24deg); }
#desktop-official-library .official-room-plant::after { left:7px; background:#74b878; transform:rotate(-29deg); }
#desktop-official-library .official-room-desks { position:absolute; right:47px; bottom:17px; left:18px; display:grid; grid-template-columns:repeat(2,1fr); gap:14px 11px; }
#desktop-official-library .official-room-desks i { height:12px; border:1px solid #8d603d; border-radius:2px; background:#805636; box-shadow:0 4px 0 #392317; }
#desktop-official-library .official-library-refined .official-study-room-entry aside { position:relative; z-index:2; align-self:center; min-width:86px; padding-left:18px; }
#desktop-official-library .official-library-refined .official-study-room-entry aside > div { display:grid; grid-template-columns:auto auto; align-items:baseline; column-gap:6px; }
#desktop-official-library .official-library-refined .official-study-room-entry aside > div b { font-size:25px; }
#desktop-official-library .official-library-refined .official-study-room-entry aside em { margin-top:15px; color:#c2e8df; }
body.desktop-light #desktop-official-library .official-library-refined .official-study-room-entry { border-color:#b9ddd7; background:#eff9f6; }
body.desktop-light #desktop-official-library .official-library-refined .official-study-room-copy strong { color:#1b302c; }
body.desktop-light #desktop-official-library .official-library-refined .official-study-room-copy p { color:#617b74; }
@media (max-width:760px) { #desktop-official-library .official-library-refined .official-study-room-entry { grid-template-columns:minmax(0,1fr) auto; min-height:126px; padding:18px; } #desktop-official-library .official-library-refined .official-study-room-scene { display:none; } #desktop-official-library .official-library-refined .official-study-room-copy strong { font-size:19px; } #desktop-official-library .official-library-refined .official-study-room-copy p { font-size:11px; } }
#desktop-official-library .official-library-refined .official-study-room-entry { grid-template-columns:minmax(300px,1fr) 286px 118px; min-height:126px; margin:18px 0 26px; padding:18px 20px; }
#desktop-official-library .official-library-refined .official-study-room-copy strong { font-size:20px; }
#desktop-official-library .official-library-refined .official-study-room-copy p { max-width:420px; margin:7px 0 9px; font-size:11px; }
#desktop-official-library .official-library-refined .official-study-room-scene { min-height:88px; border-color:rgba(149,221,208,.23); background:#18302c; }
#desktop-official-library .official-room-board { position:absolute; top:10px; left:12px; width:76px; height:13px; border:2px solid #5d3d2a; border-radius:1px; background:#23463d; box-shadow:0 3px 0 #2b1b12; }
#desktop-official-library .official-room-window { top:10px; right:13px; grid-template-columns:repeat(2,20px); gap:2px; padding:2px; }
#desktop-official-library .official-room-window i { width:20px; height:18px; }
#desktop-official-library .official-room-lamp { left:50%; height:20px; }
#desktop-official-library .official-room-lamp::after { top:18px; }
#desktop-official-library .official-room-plant { right:14px; bottom:9px; transform:scale(.76); transform-origin:bottom right; }
#desktop-official-library .official-room-desks { right:54px; bottom:13px; left:14px; grid-template-columns:repeat(3,1fr); gap:9px 12px; }
#desktop-official-library .official-room-desks i { height:10px; border-radius:2px; box-shadow:0 3px 0 #392317; }
#desktop-official-library .official-library-refined .official-study-room-entry aside { min-width:0; padding-left:15px; }
#desktop-official-library .official-library-refined .official-study-room-entry aside > div b { color:#69ddcf; font-size:23px; }
#desktop-official-library .official-library-refined .official-study-room-entry aside > div span { color:#92aaa4; font-size:9px; }
#desktop-official-library .official-library-refined .official-study-room-entry aside em { display:flex; align-items:center; justify-content:center; min-height:29px; margin-top:10px; border:1px solid #54c7b7; border-radius:3px; background:#1b4a43; color:#d5f9f1; font-size:9px; }
#desktop-official-library .official-library-refined .official-study-room-entry aside em small { margin-left:5px; }
@media (max-width:760px) { #desktop-official-library .official-library-refined .official-study-room-entry { grid-template-columns:minmax(0,1fr) 100px; min-height:118px; } #desktop-official-library .official-library-refined .official-study-room-copy strong { font-size:18px; } #desktop-official-library .official-library-refined .official-study-room-copy small { font-size:8px; } #desktop-official-library .official-library-refined .official-study-room-entry aside { padding-left:10px; } }


/* —— Command-center layout (official-command-*) ——
 * Markup in official.js uses these classes; older CSS only covered focus/route panels.
 */
#desktop-official-library .official-command-center .official-command-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(300px, 0.8fr);
  gap: 18px;
  margin-top: 26px;
}
#desktop-official-library .official-yibentong-slot { display: flex; flex-direction: column; height: 100%; gap: 10px; min-width: 0; }
#desktop-official-library .official-puzzle-quick-link {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) auto;
  gap: 11px;
  align-items: center;
  width: 100%;
  min-height: 48px;
  margin: 0;
  padding: 8px 13px;
  border: 1px solid rgba(112, 218, 205, .24);
  border-radius: 7px;
  background: linear-gradient(90deg, rgba(44, 122, 115, .18), rgba(26, 31, 44, .45));
  color: inherit;
  text-decoration: none;
  box-sizing: border-box;
}
#desktop-official-library .official-puzzle-quick-link:hover { border-color: rgba(119, 234, 219, .62); background: linear-gradient(90deg, rgba(48, 141, 132, .27), rgba(36, 42, 63, .56)); }
#desktop-official-library .official-puzzle-quick-link > i {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 6px;
  background: rgba(69, 210, 192, .12);
  color: #69e4d4;
  font-size: 19px;
}
#desktop-official-library .official-puzzle-quick-link span { min-width: 0; }
#desktop-official-library .official-puzzle-quick-link small,
#desktop-official-library .official-puzzle-quick-link strong,
#desktop-official-library .official-puzzle-quick-link em { display: inline; font-style: normal; }
#desktop-official-library .official-puzzle-quick-link small { margin-right: 8px; color: #6fe0d1; font-size: 9px; font-weight: 800; letter-spacing: .08em; }
#desktop-official-library .official-puzzle-quick-link strong { color: #e5fbf7; font-size: 14px; }
#desktop-official-library .official-puzzle-quick-link span em { margin-left: 9px; color: #92a6a6; font-size: 11px; }
#desktop-official-library .official-puzzle-quick-link > b { color: #88e6da; font-size: 11px; white-space: nowrap; }
#desktop-official-library .official-puzzle-quick-link > b em { margin-left: 3px; font-size: 18px; vertical-align: -1px; }
#desktop-official-library .official-command-primary {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  min-height: 336px;
  padding: 28px 28px 24px;
  border: 1px solid rgba(72, 216, 200, 0.28);
  border-radius: 8px;
  background: linear-gradient(135deg, #142321 0%, #111316 58%, #171820 100%);
  color: inherit;
  text-decoration: none;
  box-sizing: border-box;
}
#desktop-official-library .official-command-primary:hover {
  border-color: rgba(72, 216, 200, 0.48);
}
#desktop-official-library .official-command-mark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
#desktop-official-library .official-command-mark i {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(72, 216, 200, 0.34);
  border-radius: 8px;
  background: rgba(72, 216, 200, 0.1);
  color: #55dfd0;
  font-size: 22px;
}
#desktop-official-library .official-command-mark span {
  color: #48d8c8;
  font-size: 10px;
  font-weight: 850;
  letter-spacing: 0.08em;
}
#desktop-official-library .official-command-primary > div {
  margin-top: 22px;
  min-width: 0;
}
#desktop-official-library .official-command-primary small {
  display: block;
  color: #8fdcd2;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.02em;
}
#desktop-official-library .official-command-primary h2 {
  margin: 10px 0 0;
  color: #fbf9fc;
  font-size: 32px;
  line-height: 1.16;
  font-weight: 850;
}
#desktop-official-library .official-command-primary p {
  max-width: 560px;
  margin: 14px 0 0;
  color: #bbb7bf;
  font-size: 14px;
  line-height: 1.75;
}
#desktop-official-library .official-command-primary footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: auto;
  padding-top: 28px;
}
#desktop-official-library .official-command-primary footer span {
  color: #9a969f;
  font-size: 13px;
}
#desktop-official-library .official-command-primary footer b {
  color: #65e4d6;
  font-size: 14px;
  font-weight: 850;
}
#desktop-official-library .official-command-primary footer em {
  font-style: normal;
}

/* 城规一本通是学习中心的主入口：以更高对比度、清晰的收益点和明确 CTA 建立首屏焦点。 */
#desktop-official-library .official-command-primary.official-yibentong-hero {
  position: relative;
  overflow: hidden;
  border-color: rgba(99, 122, 255, .68);
  background:
    radial-gradient(circle at 93% 10%, rgba(122, 139, 255, .32), transparent 30%),
    radial-gradient(circle at 7% 100%, rgba(54, 221, 195, .18), transparent 36%),
    linear-gradient(125deg, #18203d 0%, #111624 54%, #15131f 100%);
  box-shadow: 0 14px 34px rgba(0, 0, 0, .2), inset 0 1px 0 rgba(255, 255, 255, .08);
}
#desktop-official-library .official-command-primary.official-yibentong-hero::after {
  display: none;
}
#desktop-official-library .official-yibentong-cover {
  position: absolute;
  z-index: 0;
  right: 24px;
  bottom: 21px;
  width: 146px;
  height: 202px;
  overflow: hidden;
  border: 1px solid rgba(214, 224, 255, .36);
  border-radius: 3px;
  background: #21447e;
  box-shadow: -13px 17px 30px rgba(0, 0, 0, .38), 8px 8px 0 rgba(150, 165, 255, .14);
  transform: rotate(5deg);
  transform-origin: center bottom;
}
#desktop-official-library .official-yibentong-cover::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,.14), transparent 32%, rgba(7, 12, 41, .16));
  content: '';
}
#desktop-official-library .official-yibentong-cover img {
  display: block;
  width: 146px;
  max-width: none;
  height: 202px;
  object-fit: cover;
  object-position: center;
}
#desktop-official-library .official-command-primary.official-yibentong-hero:hover {
  border-color: #9ba9ff;
  box-shadow: 0 18px 40px rgba(29, 39, 103, .3), inset 0 1px 0 rgba(255, 255, 255, .1);
  transform: translateY(-2px);
}
#desktop-official-library .official-yibentong-hero-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  position: relative;
  z-index: 1;
}
#desktop-official-library .official-yibentong-hero .official-command-mark i {
  border-color: rgba(169, 181, 255, .42);
  background: rgba(133, 149, 255, .16);
  color: #c8d0ff;
}
#desktop-official-library .official-yibentong-hero .official-command-mark span { color: #b9c5ff; }
#desktop-official-library .official-yibentong-badge {
  min-height: 28px;
  padding: 7px 10px;
  border: 1px solid rgba(218, 224, 255, .34);
  border-radius: 999px;
  background: rgba(228, 232, 255, .13);
  color: #f0f2ff;
  font-size: 11px;
  font-weight: 800;
  line-height: 1.2;
  white-space: nowrap;
}
#desktop-official-library .official-command-primary .official-yibentong-hero-copy {
  position: relative;
  z-index: 1;
  margin-top: 22px;
}
#desktop-official-library .official-yibentong-hero .official-yibentong-hero-copy small { color: #aebdff; }
#desktop-official-library .official-yibentong-hero .official-yibentong-hero-copy h2 {
  font-size: 38px;
  letter-spacing: .02em;
}
#desktop-official-library .official-yibentong-hero .official-yibentong-hero-copy p {
  max-width: calc(100% - 152px);
  color: #c6c7d5;
}
#desktop-official-library .official-yibentong-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 19px;
}
#desktop-official-library .official-yibentong-facts span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 28px;
  padding: 0 9px;
  border: 1px solid rgba(201, 210, 255, .18);
  border-radius: 5px;
  background: rgba(255, 255, 255, .055);
  color: #dedff0;
  font-size: 12px;
}
#desktop-official-library .official-yibentong-facts i { color: #9fafff; font-size: 15px; }
#desktop-official-library .official-yibentong-hero footer { position: relative; z-index: 1; }
#desktop-official-library .official-yibentong-hero footer span { color: #b8bac8; }
#desktop-official-library .official-yibentong-hero footer b {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 42px;
  padding: 0 15px;
  border-radius: 6px;
  background: #dbe1ff;
  color: #202848;
  box-shadow: 0 5px 16px rgba(151, 163, 255, .22);
}

body.desktop-light #desktop-official-library .official-command-primary.official-yibentong-hero {
  border-color: #aeb9ed;
  background: linear-gradient(125deg, #edf0ff, #f8f9ff 56%, #f3f9f8);
  box-shadow: none;
}
body.desktop-light #desktop-official-library .official-yibentong-hero .official-yibentong-hero-copy h2 { color: #222b48; }
body.desktop-light #desktop-official-library .official-yibentong-hero .official-yibentong-hero-copy p { color: #5d6781; }
body.desktop-light #desktop-official-library .official-yibentong-facts span { border-color: #d5dcfa; background: rgba(255,255,255,.68); color: #4b5676; }
body.desktop-light #desktop-official-library .official-yibentong-hero footer span { color: #66718b; }

@media (max-width: 760px) {
  #desktop-official-library .official-yibentong-hero .official-yibentong-hero-copy h2 { font-size: 31px; }
  #desktop-official-library .official-yibentong-cover { right: 15px; bottom: 18px; width: 98px; height: 136px; }
  #desktop-official-library .official-yibentong-cover img { width: 98px; height: 136px; }
  #desktop-official-library .official-yibentong-hero .official-yibentong-hero-copy p { max-width: calc(100% - 102px); }
  #desktop-official-library .official-yibentong-hero footer { align-items: flex-start; flex-direction: column; }
}

/* Paper hotspot library — gallery-first reading surface. */
#desktop-official-templates .official-templates-shell {
  width:min(1380px,calc(100% - 64px));
  padding:38px 0 76px;
}
#desktop-official-templates .official-hotspot-head {
  min-height:96px;
  padding-bottom:20px;
  border-color:#2b3038;
}
#desktop-official-templates .official-hotspot-head h1 {
  margin:7px 0 6px;
  color:#f2f7f6;
  font-size:38px;
  letter-spacing:-.04em;
}
#desktop-official-templates .official-hotspot-head p { max-width:680px; color:#b5c0c8; font-size:14px; line-height:1.65; }
#desktop-official-templates .official-hotspot-head > a {
  display:inline-flex;
  align-items:center;
  min-height:34px;
  padding:0 12px;
  border:1px solid #34404a;
  border-radius:6px;
  color:#aebbc6;
  font-size:13px;
}
#desktop-official-templates .official-hotspot-head > a:hover { border-color:#36c8ba; color:#bffaf2; }
#desktop-official-templates .official-hotspot-hero {
  grid-template-columns:minmax(0,1fr) 330px;
  gap:0;
  margin:22px 0 14px;
  overflow:hidden;
  border:1px solid #303943;
  border-radius:10px;
  background:linear-gradient(118deg,#111b1d 0%,#11151a 56%,#111319 100%);
}
#desktop-official-templates .official-hotspot-hero > div:first-child {
  min-height:148px;
  padding:24px 28px;
  border:0;
  background:radial-gradient(circle at 8% 0,rgba(53,214,197,.15),transparent 42%);
}
#desktop-official-templates .official-hotspot-hero > div > span { color:#5fe1d3; font-size:11px; font-weight:850; letter-spacing:.12em; }
#desktop-official-templates .official-hotspot-hero h2 { margin:7px 0 8px; color:#f2f7f8; font-size:25px; letter-spacing:-.025em; }
#desktop-official-templates .official-hotspot-hero p { max-width:650px; margin:0; color:#b9c4cb; font-size:14px; line-height:1.72; }
#desktop-official-templates .official-hotspot-steps { display:flex; gap:7px; margin-top:17px; }
#desktop-official-templates .official-hotspot-steps b { padding:6px 9px; border:1px solid rgba(100,187,180,.3); border-radius:4px; background:rgba(18,52,51,.52); color:#c2ece6; font-size:11px; font-weight:700; }
#desktop-official-templates .official-hotspot-hero .official-templates-summary {
  display:grid;
  grid-template-columns:1fr;
  margin:0;
  border:0;
  border-left:1px solid #2d3840;
  border-radius:0;
  background:rgba(8,11,15,.23);
}
#desktop-official-templates .official-hotspot-hero .official-templates-summary article {
  display:grid;
  grid-template-columns:70px 1fr;
  align-items:center;
  gap:12px;
  min-height:49px;
  padding:0 21px;
  border-bottom:1px solid #29323a;
}
#desktop-official-templates .official-hotspot-hero .official-templates-summary article:last-child { border-bottom:0; }
#desktop-official-templates .official-hotspot-hero .official-templates-summary strong { color:#55d9cb; font-size:22px; }
#desktop-official-templates .official-hotspot-hero .official-templates-summary span { margin:0; color:#b1bdc5; font-size:13px; }
#desktop-official-templates .official-hotspot-toolbar {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  margin:0 0 18px;
}
#desktop-official-templates .official-hotspot-toolbar label { flex:1 1 420px; max-width:620px; }
#desktop-official-templates .official-hotspot-view-switch {
  display:inline-flex;
  gap:3px;
  padding:3px;
  border:1px solid #303942;
  border-radius:7px;
  background:#101419;
}
#desktop-official-templates .official-hotspot-view-switch button {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:6px;
  height:31px;
  padding:0 11px;
  border:0;
  border-radius:4px;
  background:transparent;
  color:#8995a0;
  font:700 12px/1 inherit;
  cursor:pointer;
}
#desktop-official-templates .official-hotspot-view-switch button.active { background:#1b4d4a; color:#d5fffa; box-shadow:inset 0 0 0 1px rgba(96,221,208,.26); }
#desktop-official-templates .official-hotspot-layout { grid-template-columns:218px minmax(0,1fr); gap:20px; }
#desktop-official-templates .official-hotspot-rail {
  top:18px;
  gap:2px;
  max-height:calc(100vh - 48px);
  padding:10px;
  overflow:auto;
  border-color:#2c353e;
  border-radius:8px;
  background:#101419;
  scrollbar-width:thin;
}
#desktop-official-templates .official-hotspot-rail-title { display:flex; align-items:baseline; justify-content:space-between; padding:7px 8px 10px; }
#desktop-official-templates .official-hotspot-rail-title strong { margin:0; color:#f0f5f7; font-size:14px; }
#desktop-official-templates .official-hotspot-rail-title span { color:#a1aeb8; font-size:11px; }
#desktop-official-templates .official-hotspot-rail button {
  grid-template-columns:25px minmax(0,1fr) 20px;
  gap:7px;
  min-height:39px;
  padding:0 8px;
  border:0;
  border-radius:5px;
  background:transparent;
  color:#c0cbd2;
  font-size:13px;
  line-height:1.3;
}
#desktop-official-templates .official-hotspot-rail button em { color:#84939e; font:700 11px/1 ui-monospace,SFMono-Regular,Menlo,monospace; font-style:normal; }
#desktop-official-templates .official-hotspot-rail button b { color:#9ba8b2; font-size:11px; text-align:right; }
#desktop-official-templates .official-hotspot-rail button:hover,
#desktop-official-templates .official-hotspot-rail button.active { box-shadow:none; background:#193532; color:#d8fff9; }
#desktop-official-templates .official-hotspot-rail button:hover em,
#desktop-official-templates .official-hotspot-rail button.active em,
#desktop-official-templates .official-hotspot-rail button:hover b,
#desktop-official-templates .official-hotspot-rail button.active b { color:#5bdbcd; }
#desktop-official-templates .official-hotspot-topic { overflow:hidden; margin:0 0 16px; border-color:#303942; border-radius:9px; background:#11151a; box-shadow:none; }
#desktop-official-templates .official-hotspot-topic > header { min-height:70px; padding:0 20px; border-bottom:1px solid #29323a; background:linear-gradient(90deg,rgba(42,165,153,.11),transparent 58%); }
#desktop-official-templates .official-hotspot-topic > header i { width:30px; height:30px; border-color:rgba(84,213,200,.4); border-radius:5px; background:#16322f; color:#69dfd1; font-size:10px; }
#desktop-official-templates .official-hotspot-topic h2 { color:#f0f6f7; font-size:22px; letter-spacing:-.025em; }
#desktop-official-templates .official-hotspot-topic > header p { margin:3px 0 0; color:#aebbc3; font-size:13px; line-height:1.45; }
#desktop-official-templates .official-template-issue-list { padding:0 18px 18px; }
#desktop-official-templates .official-template-issue-list > section { padding-top:19px; }
#desktop-official-templates .official-template-issue-list > section + section { margin-top:18px; padding-top:19px; border-color:#303a43; }
#desktop-official-templates .official-template-issue-list > section > header {
  display:grid;
  grid-template-columns:auto minmax(0,1fr) auto;
  align-items:center;
  gap:9px;
  margin:0 0 10px;
}
#desktop-official-templates .official-template-issue-list > section > header span { padding:4px 7px; border-radius:3px; background:#20333a; color:#a6d5ce; font-size:10px; font-weight:800; letter-spacing:.06em; }
#desktop-official-templates .official-template-issue-list > section > header h3 { margin:0; color:#e1ebed; font-size:16px; line-height:1.35; }
#desktop-official-templates .official-template-issue-list > section > header b { color:#a8b5be; font-size:12px; font-weight:650; }
#desktop-official-templates .official-hotspot-row-wrap { position:relative; }
#desktop-official-templates .official-hotspot-row {
  min-height:0;
  padding:14px 0;
  border-color:#303a43;
}
#desktop-official-templates .official-hotspot-row strong { color:#f1f5f6; font-size:16px; line-height:1.45; font-weight:750; }
#desktop-official-templates .official-hotspot-row p { max-width:calc(100% - 92px); color:#b5c0c8; font-size:13px; line-height:1.72; }
#desktop-official-templates .official-hotspot-row span { color:#62ddcf; font-size:12px; font-weight:700; }
#desktop-official-templates .official-hotspot-priority-badge { display:inline-block; margin:0 7px 0 0; padding:3px 6px; border-radius:3px; background:#644a1a; color:#ffe0a0; font-size:10px; font-style:normal; font-weight:800; vertical-align:2px; }
#desktop-official-templates .official-hotspot-priority-toggle { position:absolute; right:64px; top:12px; border:0; background:transparent; color:#a3b0ba; font-size:11px; cursor:pointer; }
#desktop-official-templates .official-hotspot-priority-toggle.active { color:#e9bd5e; }

/* Gallery mode: turn source rows into compact, title-led material cards. */
#desktop-official-templates .official-templates-shell.is-gallery .official-hotspot-layout { grid-template-columns:1fr; }
#desktop-official-templates .official-templates-shell.is-gallery .official-hotspot-rail { display:grid; grid-template-columns:repeat(7,minmax(0,1fr)); position:static; max-height:none; padding:8px; }
#desktop-official-templates .official-templates-shell.is-gallery .official-hotspot-rail-title { grid-column:1 / -1; }
#desktop-official-templates .official-templates-shell.is-gallery .official-hotspot-rail button { min-height:39px; }
#desktop-official-templates .official-templates-shell.is-gallery .official-hotspot-topic { margin-bottom:22px; }
#desktop-official-templates .official-templates-shell.is-gallery .official-template-issue-list { padding:0 20px 20px; }
#desktop-official-templates .official-templates-shell.is-gallery .official-template-issue-list > section > div {
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:10px;
}
#desktop-official-templates .official-templates-shell.is-gallery .official-hotspot-row-wrap { display:block; min-width:0; }
#desktop-official-templates .official-templates-shell.is-gallery .official-hotspot-row {
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  grid-template-rows:auto minmax(38px,1fr) auto;
  gap:8px 12px;
  min-height:156px;
  padding:17px;
  border:1px solid #2c3741;
  border-radius:7px;
  background:linear-gradient(145deg,#151b21,#11151a);
  transition:transform .16s ease,border-color .16s ease,background .16s ease;
}
#desktop-official-templates .official-templates-shell.is-gallery .official-hotspot-row:hover { border-color:#49cabe; background:#172522; transform:translateY(-2px); }
#desktop-official-templates .official-templates-shell.is-gallery .official-hotspot-row strong { display:block; padding-right:4px; font-size:16px; }
#desktop-official-templates .official-templates-shell.is-gallery .official-hotspot-row p { grid-column:1 / -1; margin:0; overflow:hidden; }
#desktop-official-templates .official-templates-shell.is-gallery .official-hotspot-row span { grid-column:1; grid-row:3; align-self:end; color:#62ddcf; font-size:12px; }
#desktop-official-templates .official-templates-shell.is-gallery .official-hotspot-priority-toggle { right:10px; top:auto; bottom:12px; }

body.desktop-light #desktop-official-templates .official-hotspot-head { border-color:#dce5eb; }
body.desktop-light #desktop-official-templates .official-hotspot-head h1 { color:#1d2a35; }
body.desktop-light #desktop-official-templates .official-hotspot-head > a { border-color:#d7e1e8; color:#5b6b78; }
body.desktop-light #desktop-official-templates .official-hotspot-hero { border-color:#d5e2e6; background:linear-gradient(120deg,#edf9f7,#f8fbfc 58%,#fff); }
body.desktop-light #desktop-official-templates .official-hotspot-hero > div:first-child { background:radial-gradient(circle at 8% 0,rgba(53,214,197,.14),transparent 42%); }
body.desktop-light #desktop-official-templates .official-hotspot-hero h2,
body.desktop-light #desktop-official-templates .official-hotspot-topic h2,
body.desktop-light #desktop-official-templates .official-template-issue-list > section > header h3,
body.desktop-light #desktop-official-templates .official-hotspot-row strong { color:#20303b; }
body.desktop-light #desktop-official-templates .official-hotspot-hero p,
body.desktop-light #desktop-official-templates .official-hotspot-row p { color:#637381; }
body.desktop-light #desktop-official-templates .official-hotspot-hero .official-templates-summary { border-color:#d9e7ea; background:rgba(255,255,255,.52); }
body.desktop-light #desktop-official-templates .official-hotspot-hero .official-templates-summary article,
body.desktop-light #desktop-official-templates .official-hotspot-topic > header,
body.desktop-light #desktop-official-templates .official-template-issue-list > section + section { border-color:#e1e8ed; }
body.desktop-light #desktop-official-templates .official-hotspot-view-switch,
body.desktop-light #desktop-official-templates .official-hotspot-rail,
body.desktop-light #desktop-official-templates .official-hotspot-topic { border-color:#dce5ea; background:#fff; }
body.desktop-light #desktop-official-templates .official-hotspot-rail button:hover,
body.desktop-light #desktop-official-templates .official-hotspot-rail button.active { background:#eaf8f5; color:#157f74; }
body.desktop-light #desktop-official-templates .official-templates-shell.is-gallery .official-hotspot-row { border-color:#dce5ea; background:linear-gradient(145deg,#fff,#f8fbfc); }
body.desktop-light #desktop-official-templates .official-templates-shell.is-gallery .official-hotspot-row:hover { border-color:#6dc8bd; background:#f1fbf9; }

@media (max-width:980px) {
  #desktop-official-templates .official-templates-shell { width:calc(100% - 32px); padding-top:28px; }
  #desktop-official-templates .official-hotspot-hero { grid-template-columns:1fr; }
  #desktop-official-templates .official-hotspot-hero .official-templates-summary { grid-template-columns:repeat(3,1fr); border-top:1px solid #2d3840; border-left:0; }
  #desktop-official-templates .official-hotspot-hero .official-templates-summary article { grid-template-columns:1fr; gap:3px; min-height:62px; padding:8px 14px; border-right:1px solid #29323a; border-bottom:0; }
  #desktop-official-templates .official-hotspot-layout { grid-template-columns:1fr; }
  #desktop-official-templates .official-hotspot-rail { position:static; display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); max-height:none; }
  #desktop-official-templates .official-hotspot-rail-title { grid-column:1 / -1; }
  #desktop-official-templates .official-templates-shell.is-gallery .official-hotspot-rail { grid-template-columns:repeat(3,minmax(0,1fr)); }
}
@media (max-width:640px) {
  #desktop-official-templates .official-hotspot-head h1 { font-size:30px; }
  #desktop-official-templates .official-hotspot-toolbar { align-items:stretch; }
  #desktop-official-templates .official-hotspot-toolbar label { max-width:none; }
  #desktop-official-templates .official-hotspot-view-switch { align-self:flex-start; }
  #desktop-official-templates .official-hotspot-hero > div:first-child { padding:20px; }
  #desktop-official-templates .official-hotspot-rail,
  #desktop-official-templates .official-templates-shell.is-gallery .official-hotspot-rail { grid-template-columns:repeat(2,minmax(0,1fr)); }
  #desktop-official-templates .official-templates-shell.is-gallery .official-template-issue-list > section > div { grid-template-columns:1fr; }
  #desktop-official-templates .official-template-issue-list { padding:0 14px 14px; }
}

#desktop-official-library .official-command-route {
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-height: 394px;
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 8px;
  background: #111216;
  box-sizing: border-box;
}
#desktop-official-library .official-command-route > header span {
  display: block;
  color: #48d8c8;
  font-size: 10px;
  font-weight: 850;
  letter-spacing: 0.08em;
}
#desktop-official-library .official-command-route > header h2 {
  margin: 7px 0 0;
  color: #f0edf3;
  font-size: 22px;
  line-height: 1.2;
}
#desktop-official-library .official-command-route > header p {
  margin: 8px 0 0;
  color: #8f8c94;
  font-size: 13px;
  line-height: 1.55;
}
#desktop-official-library .official-command-route > a {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr) 18px;
  gap: 12px;
  align-items: center;
  padding: 13px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 7px;
  background: #15161b;
  color: inherit;
  text-decoration: none;
}
#desktop-official-library .official-command-route > a.is-featured {
  position: relative;
  min-height: 74px;
  padding: 14px;
  overflow: hidden;
  border-color: rgba(102, 225, 210, .24);
  background: linear-gradient(110deg, #152524, #121b1d);
}
#desktop-official-library .official-command-route > a.is-featured.is-hero {
  grid-template-columns: 52px minmax(0, 1fr) auto;
  align-items: start;
  min-height: 127px;
  padding: 18px 17px;
}
#desktop-official-library .official-command-route > a.is-featured::after {
  position: absolute;
  right: -26px;
  bottom: -38px;
  width: 108px;
  height: 108px;
  border: 1px solid rgba(105, 228, 211, .17);
  border-radius: 50%;
  content: '';
}
#desktop-official-library .official-command-route > a.is-featured.is-hotspot {
  border-color: rgba(154, 168, 255, .28);
  background: linear-gradient(110deg, #1c1b2d, #151622);
}
#desktop-official-library .official-command-route > a.is-hotspot::after { border-color: rgba(166, 178, 255, .2); }
#desktop-official-library .official-command-route > a.is-featured:hover {
  border-color: #73e4d5;
  background: linear-gradient(110deg, #18312f, #152123);
  transform: translateY(-1px);
}
#desktop-official-library .official-command-route > a.is-hotspot:hover {
  border-color: #adb8ff;
  background: linear-gradient(110deg, #242340, #181b2c);
}
#desktop-official-library .official-command-route > a.is-featured > i {
  position: relative;
  z-index: 1;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(99, 228, 211, .24);
  background: rgba(78, 210, 194, .13);
  color: #71ead9;
  font-size: 21px;
}
#desktop-official-library .official-command-route > a.is-featured.is-hero > i {
  width: 52px;
  height: 52px;
  border-radius: 10px;
  font-size: 25px;
}
#desktop-official-library .official-command-route > a.is-hotspot > i {
  border-color: rgba(175, 185, 255, .26);
  background: rgba(130, 143, 255, .14);
  color: #bbc4ff;
}
#desktop-official-library .official-command-route > a.is-featured > div,
#desktop-official-library .official-command-route > a.is-featured > b { position: relative; z-index: 1; }
#desktop-official-library .official-command-route > a.is-featured small { color: #6de1d2; }
#desktop-official-library .official-command-route > a.is-hotspot small { color: #b6c0ff; }
#desktop-official-library .official-command-route > a.is-featured strong { margin-top: 4px; font-size: 17px; }
#desktop-official-library .official-command-route > a.is-featured span { max-width: 250px; margin-top: 4px; color: #a8b6b6; font-size: 12px; }
#desktop-official-library .official-command-route > a.is-featured.is-hero strong { margin-top: 5px; font-size: 21px; letter-spacing: .01em; }
#desktop-official-library .official-command-route > a.is-featured.is-hero span { max-width: 290px; margin-top: 7px; font-size: 13px; line-height: 1.55; }
#desktop-official-library .official-command-route > a.is-featured.is-hero em {
  display: inline-flex;
  margin-top: 12px;
  padding: 4px 7px;
  border-radius: 4px;
  background: rgba(99, 229, 210, .1);
  color: #9bece1;
  font-size: 10px;
  font-style: normal;
}
#desktop-official-library .official-command-route > a.is-featured.is-hero.is-hotspot em { background: rgba(158, 172, 255, .12); color: #c6ceff; }
#desktop-official-library .official-command-route > a.is-featured.is-hero > b {
  display: inline-flex;
  align-items: center;
  align-self: end;
  gap: 5px;
  min-height: 30px;
  padding: 0 8px 0 10px;
  border: 1px solid rgba(104, 232, 214, .24);
  border-radius: 5px;
  background: rgba(65, 174, 160, .1);
  color: #9bece1;
  font-size: 19px;
}
#desktop-official-library .official-command-route > a.is-featured.is-hotspot > b { border-color: rgba(180, 191, 255, .28); background: rgba(137, 150, 255, .1); color: #c4cdff; }
#desktop-official-library .official-command-route > a.is-featured.is-hero > b small { color: inherit; font-size: 10px; font-weight: 750; letter-spacing: 0; }
#desktop-official-library .official-command-route > a.is-secondary {
  grid-template-columns: 29px minmax(0, 1fr) 16px;
  min-height: 42px;
  padding: 9px 11px;
  background: rgba(255,255,255,.025);
}
#desktop-official-library .official-command-route > a.is-secondary > i { width: 29px; height: 29px; font-size: 15px; }
#desktop-official-library .official-command-route > a.is-secondary small,
#desktop-official-library .official-command-route > a.is-secondary span { display: none; }
#desktop-official-library .official-command-route > a.is-secondary strong { margin: 0; font-size: 13px; }
#desktop-official-library .official-command-route > a:hover {
  border-color: rgba(72, 216, 200, 0.35);
  background: #171c1b;
}
#desktop-official-library .official-command-route > a > i {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 7px;
  background: #1b2d2a;
  color: #51dacb;
  font-size: 18px;
}
#desktop-official-library .official-command-route > a > div {
  min-width: 0;
}
#desktop-official-library .official-command-route > a small,
#desktop-official-library .official-command-route > a strong,
#desktop-official-library .official-command-route > a span {
  display: block;
}
#desktop-official-library .official-command-route > a small {
  color: #5edfd0;
  font-size: 10px;
  font-weight: 850;
  letter-spacing: 0.06em;
}
#desktop-official-library .official-command-route > a strong {
  margin-top: 3px;
  color: #ebe9ee;
  font-size: 15px;
  line-height: 1.35;
}
#desktop-official-library .official-command-route > a span {
  margin-top: 3px;
  color: #8f8c94;
  font-size: 12px;
  line-height: 1.4;
}
#desktop-official-library .official-command-route > a > b {
  color: #77747d;
  font-size: 18px;
  font-weight: 400;
}

#desktop-official-library .official-section-intro {
  margin: 12px 0 0;
  color: #8f8c94;
  font-size: 13px;
  line-height: 1.6;
}

/* Keep the learning-center entry points within the blue course language. */
#desktop-official-library .official-command-center .official-puzzle-quick-link {
  border-color: rgba(111, 137, 192, .32);
  background: linear-gradient(90deg, rgba(46, 61, 97, .25), rgba(27, 31, 43, .46));
}
#desktop-official-library .official-command-center .official-puzzle-quick-link:hover {
  border-color: rgba(141, 164, 215, .58);
  background: linear-gradient(90deg, rgba(57, 77, 123, .31), rgba(34, 42, 62, .54));
}
#desktop-official-library .official-command-center .official-puzzle-quick-link > i {
  background: rgba(111, 137, 192, .13);
  color: #9eafdb;
}
#desktop-official-library .official-command-center .official-puzzle-quick-link small,
#desktop-official-library .official-command-center .official-puzzle-quick-link > b {
  color: #a9b7dd;
}
#desktop-official-library .official-command-center .official-command-route > header span {
  color: #9baedc;
}
#desktop-official-library .official-command-center .official-command-route > a.is-featured {
  border-color: rgba(111, 137, 192, .28);
  background: linear-gradient(110deg, #18233a, #141923);
}
#desktop-official-library .official-command-center .official-command-route > a.is-featured::after {
  border-color: rgba(126, 151, 204, .2);
}
#desktop-official-library .official-command-center .official-command-route > a.is-featured:hover {
  border-color: #9aadd9;
  background: linear-gradient(110deg, #1d2b47, #182030);
}
#desktop-official-library .official-command-center .official-command-route > a.is-featured > i {
  border-color: rgba(126, 151, 204, .32);
  background: rgba(111, 137, 192, .14);
  color: #a8b8df;
}
#desktop-official-library .official-command-center .official-command-route > a.is-featured small {
  color: #a9b7dd;
}
#desktop-official-library .official-command-center .official-command-route > a.is-featured.is-hero em {
  background: rgba(111, 137, 192, .13);
  color: #c0cae1;
}
#desktop-official-library .official-command-center .official-command-route > a.is-featured.is-hero > b {
  border-color: rgba(126, 151, 204, .36);
  background: rgba(80, 103, 157, .13);
  color: #c5cee4;
}
#desktop-official-library .official-command-center .official-writing-flow a.is-recommended {
  border-color: rgba(111, 143, 215, .56);
  background: linear-gradient(135deg, rgba(48, 74, 132, .26), rgba(28, 37, 61, .68));
}

body.desktop-light #desktop-official-library .official-command-primary {
  border-color: #b9ddd7;
  background: linear-gradient(135deg, #eff9f6 0%, #f7fafb 60%, #ffffff 100%);
}
body.desktop-light #desktop-official-library .official-command-primary h2,
body.desktop-light #desktop-official-library .official-command-route > header h2,
body.desktop-light #desktop-official-library .official-command-route > a strong {
  color: #222b35;
}
body.desktop-light #desktop-official-library .official-command-primary p,
body.desktop-light #desktop-official-library .official-command-route > header p,
body.desktop-light #desktop-official-library .official-command-route > a span,
body.desktop-light #desktop-official-library .official-section-intro {
  color: #687582;
}
body.desktop-light #desktop-official-library .official-command-route,
body.desktop-light #desktop-official-library .official-command-route > a {
  border-color: #dce3ea;
  background: #fff;
}
body.desktop-light #desktop-official-library .official-command-route > a:hover {
  border-color: #a6d4ce;
  background: #f3fbf9;
}

@media (max-width: 980px) {
  #desktop-official-library .official-command-center .official-command-grid {
    grid-template-columns: 1fr;
  }
  #desktop-official-library .official-command-primary,
  #desktop-official-library .official-command-route {
    min-height: 0;
  }
  #desktop-official-library .official-command-primary h2 {
    font-size: 26px;
  }
}
@media (max-width: 760px) {
  #desktop-official-library .official-writing-flow {
    grid-template-columns: 1fr 1fr;
  }
  #desktop-official-library .official-library-workbench .official-library-grid {
    grid-template-columns: 1fr;
  }
}
