:root {
  --fyd-bg: #f4f6f5;
  --fyd-surface: #ffffff;
  --fyd-surface-2: #ecefed;
  --fyd-text: #191c1d;
  --fyd-muted: #657074;
  --fyd-line: #dce1df;
  --fyd-accent: #e4543b;
  --fyd-accent-ink: #ffffff;
  --fyd-secondary: #18766a;
  --fyd-rail: #151817;
  --fyd-rail-muted: #aab2af;
  --fyd-shadow: 0 14px 34px rgba(20, 28, 25, .09);
  --fyd-safe-bottom: env(safe-area-inset-bottom, 0px);
}

html { scroll-behavior: smooth; }
body.fyd-app-theme {
  margin: 0;
  background: var(--fyd-bg);
  color: var(--fyd-text);
  font-family: Manrope, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: 0;
}
body.fyd-app-theme.fyd-night {
  --fyd-bg: #121514;
  --fyd-surface: #1b1f1d;
  --fyd-surface-2: #252a27;
  --fyd-text: #f3f5f4;
  --fyd-muted: #a6afab;
  --fyd-line: #333a36;
  --fyd-accent: #ff7258;
  --fyd-accent-ink: #181a19;
  --fyd-secondary: #68cbbb;
  --fyd-rail: #080a09;
  --fyd-shadow: 0 18px 38px rgba(0, 0, 0, .28);
}
*, *::before, *::after { box-sizing: border-box; }
a { color: inherit; }
button, input { font: inherit; }
button { letter-spacing: 0; }
img { display: block; max-width: 100%; }
svg { width: 22px; height: 22px; }

.fyd-shell { min-height: 100vh; }
.fyd-main { min-width: 0; margin-left: 80px; }
.fyd-rail {
  position: fixed;
  z-index: 100;
  inset: 0 auto 0 0;
  display: flex;
  width: 80px;
  flex-direction: column;
  align-items: center;
  padding: 18px 12px;
  background: var(--fyd-rail);
  color: #fff;
}
.fyd-rail-brand {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  overflow: hidden;
  border-radius: 8px;
  background: var(--fyd-accent);
  color: #fff;
  text-decoration: none;
}
.fyd-rail-brand img { width: 100%; height: 100%; object-fit: cover; }
.fyd-rail-brand span { font-size: 23px; font-weight: 800; }
.fyd-rail-nav { display: flex; width: 100%; flex: 1; flex-direction: column; gap: 7px; margin-top: 38px; }
.fyd-rail-nav a, .fyd-rail-bottom a, .fyd-theme-toggle {
  position: relative;
  display: grid;
  width: 54px;
  height: 48px;
  place-items: center;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--fyd-rail-muted);
  cursor: pointer;
  text-decoration: none;
}
.fyd-rail-nav a:hover, .fyd-rail-nav a.is-active, .fyd-rail-bottom a:hover, .fyd-theme-toggle:hover { background: #292e2b; color: #fff; }
.fyd-rail-nav a.is-active::before { position: absolute; left: -12px; width: 3px; height: 24px; border-radius: 0 3px 3px 0; background: var(--fyd-accent); content: ""; }
.fyd-rail-nav a span {
  position: absolute;
  left: 64px;
  visibility: hidden;
  width: max-content;
  padding: 7px 10px;
  border-radius: 6px;
  background: #151817;
  color: #fff;
  font-size: 12px;
  opacity: 0;
  pointer-events: none;
  transition: opacity .15s ease;
}
.fyd-rail-nav a:hover span { visibility: visible; opacity: 1; }
.fyd-rail-bottom { display: flex; flex-direction: column; gap: 5px; }
.fyd-mobile-header, .fyd-bottom-nav { display: none; }

.fyd-discover { width: min(1440px, 100%); margin: 0 auto; padding: 32px 42px 72px; }
.fyd-pagebar { display: flex; align-items: flex-end; justify-content: space-between; gap: 28px; margin-bottom: 28px; }
.fyd-eyebrow { display: block; margin-bottom: 6px; color: var(--fyd-secondary); font-size: 12px; font-weight: 800; letter-spacing: .11em; text-transform: uppercase; }
.fyd-pagebar h1, .fyd-section-heading h2 { margin: 0; color: var(--fyd-text); font-size: 30px; line-height: 1.15; }
.fyd-search { display: flex; width: min(360px, 40vw); height: 46px; align-items: center; gap: 10px; padding: 0 14px; border: 1px solid var(--fyd-line); border-radius: 8px; background: var(--fyd-surface); color: var(--fyd-muted); }
.fyd-search svg { flex: 0 0 auto; width: 19px; }
.fyd-search input { width: 100%; border: 0; outline: 0; background: transparent; color: var(--fyd-text); }
.fyd-search:focus-within { border-color: var(--fyd-secondary); box-shadow: 0 0 0 3px color-mix(in srgb, var(--fyd-secondary) 14%, transparent); }

.fyd-feature {
  position: relative;
  display: flex;
  min-height: 410px;
  align-items: flex-end;
  overflow: hidden;
  border-radius: 8px;
  background: #202523;
  color: #fff;
}
.fyd-feature > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.fyd-feature::after { position: absolute; inset: 0; background: rgba(8, 12, 10, .62); content: ""; }
.fyd-feature:not(.has-image)::after { background: #202523; }
.fyd-feature-content { position: relative; z-index: 1; width: min(720px, 100%); padding: 46px; }
.fyd-feature h2 { margin: 14px 0 12px; color: #fff; font-family: "Noto Serif", Georgia, serif; font-size: 48px; line-height: 1.1; }
.fyd-feature p { max-width: 650px; margin: 0; color: #e3e8e5; font-size: 16px; line-height: 1.7; }
.fyd-type-badge { display: inline-flex; width: fit-content; align-items: center; min-height: 27px; padding: 5px 9px; border-radius: 6px; background: #fff; color: #1c201e; font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.fyd-type-badge.is-course { background: #c6f0e6; color: #104d44; }
.fyd-type-badge.is-gamebook { background: #eed8ff; color: #5c287d; }
.fyd-feature-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.fyd-button { display: inline-flex; min-height: 46px; align-items: center; justify-content: center; gap: 8px; padding: 10px 17px; border: 1px solid transparent; border-radius: 8px; font-weight: 800; line-height: 1.2; text-decoration: none; transition: transform .15s ease, background .15s ease; }
.fyd-button:hover { transform: translateY(-1px); }
.fyd-button svg { width: 18px; height: 18px; }
.fyd-button.is-primary { background: var(--fyd-accent); color: var(--fyd-accent-ink); }
.fyd-button.is-primary:hover { filter: brightness(.95); }
.fyd-button.is-quiet { border-color: rgba(255,255,255,.42); background: rgba(20,24,22,.38); color: #fff; }

.fyd-library { padding-top: 48px; }
.fyd-section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 22px; }
.fyd-category-heading { align-items: center; margin-bottom: 24px; }
.fyd-filters { display: flex; gap: 5px; overflow-x: auto; }
.fyd-filters a, .fyd-filters button { flex: 0 0 auto; padding: 8px 12px; border: 1px solid transparent; border-radius: 7px; background: transparent; color: var(--fyd-muted); cursor: pointer; font-weight: 700; text-decoration: none; }
.fyd-filters a:hover, .fyd-filters button:hover { background: var(--fyd-surface-2); color: var(--fyd-text); }
.fyd-filters a.is-active, .fyd-filters button.is-active { border-color: var(--fyd-line); background: var(--fyd-surface); color: var(--fyd-text); }
.fyd-work-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 26px 18px; }
.fyd-work-card { min-width: 0; }
.fyd-work-card[hidden] { display: none; }
.fyd-work-cover { position: relative; display: block; aspect-ratio: 3 / 4; overflow: hidden; border-radius: 8px; background: #dfe5e2; color: var(--fyd-text); text-decoration: none; box-shadow: var(--fyd-shadow); }
.fyd-night .fyd-work-cover { background: #29302c; }
.fyd-work-cover img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.fyd-work-cover:hover img { transform: scale(1.025); }
.fyd-work-cover .fyd-type-badge { position: absolute; top: 12px; left: 12px; box-shadow: 0 4px 15px rgba(0,0,0,.12); }
.fyd-cover-letter { display: grid; height: 100%; place-items: center; color: color-mix(in srgb, var(--fyd-text) 22%, transparent); font-family: "Noto Serif", Georgia, serif; font-size: 84px; font-weight: 700; }
.fyd-work-card-body { padding: 14px 2px 0; }
.fyd-work-card-body > a { text-decoration: none; }
.fyd-work-card h3 { margin: 0; overflow: hidden; color: var(--fyd-text); font-size: 18px; line-height: 1.35; text-overflow: ellipsis; white-space: nowrap; }
.fyd-work-card h3:hover { color: var(--fyd-accent); }
.fyd-work-card p { display: -webkit-box; min-height: 42px; margin: 7px 0 12px; overflow: hidden; color: var(--fyd-muted); font-size: 13px; line-height: 1.6; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.fyd-work-meta { display: flex; align-items: center; justify-content: space-between; gap: 10px; color: var(--fyd-muted); font-size: 12px; }
.fyd-work-meta strong, .fyd-work-meta .amount { color: var(--fyd-text); font-size: 13px; }
.fyd-empty, .fyd-no-results { display: flex; min-height: 170px; align-items: center; justify-content: center; flex-direction: column; gap: 7px; border: 1px dashed var(--fyd-line); border-radius: 8px; color: var(--fyd-muted); text-align: center; }
.fyd-empty strong { color: var(--fyd-text); }

.fyd-work-detail { min-height: 100vh; background: var(--fyd-bg); }
.fyd-work-hero { position: relative; display: flex; min-height: min(680px, 78vh); align-items: flex-end; overflow: hidden; background: #222725; color: #fff; }
.fyd-work-hero-image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.fyd-work-hero-shade { position: absolute; inset: 0; background: rgba(7, 10, 9, .68); }
.fyd-work-hero:not(.has-image) .fyd-work-hero-shade { background: #222725; }
.fyd-work-hero-content { position: relative; z-index: 1; width: min(1180px, 100%); margin: 0 auto; padding: 64px 46px; }
.fyd-back { position: absolute; top: 35px; color: #e1e7e4; font-size: 13px; font-weight: 700; text-decoration: none; }
.fyd-work-hero h1 { max-width: 880px; margin: 15px 0 14px; color: #fff; font-family: "Noto Serif", Georgia, serif; font-size: 58px; line-height: 1.08; }
.fyd-work-hero-content > p { max-width: 700px; margin: 0; color: #dce3df; font-size: 17px; line-height: 1.7; }
.fyd-work-facts { display: flex; flex-wrap: wrap; gap: 10px 20px; margin-top: 20px; color: #d5dcd8; font-size: 13px; }
.fyd-work-facts strong, .fyd-work-facts .amount { color: #fff; }

.fyd-work-intro { background: var(--fyd-surface); }
.fyd-prose { width: min(820px, calc(100% - 48px)); margin: 0 auto; padding: 70px 0; color: var(--fyd-text); font-family: "Noto Serif", Georgia, serif; font-size: 18px; line-height: 1.85; }
.fyd-prose > *:first-child { margin-top: 0; }
.fyd-prose > *:last-child { margin-bottom: 0; }
.fyd-prose h1, .fyd-prose h2, .fyd-prose h3 { color: var(--fyd-text); font-family: Manrope, sans-serif; line-height: 1.25; }
.fyd-prose h2 { margin-top: 2em; font-size: 30px; }
.fyd-prose h3 { margin-top: 1.7em; font-size: 22px; }
.fyd-prose a { color: var(--fyd-secondary); }
.fyd-prose img { height: auto; border-radius: 8px; }
.fyd-prose blockquote { margin: 2em 0; padding: 3px 0 3px 22px; border-left: 3px solid var(--fyd-accent); color: var(--fyd-muted); }
.fyd-prose .alignwide { width: min(1120px, calc(100vw - 150px)); max-width: none; margin-right: 50%; margin-left: 50%; transform: translateX(-50%); }
.fyd-prose .alignfull { width: calc(100vw - 80px); max-width: none; margin-right: 50%; margin-left: 50%; transform: translateX(-50%); }

.fyd-curriculum { width: min(1120px, calc(100% - 68px)); margin: 0 auto; padding: 66px 0 76px; }
.fyd-text-link { display: inline-flex; align-items: center; gap: 5px; color: var(--fyd-secondary); font-size: 13px; font-weight: 800; text-decoration: none; }
.fyd-text-link svg { width: 17px; }
.fyd-section-list { border-top: 1px solid var(--fyd-line); }
.fyd-section-item { border-bottom: 1px solid var(--fyd-line); }
.fyd-section-item summary { display: flex; min-height: 78px; align-items: center; justify-content: space-between; gap: 20px; padding: 0 8px; cursor: pointer; list-style: none; }
.fyd-section-item summary::-webkit-details-marker { display: none; }
.fyd-section-item summary > span { display: flex; min-width: 0; align-items: center; gap: 18px; }
.fyd-section-item summary small { color: var(--fyd-accent); font-size: 12px; font-weight: 800; }
.fyd-section-item summary strong { overflow: hidden; color: var(--fyd-text); font-size: 18px; text-overflow: ellipsis; white-space: nowrap; }
.fyd-section-item summary b { flex: 0 0 auto; color: var(--fyd-muted); font-size: 12px; font-weight: 600; }
.fyd-unit-list { padding: 0 8px 12px 45px; }
.fyd-unit-list a { display: grid; grid-template-columns: 34px minmax(0, 1fr) auto; align-items: center; gap: 11px; min-height: 58px; padding: 8px 10px; border-radius: 7px; color: var(--fyd-text); text-decoration: none; }
.fyd-unit-list a:hover { background: var(--fyd-surface); }
.fyd-unit-list a > span:nth-child(2) { display: flex; min-width: 0; flex-direction: column; gap: 3px; }
.fyd-unit-list a strong { overflow: hidden; font-size: 14px; text-overflow: ellipsis; white-space: nowrap; }
.fyd-unit-list a small { overflow: hidden; color: var(--fyd-muted); font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }
.fyd-unit-list a > svg { width: 17px; color: var(--fyd-muted); }
.fyd-unit-order { color: var(--fyd-muted); font-size: 12px; }

.fyd-purchase-band { display: flex; align-items: center; justify-content: space-between; gap: 36px; padding: 50px max(46px, calc((100% - 1120px) / 2)); background: var(--fyd-surface); }
.fyd-purchase-band h2 { margin: 0; color: var(--fyd-text); font-size: 29px; }
.fyd-purchase-band p { margin: 8px 0 0; color: var(--fyd-muted); }
.fyd-purchase-band > div:last-child { display: flex; align-items: center; gap: 20px; }
.fyd-purchase-band > div:last-child > strong, .fyd-purchase-band .amount { color: var(--fyd-text); font-size: 25px; }
.fyd-purchase-band del { color: var(--fyd-muted); font-size: 14px; }

.fyd-standard-page { width: min(1000px, calc(100% - 48px)); min-height: 100vh; margin: 0 auto; }
.fyd-standard-page .fyd-prose { width: min(820px, 100%); }
.fyd-commerce-page { width: min(1120px, calc(100% - 68px)); min-height: 100vh; margin: 0 auto; padding: 52px 0 80px; }
.fyd-commerce-page .woocommerce-breadcrumb { color: var(--fyd-muted); font-size: 12px; }
.fyd-commerce-page .product .summary, .fyd-commerce-page .woocommerce-cart-form, .fyd-commerce-page .woocommerce-checkout { color: var(--fyd-text); }
.fyd-commerce-page div.product .product_title { color: var(--fyd-text); font-size: 34px; }
.fyd-commerce-page div.product p.price, .fyd-commerce-page div.product span.price { color: var(--fyd-accent); }
.fyd-commerce-page div.product div.images img { border-radius: 8px; }

.woocommerce .button, .woocommerce button.button, .woocommerce input.button { border-radius: 7px !important; background: var(--fyd-accent) !important; color: var(--fyd-accent-ink) !important; }

@media (max-width: 1180px) {
  .fyd-work-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 820px) {
  body.fyd-app-theme { padding-bottom: calc(68px + var(--fyd-safe-bottom)); }
  .fyd-main { margin: 0; padding-top: 60px; }
  .fyd-rail { display: none; }
  .fyd-mobile-header { position: fixed; z-index: 90; top: 0; right: 0; left: 0; display: flex; height: 60px; align-items: center; justify-content: space-between; padding: 0 17px; border-bottom: 1px solid var(--fyd-line); background: color-mix(in srgb, var(--fyd-bg) 94%, transparent); backdrop-filter: blur(14px); }
  .fyd-mobile-brand { display: flex; min-width: 0; align-items: center; gap: 10px; color: var(--fyd-text); text-decoration: none; }
  .fyd-mobile-brand span { display: grid; width: 32px; height: 32px; place-items: center; border-radius: 7px; background: var(--fyd-accent); color: var(--fyd-accent-ink); font-weight: 800; }
  .fyd-mobile-brand strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .fyd-mobile-account { display: grid; width: 38px; height: 38px; place-items: center; color: var(--fyd-text); }
  .fyd-bottom-nav { position: fixed; z-index: 100; right: 0; bottom: 0; left: 0; display: grid; height: calc(64px + var(--fyd-safe-bottom)); grid-template-columns: repeat(var(--fyd-menu-count,4), 1fr); padding: 5px 8px var(--fyd-safe-bottom); border-top: 1px solid var(--fyd-line); background: color-mix(in srgb, var(--fyd-surface) 95%, transparent); backdrop-filter: blur(14px); }
  .fyd-bottom-nav a { display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 2px; color: var(--fyd-muted); font-size: 10px; font-weight: 700; text-decoration: none; }
  .fyd-bottom-nav a svg { width: 20px; height: 20px; }
  .fyd-bottom-nav a.is-active { color: var(--fyd-accent); }
  .fyd-discover { padding: 22px 17px 38px; }
  .fyd-pagebar { align-items: stretch; flex-direction: column; gap: 17px; margin-bottom: 20px; }
  .fyd-pagebar h1 { font-size: 26px; }
  .fyd-search { width: 100%; }
  .fyd-feature { min-height: 460px; }
  .fyd-feature-content { padding: 28px 22px; }
  .fyd-feature h2 { font-size: 36px; }
  .fyd-library { padding-top: 38px; }
  .fyd-section-heading { align-items: stretch; flex-direction: column; gap: 15px; }
  .fyd-section-heading h2 { font-size: 25px; }
  .fyd-filters { margin-right: -17px; padding-right: 17px; }
  .fyd-work-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 12px; }
  .fyd-work-card h3 { font-size: 15px; }
  .fyd-work-card p { display: none; }
  .fyd-work-meta { align-items: flex-start; flex-direction: column; gap: 3px; margin-top: 7px; }
  .fyd-work-hero { min-height: 590px; }
  .fyd-work-hero-content { padding: 76px 22px 36px; }
  .fyd-back { top: 24px; }
  .fyd-work-hero h1 { font-size: 39px; }
  .fyd-work-hero-content > p { font-size: 15px; }
  .fyd-prose { width: calc(100% - 38px); padding: 48px 0; font-size: 17px; line-height: 1.8; }
  .fyd-prose h2 { font-size: 26px; }
  .fyd-prose .alignwide, .fyd-prose .alignfull { width: 100vw; }
  .fyd-curriculum { width: calc(100% - 34px); padding: 48px 0; }
  .fyd-section-item summary { min-height: 70px; padding: 0 2px; }
  .fyd-section-item summary > span { gap: 11px; }
  .fyd-section-item summary strong { font-size: 15px; }
  .fyd-unit-list { padding: 0 0 10px 14px; }
  .fyd-unit-list a { grid-template-columns: 28px minmax(0, 1fr) auto; padding-right: 3px; }
  .fyd-purchase-band { align-items: stretch; flex-direction: column; padding: 38px 22px; }
  .fyd-purchase-band h2 { font-size: 25px; }
  .fyd-purchase-band > div:last-child { align-items: stretch; flex-direction: column; }
  .fyd-commerce-page { width: calc(100% - 34px); padding: 34px 0 48px; }
}

@media (max-width: 390px) {
  .fyd-work-grid { column-gap: 9px; }
  .fyd-work-cover .fyd-type-badge { top: 8px; left: 8px; }
  .fyd-type-badge { padding: 4px 7px; font-size: 9px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}

/* FYD App 1.1: cinematic app shell */
:root {
  --fyd-bg: #0b1421;
  --fyd-surface: #111d2b;
  --fyd-surface-2: #1a293a;
  --fyd-text: #f6f1e7;
  --fyd-muted: #aeb8c7;
  --fyd-line: #314255;
  --fyd-accent: #ffe099;
  --fyd-accent-ink: #111827;
  --fyd-secondary: #7fd4e4;
  --fyd-rail: #09111d;
  --fyd-shadow: 0 22px 54px rgba(0, 0, 0, .28);
}
body.fyd-app-theme,
body.fyd-app-theme.fyd-night { background: var(--fyd-bg); color: var(--fyd-text); }
.fyd-main { margin-left: 0; padding-top: 88px; }
.fyd-rail, .fyd-mobile-header { display: none !important; }
.fyd-topbar {
  position: fixed;
  z-index: 100;
  top: 0;
  right: 0;
  left: 0;
  display: grid;
  height: 88px;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 28px;
  padding: 0 max(28px, calc((100vw - 1440px) / 2));
  border-top: 4px solid #5e3e45;
  border-bottom: 1px solid rgba(255,255,255,.08);
  background: rgba(8, 17, 29, .94);
  backdrop-filter: blur(18px);
}
.fyd-topbar-brand { display: flex; min-width: 0; align-items: center; gap: 14px; color: var(--fyd-text); text-decoration: none; }
.fyd-topbar-brand > img, .fyd-brand-mark { position: relative; display: grid; flex: 0 0 48px; width: 48px; height: 48px; place-items: center; overflow: hidden; border-radius: 8px; background: var(--fyd-accent); }
.fyd-topbar-brand > img { object-fit: cover; }
.fyd-brand-mark::before { width: 17px; height: 17px; background: #ff7896; border-radius: 50%; content: ""; transform: translate(-7px,-7px); }
.fyd-brand-mark i { position: absolute; width: 12px; height: 12px; background: #101827; transform: rotate(45deg); }
.fyd-topbar-brand strong { overflow: hidden; font-size: 20px; text-overflow: ellipsis; white-space: nowrap; }
.fyd-topbar-nav { display: flex; align-items: center; justify-content: center; gap: 34px; }
.fyd-topbar-nav a { position: relative; padding: 10px 0; color: var(--fyd-muted); font-size: 14px; font-weight: 700; text-decoration: none; }
.fyd-topbar-nav a:hover, .fyd-topbar-nav a.is-active { color: var(--fyd-text); }
.fyd-topbar-nav a.is-active::after { position: absolute; right: 0; bottom: 2px; left: 0; height: 2px; background: var(--fyd-accent); content: ""; }
.fyd-topbar-actions { display: flex; align-items: center; justify-content: flex-end; gap: 10px; }
.fyd-header-app { display: inline-flex; min-height: 42px; align-items: center; padding: 8px 17px; border-radius: 8px; background: var(--fyd-accent); color: var(--fyd-accent-ink); font-weight: 800; text-decoration: none; }
.fyd-header-account { display: grid; width: 42px; height: 42px; place-items: center; border: 1px solid var(--fyd-line); border-radius: 8px; color: var(--fyd-text); }
.fyd-header-account svg { width: 19px; }
.admin-bar .fyd-topbar { top: 32px; }
.fyd-app-menu { display: flex; align-items: center; justify-content: flex-end; gap: 12px; }
.fyd-app-menu a { display: flex; min-width: 66px; align-items: center; flex-direction: column; gap: 4px; color: var(--fyd-muted); font-size: 10px; font-weight: 700; text-decoration: none; }
.fyd-app-menu a i { display: grid; width: 42px; height: 42px; place-items: center; border: 1px solid var(--fyd-line); border-radius: 8px; background: #122033; color: var(--fyd-muted); font-style: normal; transition: background .15s ease, color .15s ease, transform .15s ease; }
.fyd-app-menu a svg { width: 19px; height: 19px; }
.fyd-app-menu a:hover i { transform: translateY(-1px); border-color: #536477; color: var(--fyd-text); }
.fyd-app-menu a.is-active { color: var(--fyd-text); }
.fyd-app-menu a.is-active i { border-color: var(--fyd-accent); background: var(--fyd-accent); color: var(--fyd-accent-ink); }

.fyd-discover { width: min(1440px, 100%); padding: 28px 42px 84px; }
.fyd-pagebar { align-items: center; margin-bottom: 24px; }
.fyd-pagebar h1 { color: var(--fyd-text); font-size: 28px; }
.fyd-search { border-color: var(--fyd-line); background: rgba(19,32,47,.8); }
.fyd-feature { min-height: 620px; border: 1px solid var(--fyd-line); background: #0d1927; box-shadow: var(--fyd-shadow); }
.fyd-feature::after { background: rgba(6, 14, 24, .66); }
.fyd-feature:not(.has-image)::after { background: #102033; }
.fyd-feature-content { width: min(820px, 68%); padding: 54px; }
.fyd-feature h2 { max-width: 780px; margin-top: 18px; font-family: Manrope, sans-serif; font-size: 58px; font-weight: 800; }
.fyd-feature p { max-width: 720px; color: var(--fyd-muted); font-size: 18px; }
.fyd-button.is-primary { box-shadow: 0 8px 26px rgba(255, 224, 153, .16); }
.fyd-button.is-quiet { border-color: var(--fyd-line); background: rgba(13,25,39,.72); }
.fyd-feature-stats { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 14px; margin-top: 42px; }
.fyd-feature-stats > div { display: flex; min-height: 136px; flex-direction: column; justify-content: center; gap: 9px; padding: 23px; border: 1px solid var(--fyd-line); border-radius: 8px; background: rgba(30,47,65,.78); backdrop-filter: blur(16px); }
.fyd-feature-stats strong { color: var(--fyd-text); font-size: 34px; line-height: 1; }
.fyd-feature-stats strong .amount { color: var(--fyd-text); font-size: 25px; }
.fyd-feature-stats span { color: var(--fyd-muted); font-size: 13px; line-height: 1.45; }

.fyd-library { padding-top: 8px; }
.fyd-section-heading h2 { color: var(--fyd-text); }
.fyd-filters a, .fyd-filters button { color: var(--fyd-muted); }
.fyd-filters a:hover, .fyd-filters a.is-active, .fyd-filters button:hover, .fyd-filters button.is-active { border-color: var(--fyd-line); background: var(--fyd-surface-2); color: var(--fyd-text); }
.fyd-work-cover { border: 1px solid var(--fyd-line); background: #172639; box-shadow: 0 18px 40px rgba(0,0,0,.24); }
.fyd-work-card-body { padding: 15px 3px 0; }
.fyd-work-card h3, .fyd-work-meta strong, .fyd-work-meta .amount { color: var(--fyd-text); }
.fyd-work-card p, .fyd-work-meta { color: var(--fyd-muted); }
.fyd-cover-letter { color: rgba(255,255,255,.14); }
.fyd-work-grid { grid-template-columns: repeat(var(--fyd-cols-desktop,4),minmax(0,1fr)); gap: 26px 20px; }
.fyd-work-card { overflow: hidden; border: 1px solid var(--fyd-line); border-radius: 8px; background: var(--fyd-surface); box-shadow: 0 16px 36px rgba(0,0,0,.18); transition: border-color .16s ease, transform .16s ease, box-shadow .16s ease; }
.fyd-work-card:hover { border-color: #65788d; transform: translateY(-2px); box-shadow: 0 22px 44px rgba(0,0,0,.28); }
.fyd-work-card .fyd-work-cover { aspect-ratio: var(--fyd-card-ratio,16/9); overflow: hidden; border: 0; border-bottom: 1px solid var(--fyd-line); border-radius: 0; box-shadow: none; }
.fyd-card-open { position: absolute; right: 12px; bottom: 12px; display: inline-flex; min-height: 36px; align-items: center; gap: 5px; padding: 7px 10px; border-radius: 7px; background: var(--fyd-accent); color: var(--fyd-accent-ink); font-size: 11px; font-weight: 800; opacity: 0; transform: translateY(5px); transition: opacity .16s ease, transform .16s ease; }
.fyd-card-open svg { width: 15px; height: 15px; }
.fyd-work-card:hover .fyd-card-open, .fyd-work-card:focus-within .fyd-card-open { opacity: 1; transform: translateY(0); }
.fyd-work-card .fyd-work-card-body { position: relative; display: flex; min-height: 210px; align-items: center; flex-direction: column; padding: 37px 18px 0; text-align: center; }
.fyd-work-author-avatar { position: absolute; top: -28px; left: 50%; display: grid; width: 56px; height: 56px; place-items: center; overflow: hidden; border: 4px solid var(--fyd-surface); border-radius: 50%; background: #142335; transform: translateX(-50%); }
.fyd-work-author-avatar img { width: 100%; height: 100%; object-fit: cover; }
.fyd-work-author { width: 100%; overflow: hidden; color: var(--fyd-muted); font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }
.fyd-work-card h3 { display: -webkit-box; min-height: 48px; margin: 12px 0 0; overflow: hidden; font-size: 17px; line-height: 1.42; white-space: normal; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.fyd-card-accent { display: block; width: 38px; height: 3px; margin: 17px auto 13px; background: var(--fyd-accent); }
.fyd-work-card .fyd-work-meta { width: 100%; min-height: 55px; margin-top: auto; padding: 13px 0; border-top: 1px solid var(--fyd-line); }
.fyd-work-card .fyd-work-meta > span { display: inline-flex; align-items: center; gap: 5px; }
.fyd-work-card .fyd-work-meta svg { width: 16px; height: 16px; }
.fyd-work-card .fyd-work-meta strong { margin-left: auto; color: #ff8796; font-size: 14px; }
.fyd-menu-icons-only .fyd-app-menu a { min-width: 48px; }
.fyd-menu-icons-only .fyd-app-menu a span, .fyd-menu-icons-only .fyd-bottom-nav span { display: none; }
.fyd-hide-card-author .fyd-work-card .fyd-work-card-body { min-height: 180px; padding-top: 20px; }

.fyd-work-detail, .fyd-work-intro { background: var(--fyd-bg); }
.fyd-work-hero { min-height: min(760px, 82vh); border-bottom: 1px solid var(--fyd-line); background: #0d1927; }
.fyd-work-hero-shade { background: rgba(5, 12, 22, .68); }
.fyd-work-hero:not(.has-image) .fyd-work-hero-shade { background: #102033; }
.fyd-work-hero h1 { font-family: Manrope, sans-serif; font-weight: 800; }
.fyd-prose { color: var(--fyd-text); }
.fyd-prose h1, .fyd-prose h2, .fyd-prose h3 { color: var(--fyd-text); }
.fyd-section-item { border-color: var(--fyd-line); }
.fyd-unit-list a:hover { background: var(--fyd-surface); }
.fyd-purchase-band { border-top: 1px solid var(--fyd-line); background: var(--fyd-surface); }

@media (max-width: 980px) {
  .fyd-topbar { grid-template-columns: minmax(0,1fr) auto; padding: 0 22px; }
  .fyd-topbar-nav { display: none; }
  .fyd-feature-content { width: min(760px, 84%); }
  .fyd-work-grid { grid-template-columns: repeat(var(--fyd-cols-laptop,3),minmax(0,1fr)); }
}

@media (max-width: 820px) {
  .fyd-main { padding-top: 68px; }
  .fyd-topbar { height: 68px; padding: 0 16px; border-top-width: 3px; }
  .admin-bar .fyd-topbar { top: 46px; }
  .fyd-topbar-brand { gap: 10px; }
  .fyd-topbar-brand > img, .fyd-brand-mark { flex-basis: 38px; width: 38px; height: 38px; }
  .fyd-topbar-brand strong { max-width: 190px; font-size: 15px; }
  .fyd-header-app { display: none; }
  .fyd-header-account { width: 38px; height: 38px; }
  .fyd-app-menu { display: none; }
  .fyd-discover { padding: 20px 17px 44px; }
  .fyd-feature { min-height: 640px; align-items: flex-end; }
  .fyd-feature-content { width: 100%; padding: 30px 22px; }
  .fyd-feature h2 { font-size: 38px; }
  .fyd-feature p { font-size: 15px; }
  .fyd-feature-stats { grid-template-columns: repeat(3,minmax(0,1fr)); gap: 7px; margin-top: 28px; }
  .fyd-feature-stats > div { min-height: 112px; padding: 13px 10px; }
  .fyd-feature-stats strong { font-size: 25px; }
  .fyd-feature-stats strong .amount { font-size: 16px; }
  .fyd-feature-stats span { font-size: 10px; }
  .fyd-bottom-nav { background: rgba(10,20,32,.96); }
  .fyd-work-grid { grid-template-columns: repeat(var(--fyd-cols-mobile,2),minmax(0,1fr)); gap: 24px 11px; }
  .fyd-work-card .fyd-work-meta { align-items: center; flex-direction: row; gap: 7px; margin-top: auto; }
  .fyd-work-card .fyd-work-meta strong { font-size: 12px; }
}

@media (min-width: 981px) and (max-width: 1300px) {
  .fyd-work-grid { grid-template-columns: repeat(var(--fyd-cols-laptop,3),minmax(0,1fr)); }
}

/* Work detail: two-tab LearnPress-inspired layout */
.fyd-work-learnpress { min-height: 100vh; padding-bottom: 76px; background: var(--fyd-bg); }
.fyd-work-summary { width: min(1240px,calc(100% - 68px)); margin: 0 auto; padding: 54px 0 48px; }
.fyd-work-breadcrumb { display: inline-flex; margin-bottom: 28px; color: var(--fyd-muted); font-size: 13px; font-weight: 700; text-decoration: none; }
.fyd-work-breadcrumb:hover { color: var(--fyd-accent); }
.fyd-work-summary-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 48px; }
.fyd-work-summary-main { min-width: 0; }
.fyd-work-summary h1 { max-width: 850px; margin: 0; color: var(--fyd-text); font-size: 46px; line-height: 1.16; }
.fyd-work-byline { display: flex; align-items:center; gap: 18px; margin-top: 26px; }
.fyd-work-byline-avatar { flex: 0 0 48px; width: 48px; height: 48px; overflow: hidden; border: 2px solid var(--fyd-line); border-radius: 50%; }
.fyd-work-byline-avatar img { width: 100%; height: 100%; object-fit: cover; }
.fyd-work-byline > span:not(.fyd-work-byline-avatar) { display: flex; min-width: 0; flex-direction: column; gap: 3px; }
.fyd-work-byline small { color: var(--fyd-muted); font-size: 11px; }
.fyd-work-byline strong { overflow: hidden; color: var(--fyd-text); font-size: 13px; text-overflow: ellipsis; white-space: nowrap; }
.fyd-work-summary-count { min-width: 74px; padding-left: 18px; border-left: 1px solid var(--fyd-line); }
.fyd-work-byline .fyd-work-summary-count:first-child { padding-left: 0; border-left: 0; }
.fyd-work-summary-buy { display: flex; flex: 0 0 auto; align-items: flex-end; flex-direction: column; gap: 16px; }
.fyd-work-summary-buy > div { display: flex; gap: 9px; }
.fyd-work-summary-price, .fyd-work-summary-price .amount { color: #ff8796; font-size: 28px; line-height: 1; }
.fyd-work-summary-price del { color: var(--fyd-muted); font-size: 14px; }
.fyd-button.is-outline { border-color: var(--fyd-line); background: transparent; color: var(--fyd-text); }
.fyd-button.is-outline:hover { border-color: var(--fyd-accent); }
.fyd-work-featured { width: min(1020px,100%); aspect-ratio: 16/9; margin: 46px auto 0; overflow: hidden; border: 1px solid var(--fyd-line); border-radius: 8px; background: var(--fyd-surface); box-shadow: var(--fyd-shadow); }
.fyd-work-featured img { width: 100%; height: 100%; object-fit: cover; }
.fyd-work-tabs-shell { width: min(1240px,calc(100% - 68px)); margin: 0 auto; border: 1px solid var(--fyd-line); border-radius: 8px; background: var(--fyd-surface); }
.fyd-work-tabs { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); border-bottom: 1px solid var(--fyd-line); }
.fyd-work-tabs button { position: relative; display: inline-flex; min-height: 66px; align-items: center; justify-content: center; gap: 9px; border: 0; border-right: 1px solid var(--fyd-line); background: transparent; color: var(--fyd-muted); cursor: pointer; font: inherit; font-weight: 750; }
.fyd-work-tabs button:last-child { border-right: 0; }
.fyd-work-tabs button svg { width: 19px; height: 19px; }
.fyd-work-tabs button.is-active { color: var(--fyd-text); }
.fyd-work-tabs button.is-active::before { position: absolute; top: -1px; right: 0; left: 0; height: 3px; background: var(--fyd-accent); content: ""; }
.fyd-work-tab-panel[hidden] { display: none!important; }
.fyd-overview-content { width: min(900px,calc(100% - 64px)); padding: 54px 0 64px; }
.fyd-overview-content > .alignwide { width: min(1100px,calc(100vw - 140px)); }
.fyd-curriculum-tab { width: 100%; padding: 34px 44px 54px; }
.fyd-tab-empty { padding: 70px 30px; color: var(--fyd-muted); text-align: center; }

@media (max-width: 820px) {
  .fyd-work-learnpress { padding-bottom: 36px; }
  .fyd-work-summary { width: calc(100% - 34px); padding: 32px 0; }
  .fyd-work-summary-row { align-items: stretch; flex-direction: column; gap: 28px; }
  .fyd-work-summary h1 { font-size: 33px; }
  .fyd-work-byline { gap: 11px; }
  .fyd-work-summary-count { min-width: 56px; padding-left: 11px; }
  .fyd-work-summary-buy { align-items: stretch; }
  .fyd-work-summary-buy > div { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); }
  .fyd-work-featured { margin-top: 30px; }
  .fyd-work-tabs-shell { width: calc(100% - 34px); }
  .fyd-work-tabs button { min-height: 58px; padding: 8px; font-size: 13px; }
  .fyd-overview-content { width: calc(100% - 34px); padding: 38px 0 46px; }
  .fyd-overview-content > .alignwide, .fyd-overview-content > .alignfull { width: calc(100vw - 34px); }
  .fyd-curriculum-tab { padding: 22px 17px 38px; }
}

@media (max-width: 430px) {
  .fyd-topbar-brand strong { max-width: 155px; }
  .fyd-feature { min-height: 690px; }
  .fyd-feature-actions .fyd-button { flex: 1 1 auto; }
}

/* Fizy Notebook: learning-focused skin shared with FYD Experience Core. */
body.fyd-app-theme.fyd-skin-fizy-notebook {
  --fyd-bg: #f7faff;
  --fyd-surface: #ffffff;
  --fyd-surface-2: #edf5ff;
  --fyd-text: #1d293d;
  --fyd-muted: #64748b;
  --fyd-line: #d8e3ef;
  --fyd-accent: #3b82f6;
  --fyd-accent-ink: #ffffff;
  --fyd-secondary: #ff7518;
  --fyd-rail: #ffffff;
  --fyd-shadow: 5px 5px 0 #1d293d;
  background-color: var(--fyd-bg);
  background-image: linear-gradient(#dbe5ef 1px, transparent 1px), linear-gradient(90deg, #dbe5ef 1px, transparent 1px);
  background-size: 30px 30px;
  color: var(--fyd-text);
  font-family: "Be Vietnam Pro", sans-serif;
}
body.fyd-skin-fizy-notebook *, body.fyd-skin-fizy-notebook *::before, body.fyd-skin-fizy-notebook *::after { letter-spacing: 0; }
body.fyd-skin-fizy-notebook h1, body.fyd-skin-fizy-notebook h2, body.fyd-skin-fizy-notebook h3,
body.fyd-skin-fizy-notebook .fyd-topbar-brand strong { font-family: "Baloo 2", "Be Vietnam Pro", sans-serif; font-weight: 800; }
.fyd-skin-fizy-notebook .fyd-main { background: transparent; }
.fyd-skin-fizy-notebook .fyd-topbar {
  height: 82px;
  border: 0;
  border-bottom: 2px solid var(--fyd-text);
  background: rgba(255,255,255,.94);
  box-shadow: 0 5px 0 rgba(29,41,61,.08);
  backdrop-filter: blur(12px);
}
.fyd-skin-fizy-notebook .fyd-main { padding-top: 82px; }
.fyd-skin-fizy-notebook .fyd-topbar-brand { color: var(--fyd-text); }
.fyd-skin-fizy-notebook .fyd-topbar-brand > img,
.fyd-skin-fizy-notebook .fyd-brand-mark { border: 2px solid var(--fyd-text); border-radius: 8px; background: #ff7518; box-shadow: 3px 3px 0 var(--fyd-text); }
.fyd-skin-fizy-notebook .fyd-brand-mark::before { background: #ffdf3d; }
.fyd-skin-fizy-notebook .fyd-app-menu a { color: var(--fyd-muted); }
.fyd-skin-fizy-notebook .fyd-app-menu a i {
  border: 1px solid #c9d8e8;
  border-radius: 8px;
  background: #f1f7ff;
  color: #3b82f6;
}
.fyd-skin-fizy-notebook .fyd-app-menu a:hover i { border-color: var(--fyd-text); color: var(--fyd-text); }
.fyd-skin-fizy-notebook .fyd-app-menu a.is-active { color: var(--fyd-text); }
.fyd-skin-fizy-notebook .fyd-app-menu a.is-active i { border: 2px solid var(--fyd-text); background: #ff7518; color: #fff; box-shadow: 3px 3px 0 var(--fyd-text); }
.fyd-skin-fizy-notebook .fyd-discover { padding-top: 46px; }
.fyd-skin-fizy-notebook .fyd-pagebar { padding-bottom: 22px; border-bottom: 0; }
.fyd-skin-fizy-notebook .fyd-pagebar h1 { color: var(--fyd-text); font-size: 44px; line-height: 1.05; }
.fyd-skin-fizy-notebook .fyd-eyebrow {
  display: inline-flex;
  margin-bottom: 8px;
  padding: 5px 12px;
  border-radius: 999px;
  background: var(--fyd-text);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}
.fyd-skin-fizy-notebook .fyd-search {
  border: 2px solid var(--fyd-text);
  border-radius: 8px;
  background: #fff;
  color: var(--fyd-text);
  box-shadow: 3px 3px 0 var(--fyd-text);
}
.fyd-skin-fizy-notebook .fyd-search input { color: var(--fyd-text); }
.fyd-skin-fizy-notebook .fyd-library { padding-top: 22px; }
.fyd-skin-fizy-notebook .fyd-category-heading {
  position: relative;
  display: block;
  min-height: 58px;
  margin: 34px 0 34px;
  padding: 0;
  border: 0;
}
.fyd-skin-fizy-notebook .fyd-category-heading::before {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 4px;
  border-radius: 999px;
  background: var(--fyd-text);
}
.fyd-skin-fizy-notebook .fyd-category-heading h2 {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}
.fyd-skin-fizy-notebook .fyd-category-heading .fyd-filters {
  position: relative;
  z-index: 1;
  display: flex;
  width: 100%;
  max-width: 100%;
  gap: 8px;
  align-items: flex-end;
  justify-content: flex-start;
  padding: 0 0 0 0;
  overflow-x: auto;
  transform: none;
}
.fyd-skin-fizy-notebook .fyd-filters a {
  position: relative;
  flex: 0 0 auto;
  min-width: 128px;
  padding: 13px 22px 12px;
  border: 2px solid #c9d8e8;
  border-bottom: 0;
  border-radius: 10px 10px 0 0;
  background: rgba(255,255,255,.72);
  color: var(--fyd-muted);
  text-align: center;
  box-shadow: none;
}
.fyd-skin-fizy-notebook .fyd-filters a:hover {
  border-color: var(--fyd-text);
  background: #fff;
  color: var(--fyd-text);
}
.fyd-skin-fizy-notebook .fyd-filters a.is-active {
  margin-bottom: -4px;
  padding-bottom: 16px;
  border-color: var(--fyd-text);
  border-bottom: 4px solid #f8fbff;
  background: #f8fbff;
  color: var(--fyd-text);
  box-shadow: 3px -3px 0 rgba(29,41,61,.08);
}
.fyd-skin-fizy-notebook .fyd-filters a.is-active::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -4px;
  left: 0;
  height: 4px;
  background: #f8fbff;
}
.fyd-skin-fizy-notebook .fyd-filters a:not(.is-active) {
  margin-top: 10px;
}

@media (max-width: 780px) {
  .fyd-skin-fizy-notebook .fyd-category-heading { min-height: 54px; margin: 24px 0 28px; }
  .fyd-skin-fizy-notebook .fyd-filters a { min-width: 112px; padding: 11px 16px 10px; }
  .fyd-skin-fizy-notebook .fyd-filters a.is-active { padding-bottom: 14px; }
}

.fyd-skin-fizy-notebook .fyd-work-grid { gap: 34px 30px; }
.fyd-skin-fizy-notebook .fyd-work-card {
  overflow: hidden;
  border: 2px solid var(--fyd-text);
  border-radius: 8px;
  background: #fff0f0;
  box-shadow: 5px 5px 0 var(--fyd-text);
  transition: transform .16s ease, box-shadow .16s ease;
}
.fyd-skin-fizy-notebook .fyd-work-card:nth-child(3n+2) { background: #edf5ff; }
.fyd-skin-fizy-notebook .fyd-work-card:nth-child(3n) { background: #fff8d9; }
.fyd-skin-fizy-notebook .fyd-work-card:hover { border-color: var(--fyd-text); box-shadow: 7px 7px 0 var(--fyd-text); transform: translate(-2px,-2px); }
.fyd-skin-fizy-notebook .fyd-work-card .fyd-work-cover { border: 0; border-bottom: 2px solid var(--fyd-text); background: #dbeafe; }
.fyd-skin-fizy-notebook .fyd-work-card .fyd-work-card-body { min-height: 154px; align-items: stretch; padding: 17px 18px 0; text-align: left; }
.fyd-skin-fizy-notebook .fyd-hide-card-author .fyd-work-card .fyd-work-card-body { min-height: 154px; padding-top: 17px; }
.fyd-skin-fizy-notebook .fyd-work-card h3 { min-height: 0; margin: 0; color: var(--fyd-text); font-size: 21px; line-height: 1.25; }
.fyd-skin-fizy-notebook .fyd-card-accent { width: 46px; height: 5px; margin: 14px 0 10px; border-radius: 999px; background: #f44747; }
.fyd-skin-fizy-notebook .fyd-work-card:nth-child(3n+2) .fyd-card-accent { background: #3b82f6; }
.fyd-skin-fizy-notebook .fyd-work-card:nth-child(3n) .fyd-card-accent { background: #ff7518; }
.fyd-skin-fizy-notebook .fyd-work-card .fyd-work-meta { min-height: 48px; border-top: 1px solid rgba(29,41,61,.16); color: var(--fyd-muted); }
.fyd-skin-fizy-notebook .fyd-work-card .fyd-work-meta strong,
.fyd-skin-fizy-notebook .fyd-work-card .fyd-work-meta .amount { color: #ef4444; }
.fyd-skin-fizy-notebook .fyd-card-open { border: 2px solid var(--fyd-text); background: #ff7518; color: #fff; box-shadow: 3px 3px 0 var(--fyd-text); }
.fyd-skin-fizy-notebook .fyd-cover-letter { color: rgba(29,41,61,.15); }
.fyd-skin-fizy-notebook .fyd-empty, .fyd-skin-fizy-notebook .fyd-no-results { color: var(--fyd-muted); }

.fyd-skin-fizy-notebook .fyd-work-detail,
.fyd-skin-fizy-notebook .fyd-work-learnpress { background: transparent; }
.fyd-skin-fizy-notebook .fyd-work-breadcrumb { color: #3b82f6; }
.fyd-skin-fizy-notebook .fyd-work-summary { padding-top: 48px; }
.fyd-skin-fizy-notebook .fyd-work-summary h1 { color: var(--fyd-text); font-size: 52px; }
.fyd-skin-fizy-notebook .fyd-work-byline strong { color: var(--fyd-text); }
.fyd-skin-fizy-notebook .fyd-work-summary-count { border-color: #cbd8e7; }
.fyd-skin-fizy-notebook .fyd-work-summary-price,
.fyd-skin-fizy-notebook .fyd-work-summary-price .amount { color: #f44747; }
.fyd-skin-fizy-notebook .fyd-button { border-radius: 8px; }
.fyd-skin-fizy-notebook .fyd-button.is-primary { border: 2px solid var(--fyd-text); background: #ff7518; color: #fff; box-shadow: 4px 4px 0 var(--fyd-text); }
.fyd-skin-fizy-notebook .fyd-button.is-outline { border: 2px solid var(--fyd-text); background: #fff; color: var(--fyd-text); }
.fyd-skin-fizy-notebook .fyd-work-featured { border: 2px solid var(--fyd-text); box-shadow: 6px 6px 0 var(--fyd-text); }
.fyd-skin-fizy-notebook .fyd-work-tabs-shell { border: 2px solid var(--fyd-text); background: rgba(255,255,255,.96); box-shadow: 5px 5px 0 var(--fyd-text); }
.fyd-skin-fizy-notebook .fyd-work-tabs { border-color: var(--fyd-text); }
.fyd-skin-fizy-notebook .fyd-work-tabs button { border-color: var(--fyd-text); color: var(--fyd-muted); }
.fyd-skin-fizy-notebook .fyd-work-tabs button.is-active { background: #edf5ff; color: #2563eb; }
.fyd-skin-fizy-notebook .fyd-work-tabs button.is-active::before { height: 5px; background: #3b82f6; }
.fyd-skin-fizy-notebook .fyd-prose, .fyd-skin-fizy-notebook .fyd-prose h1,
.fyd-skin-fizy-notebook .fyd-prose h2, .fyd-skin-fizy-notebook .fyd-prose h3 { color: var(--fyd-text); }
.fyd-skin-fizy-notebook .fyd-section-item { margin-bottom: 16px; border: 2px solid var(--fyd-text); border-radius: 8px; background: #fff0f0; box-shadow: 4px 4px 0 var(--fyd-text); }
.fyd-skin-fizy-notebook .fyd-section-item:nth-child(even) { background: #edf5ff; }
.fyd-skin-fizy-notebook .fyd-section-item summary { padding: 0 18px; border: 0; }
.fyd-skin-fizy-notebook .fyd-section-item summary small { color: #f44747; }
.fyd-skin-fizy-notebook .fyd-section-item:nth-child(even) summary small { color: #3b82f6; }
.fyd-skin-fizy-notebook .fyd-unit-list { padding: 0 16px 16px; }
.fyd-skin-fizy-notebook .fyd-unit-list a { margin-top: 9px; padding: 13px 14px; border: 1px solid rgba(29,41,61,.12); border-radius: 8px; background: rgba(255,255,255,.8); color: var(--fyd-text); }
.fyd-skin-fizy-notebook .fyd-unit-list a:hover { background: #fff; box-shadow: 0 3px 0 rgba(29,41,61,.12); }
.fyd-skin-fizy-notebook .fyd-bottom-nav { border-color: var(--fyd-text); background: rgba(255,255,255,.96); }
.fyd-skin-fizy-notebook .fyd-bottom-nav a { color: var(--fyd-muted); }
.fyd-skin-fizy-notebook .fyd-bottom-nav a.is-active { color: #2563eb; }

@media (max-width: 820px) {
  .fyd-skin-fizy-notebook .fyd-topbar { height: 68px; }
  .fyd-skin-fizy-notebook .fyd-main { padding-top: 68px; }
  .fyd-skin-fizy-notebook .fyd-discover { padding-top: 28px; }
  .fyd-skin-fizy-notebook .fyd-pagebar { padding-bottom: 18px; }
  .fyd-skin-fizy-notebook .fyd-pagebar h1 { font-size: 34px; }
  .fyd-skin-fizy-notebook .fyd-work-summary h1 { font-size: 38px; }
}
@media (max-width: 560px) {
  .fyd-skin-fizy-notebook .fyd-work-grid { grid-template-columns: 1fr; gap: 26px; }
  .fyd-skin-fizy-notebook .fyd-work-card h3 { font-size: 20px; }
  .fyd-skin-fizy-notebook .fyd-work-summary-buy > div { grid-template-columns: 1fr; }
}
