
/* v6.4.2 Live Asset Debug marker */
html:root { --cbcc-css-loaded-v642: 1; }
.cbcc-public-preview::before,
.cbcc-my-space::before {
  content: "";
  position: absolute;
  pointer-events: none;
}

/* CozyBooks Interactive Homepage Engine v1 */
.cbcc-disabled {
  padding: 18px 20px;
  border-radius: 18px;
  background: #fff5f2;
  color: #7b5749;
  border: 1px solid #f1d4ca;
}

.cbcc-world-v1 {
  --cream: #fff8ee;
  --peach: #ffdcca;
  --blush: #f7ced8;
  --lav: #ded3ff;
  --sea: #bfeef2;
  --sea-deep: #86d8e2;
  --leaf: #9fca9b;
  --brown: #795842;
  --ink: #382a24;
  position: relative;
  min-height: 900px;
  overflow: hidden;
  isolation: isolate;
  background: linear-gradient(180deg, #fff0e6 0%, #d7f4f4 52%, #fff8ee 100%);
  color: var(--ink);
  border-radius: 0 0 42px 42px;
  font-family: inherit;
}

.cbcc-world-bg,
.cbcc-world-inner,
.cbcc-featured-rail,
.cbcc-world-exit-overlay {
  position: relative;
  z-index: 2;
}

.cbcc-world-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.cbcc-sun {
  position: absolute;
  top: 8%;
  right: 13%;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,.95), rgba(255,219,174,.65), rgba(255,219,174,0) 70%);
  animation: cbccPulse 7s ease-in-out infinite;
}

.cbcc-cloud {
  position: absolute;
  width: 220px;
  height: 70px;
  background: rgba(255,255,255,.48);
  border-radius: 999px;
  filter: blur(.3px);
  animation: cbccCloud 18s linear infinite;
}

.cbcc-cloud:before,
.cbcc-cloud:after {
  content: "";
  position: absolute;
  background: inherit;
  border-radius: 50%;
}

.cbcc-cloud:before { width: 90px; height: 90px; left: 35px; top: -35px; }
.cbcc-cloud:after { width: 110px; height: 110px; right: 35px; top: -48px; }

.cbcc-cloud-one { top: 13%; left: -230px; }
.cbcc-cloud-two { top: 24%; left: 42%; width: 170px; opacity: .55; animation-duration: 24s; }

.cbcc-sea {
  position: absolute;
  left: -10%;
  right: -10%;
  bottom: -8%;
  height: 39%;
  background:
    repeating-linear-gradient(174deg, rgba(255,255,255,.34) 0 8px, rgba(255,255,255,0) 8px 28px),
    linear-gradient(180deg, var(--sea), #e3faf6);
  border-radius: 50% 50% 0 0;
  transform-origin: center bottom;
  animation: cbccSeaMove 6s ease-in-out infinite;
  opacity: .86;
}

.cbcc-world-v1[data-water="0"] .cbcc-sea,
.cbcc-world-v1[data-water="0"] .cbcc-ripple {
  animation: none;
}

.cbcc-ripple {
  position: absolute;
  bottom: 22%;
  width: 45%;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.8), transparent);
  filter: blur(.5px);
  animation: cbccRipple 4.2s ease-in-out infinite;
}

.cbcc-ripple-one { left: 12%; }
.cbcc-ripple-two { right: 5%; bottom: 16%; animation-delay: 1s; }

.cbcc-light-string {
  position: absolute;
  top: 25px;
  left: 7%;
  right: 7%;
  height: 90px;
  border-top: 2px solid rgba(121,88,66,.16);
  border-radius: 50%;
  opacity: .9;
}

.cbcc-light-string span {
  position: absolute;
  top: -1px;
  width: 13px;
  height: 18px;
  border-radius: 999px;
  background: rgba(255,244,196,.95);
  box-shadow: 0 0 18px rgba(255,214,145,.9);
  animation: cbccLightBlink 3.4s ease-in-out infinite;
}

.cbcc-light-string span:nth-child(1){ left:10%; }
.cbcc-light-string span:nth-child(2){ left:30%; animation-delay:.3s; }
.cbcc-light-string span:nth-child(3){ left:50%; animation-delay:.8s; }
.cbcc-light-string span:nth-child(4){ left:70%; animation-delay:1.2s; }
.cbcc-light-string span:nth-child(5){ left:88%; animation-delay:1.5s; }

.cbcc-world-v1[data-lights="0"] .cbcc-light-string span {
  animation: none;
  box-shadow: none;
}

.cbcc-plant {
  position: absolute;
  bottom: 4%;
  width: 140px;
  height: 280px;
  opacity: .72;
  transform-origin: bottom center;
  animation: cbccPlantSway 5s ease-in-out infinite;
}

.cbcc-plant:before,
.cbcc-plant:after {
  content: "";
  position: absolute;
  bottom: 0;
  width: 80px;
  height: 210px;
  border-radius: 90% 10% 80% 20%;
  background: linear-gradient(160deg, #b5d9ab, #79ae7d);
}

.cbcc-plant:before { left: 0; transform: rotate(-18deg); }
.cbcc-plant:after { right: 0; transform: rotate(18deg); }

.cbcc-plant-left { left: 3%; }
.cbcc-plant-right { right: 3%; animation-delay: .6s; }

.cbcc-world-v1[data-plants="0"] .cbcc-plant {
  animation: none;
}

.cbcc-particles span {
  position: absolute;
  width: 8px;
  height: 8px;
  background: rgba(255,205,205,.75);
  border-radius: 50%;
  animation: cbccParticle 8s linear infinite;
}

.cbcc-particles span:nth-child(1){ left:12%; top:36%; animation-delay:.2s; }
.cbcc-particles span:nth-child(2){ left:28%; top:20%; animation-delay:1.4s; }
.cbcc-particles span:nth-child(3){ left:45%; top:48%; animation-delay:.7s; }
.cbcc-particles span:nth-child(4){ left:62%; top:30%; animation-delay:2s; }
.cbcc-particles span:nth-child(5){ left:78%; top:44%; animation-delay:1s; }
.cbcc-particles span:nth-child(6){ left:88%; top:22%; animation-delay:2.6s; }

.cbcc-world-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 110px 28px 50px;
  min-height: 740px;
  display: grid;
  grid-template-columns: .95fr 1.25fr;
  gap: 34px;
  align-items: center;
}

.cbcc-hero-copy {
  background: rgba(255,255,255,.48);
  backdrop-filter: blur(18px);
  border: 1px solid rgba(255,255,255,.66);
  box-shadow: 0 28px 90px rgba(121,88,66,.14);
  border-radius: 36px;
  padding: 36px;
}

.cbcc-kicker {
  display: inline-flex;
  color: #9b6d57;
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: 12px;
  font-weight: 900;
  margin-bottom: 14px;
}

.cbcc-hero-copy h1 {
  margin: 0 0 18px;
  font-size: clamp(48px, 6vw, 82px);
  line-height: .92;
  letter-spacing: -.04em;
  color: var(--ink);
}

.cbcc-hero-copy p {
  font-size: 17px;
  line-height: 1.7;
  color: #715b50;
  max-width: 520px;
}

.cbcc-world-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.cbcc-world-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 20px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 900;
  transition: transform .25s ease, box-shadow .25s ease;
}

.cbcc-world-btn:hover {
  transform: translateY(-2px);
}

.cbcc-primary {
  color: #fff;
  background: linear-gradient(135deg, #c7a27c, #d8a5b7);
  box-shadow: 0 16px 36px rgba(199,162,124,.32);
}

.cbcc-soft {
  color: #765642;
  background: rgba(255,255,255,.72);
  border: 1px solid rgba(121,88,66,.13);
}

.cbcc-world-stage {
  position: relative;
  min-height: 630px;
  perspective: 1000px;
}

.cbcc-glass-card {
  background: rgba(255,255,255,.56);
  border: 1px solid rgba(255,255,255,.72);
  backdrop-filter: blur(18px);
  box-shadow: 0 22px 66px rgba(121,88,66,.14);
  border-radius: 28px;
}

.cbcc-floating-search {
  position: absolute;
  top: 7%;
  left: 8%;
  right: 8%;
  padding: 16px 20px;
  display: flex;
  gap: 12px;
  align-items: center;
  animation: cbccFloat 5.5s ease-in-out infinite;
}

.cbcc-search-icon {
  color: #9b6d57;
  font-weight: 900;
}

.cbcc-floating-search input {
  width: 100%;
  border: 0;
  background: transparent;
  outline: none;
  font-size: 16px;
  color: #594136;
}

.cbcc-mood-filter {
  position: absolute;
  top: 22%;
  right: 2%;
  max-width: 330px;
  padding: 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  animation: cbccFloat 6s ease-in-out infinite .5s;
}

.cbcc-mood-filter button {
  border: 0;
  background: #fff8f0;
  color: #795842;
  border-radius: 999px;
  padding: 10px 14px;
  cursor: pointer;
  font-weight: 900;
  transition: transform .2s ease, background .2s ease, box-shadow .2s ease;
}

.cbcc-mood-filter button:hover,
.cbcc-mood-filter button.is-active {
  transform: translateY(-2px);
  background: var(--blush);
  box-shadow: 0 8px 22px rgba(216,165,183,.26);
}

.cbcc-top-pick-card {
  position: absolute;
  left: 3%;
  bottom: 25%;
  width: min(290px, 45%);
  padding: 22px;
  animation: cbccFloat 6.2s ease-in-out infinite .8s;
}

.cbcc-top-pick-card span {
  color: #9b6d57;
  text-transform: uppercase;
  font-weight: 900;
  letter-spacing: .1em;
  font-size: 11px;
}

.cbcc-top-pick-card h3 {
  margin: 9px 0 8px;
  font-size: 27px;
  line-height: 1.05;
}

.cbcc-top-pick-card p {
  color: #765f53;
  margin: 0 0 14px;
}

.cbcc-mini-action {
  border: 0;
  border-radius: 999px;
  padding: 10px 14px;
  background: #c7a27c;
  color: #fff;
  font-weight: 900;
  cursor: pointer;
}

.cbcc-category-orbits {
  position: absolute;
  right: 3%;
  bottom: 8%;
  width: min(380px, 55%);
  display: grid;
  grid-template-columns: repeat(2, minmax(120px, 1fr));
  gap: 12px;
}

.cbcc-category-orbits a {
  text-decoration: none;
  color: #704f3f;
  font-weight: 900;
  padding: 14px 16px;
  border-radius: 22px;
  background: rgba(255,255,255,.62);
  border: 1px solid rgba(255,255,255,.78);
  backdrop-filter: blur(14px);
  box-shadow: 0 14px 40px rgba(121,88,66,.11);
  transition: transform .25s ease, box-shadow .25s ease;
  animation: cbccFloat 6.5s ease-in-out infinite;
}

.cbcc-category-orbits a:nth-child(2){ animation-delay:.3s; }
.cbcc-category-orbits a:nth-child(3){ animation-delay:.7s; }
.cbcc-category-orbits a:nth-child(4){ animation-delay:1s; }

.cbcc-category-orbits a:hover {
  transform: translateY(-5px) scale(1.03);
  box-shadow: 0 20px 52px rgba(216,165,183,.26);
}

.cbcc-reader-character {
  position: absolute;
  left: 43%;
  bottom: 13%;
  width: 170px;
  height: 280px;
  z-index: 5;
  transform-origin: bottom center;
  animation: cbccReaderBreathe 4s ease-in-out infinite;
}

.cbcc-reader-glow {
  position: absolute;
  inset: auto -20px -12px -20px;
  height: 70px;
  background: radial-gradient(ellipse, rgba(255,222,170,.45), transparent 70%);
  filter: blur(10px);
}

.cbcc-reader-hair {
  position: absolute;
  top: 0;
  left: 34px;
  width: 105px;
  height: 102px;
  border-radius: 50% 50% 44% 56%;
  background: #2f1d18;
  box-shadow: -22px 15px 0 #2f1d18, 22px 14px 0 #2f1d18, 0 8px 0 #2f1d18;
}

.cbcc-reader-face {
  position: absolute;
  top: 42px;
  left: 50px;
  width: 72px;
  height: 82px;
  border-radius: 45% 45% 48% 48%;
  background: linear-gradient(180deg, #b97955, #9f6348);
  box-shadow: inset 0 -10px 0 rgba(103,54,37,.12);
}

.cbcc-eye {
  position: absolute;
  top: 32px;
  width: 6px;
  height: 6px;
  background: #2f1d18;
  border-radius: 50%;
  animation: cbccBlink 5s infinite;
}

.cbcc-eye-left { left: 23px; }
.cbcc-eye-right { right: 23px; }

.cbcc-smile {
  position: absolute;
  left: 28px;
  top: 51px;
  width: 18px;
  height: 8px;
  border-bottom: 2px solid rgba(62,31,24,.75);
  border-radius: 0 0 18px 18px;
}

.cbcc-reader-body {
  position: absolute;
  top: 122px;
  left: 38px;
  width: 94px;
  height: 112px;
  border-radius: 48px 48px 20px 20px;
  background: linear-gradient(180deg, #fff1de, #f4cdd8);
}

.cbcc-reader-book {
  position: absolute;
  left: 20px;
  bottom: 12px;
  width: 132px;
  height: 84px;
  border-radius: 16px;
  background: linear-gradient(90deg, #fff8dd 0 48%, #f4ddaf 49% 100%);
  box-shadow: 0 16px 35px rgba(121,88,66,.22), 0 0 30px rgba(255,232,170,.45);
  transform: rotate(-2deg);
}

.cbcc-reader-book span {
  position: absolute;
  left: 50%;
  top: 12%;
  width: 1px;
  height: 76%;
  background: rgba(121,88,66,.22);
}

.cbcc-world-v1[data-character="0"] .cbcc-reader-character {
  display: none;
}

.cbcc-featured-rail {
  max-width: 1160px;
  margin: -30px auto 70px;
  padding: 0 28px;
}

.cbcc-featured-head {
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin-bottom: 16px;
}

.cbcc-featured-head span {
  color: #9b6d57;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
  font-size: 12px;
}

.cbcc-featured-head strong {
  font-size: 28px;
}

.cbcc-book-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(160px, 1fr));
  gap: 16px;
}

.cbcc-book-strip article {
  min-height: 190px;
  border-radius: 26px;
  padding: 16px;
  background: rgba(255,255,255,.6);
  border: 1px solid rgba(255,255,255,.75);
  backdrop-filter: blur(14px);
  box-shadow: 0 20px 55px rgba(121,88,66,.12);
  transition: transform .25s ease;
}

.cbcc-book-strip article:hover {
  transform: translateY(-7px);
}

.cbcc-book-strip article span {
  display: block;
  height: 105px;
  border-radius: 18px;
  margin-bottom: 12px;
  background: linear-gradient(135deg, #f8cfd8, #fff1c8, #ccefed);
}

.cbcc-book-strip article:nth-child(2) span { background: linear-gradient(135deg, #ccefed, #fff8ee); }
.cbcc-book-strip article:nth-child(3) span { background: linear-gradient(135deg, #d7edc7, #fff4d8); }
.cbcc-book-strip article:nth-child(4) span { background: linear-gradient(135deg, #ded3ff, #f8cfd8); }

.cbcc-book-strip strong,
.cbcc-book-strip small {
  display: block;
}

.cbcc-book-strip small {
  color: #80675a;
  margin-top: 4px;
}

.cbcc-world-v1[data-mood="romantic"] {
  background: linear-gradient(180deg, #fff0f4 0%, #ffe0d7 55%, #fff8ee 100%);
}

.cbcc-world-v1[data-mood="calm"] {
  background: linear-gradient(180deg, #ecfbff 0%, #dff7ef 56%, #fff8ee 100%);
}

.cbcc-world-v1[data-mood="mystery"] {
  background: linear-gradient(180deg, #eee9ff 0%, #d8e2f8 54%, #fff8ee 100%);
}

.cbcc-world-v1.is-reacting .cbcc-reader-character {
  animation: cbccReaderReact .8s ease-in-out;
}

.cbcc-world-exit-overlay {
  position: absolute;
  inset: 0;
  z-index: 20;
  display: grid;
  place-items: center;
  opacity: 0;
  pointer-events: none;
  background: rgba(255,248,238,.58);
  backdrop-filter: blur(0);
  transition: opacity .5s ease, backdrop-filter .5s ease;
}

.cbcc-world-exit-overlay div {
  padding: 18px 24px;
  border-radius: 999px;
  background: rgba(255,255,255,.76);
  color: #795842;
  font-weight: 900;
  box-shadow: 0 20px 60px rgba(121,88,66,.18);
}

.cbcc-world-v1.is-entering {
  transform: scale(1.02);
  filter: saturate(.9);
  transition: transform 1s ease, filter 1s ease;
}

.cbcc-world-v1.is-entering .cbcc-world-exit-overlay {
  opacity: 1;
  backdrop-filter: blur(12px);
}

.cbcc-ai-feed-v1 {
  padding: 48px 28px;
  border-radius: 34px;
  background: #fff8ee;
}

.cbcc-feed-title span {
  color: #9b6d57;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .08em;
  font-size: 12px;
}

.cbcc-feed-title h2 {
  margin: 8px 0 22px;
  font-size: 38px;
}

.cbcc-feed-row {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  padding: 8px 0 18px;
}

.cbcc-feed-row article {
  min-width: 260px;
  padding: 22px;
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 14px 40px rgba(121,88,66,.10);
}

@keyframes cbccPulse {
  0%,100% { transform: scale(1); opacity: .9; }
  50% { transform: scale(1.08); opacity: 1; }
}

@keyframes cbccCloud {
  0% { transform: translateX(0); }
  100% { transform: translateX(calc(100vw + 280px)); }
}

@keyframes cbccSeaMove {
  0%,100% { transform: translateY(0) scaleX(1); }
  50% { transform: translateY(-8px) scaleX(1.03); }
}

@keyframes cbccRipple {
  0%,100% { opacity: .25; transform: translateX(0); }
  50% { opacity: .75; transform: translateX(30px); }
}

@keyframes cbccLightBlink {
  0%,100% { opacity:.65; transform: translateY(0); }
  50% { opacity:1; transform: translateY(2px); }
}

@keyframes cbccPlantSway {
  0%,100% { transform: rotate(-2deg); }
  50% { transform: rotate(3deg); }
}

@keyframes cbccParticle {
  0% { transform: translateY(0) translateX(0); opacity: 0; }
  20% { opacity: .8; }
  100% { transform: translateY(-90px) translateX(35px); opacity: 0; }
}

@keyframes cbccFloat {
  0%,100% { transform: translateY(0) rotateX(0); }
  50% { transform: translateY(-14px) rotateX(2deg); }
}

@keyframes cbccReaderBreathe {
  0%,100% { transform: translateY(0) rotate(-1deg); }
  50% { transform: translateY(-5px) rotate(1deg); }
}

@keyframes cbccReaderReact {
  0%,100% { transform: translateY(0) rotate(0); }
  45% { transform: translateY(-8px) rotate(-2deg); }
}

@keyframes cbccBlink {
  0%, 94%, 100% { transform: scaleY(1); }
  96% { transform: scaleY(.1); }
}

@media (max-width: 980px) {
  .cbcc-world-inner {
    grid-template-columns: 1fr;
    padding-top: 86px;
  }

  .cbcc-world-stage {
    min-height: 620px;
  }

  .cbcc-book-strip {
    grid-template-columns: repeat(2, minmax(150px, 1fr));
  }
}

@media (max-width: 640px) {
  .cbcc-world-v1 {
    min-height: 980px;
  }

  .cbcc-hero-copy {
    padding: 24px;
  }

  .cbcc-floating-search,
  .cbcc-mood-filter,
  .cbcc-top-pick-card,
  .cbcc-category-orbits {
    position: relative;
    inset: auto;
    width: auto;
    max-width: none;
    margin-bottom: 14px;
  }

  .cbcc-world-stage {
    min-height: auto;
    display: grid;
    gap: 14px;
  }

  .cbcc-reader-character {
    position: relative;
    left: auto;
    bottom: auto;
    margin: 20px auto 0;
  }

  .cbcc-book-strip {
    grid-template-columns: 1fr;
  }
}


/* v6.1.8 Real CozyBooks Data Bridge */
.cbcc-top-pick-card a.cbcc-mini-action,
.cbcc-book-link,
.cbcc-ai-feed-v1 a {
  text-decoration: none;
}

.cbcc-mini-action {
  display: inline-flex;
}

.cbcc-book-link {
  display: block;
  color: inherit;
}

.cbcc-book-cover-img,
.cbcc-book-cover-fallback {
  display: block;
  height: 118px;
  border-radius: 18px;
  margin-bottom: 12px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.cbcc-book-cover-fallback {
  background: linear-gradient(135deg, #f8cfd8, #fff1c8, #ccefed);
}

.cbcc-book-strip article:nth-child(2n) .cbcc-book-cover-fallback {
  background: linear-gradient(135deg, #ccefed, #fff8ee);
}

.cbcc-book-strip article:nth-child(3n) .cbcc-book-cover-fallback {
  background: linear-gradient(135deg, #d7edc7, #fff4d8);
}

.cbcc-book-strip article:nth-child(4n) .cbcc-book-cover-fallback {
  background: linear-gradient(135deg, #ded3ff, #f8cfd8);
}

.cbcc-live-search-results {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  right: 0;
  display: none;
  background: rgba(255,255,255,.88);
  border: 1px solid rgba(255,255,255,.9);
  backdrop-filter: blur(18px);
  border-radius: 22px;
  padding: 8px;
  box-shadow: 0 18px 45px rgba(121,88,66,.18);
  z-index: 20;
}

.cbcc-live-search-results.is-open {
  display: block;
}

.cbcc-live-search-results a {
  display: block;
  padding: 10px 12px;
  color: #694c3f;
  text-decoration: none;
  border-radius: 14px;
  font-weight: 800;
}

.cbcc-live-search-results a:hover {
  background: #fff4ed;
}

.cbcc-ai-feed-v1 .cbcc-book-cover-img,
.cbcc-ai-feed-v1 .cbcc-book-cover-fallback {
  height: 150px;
}

.cbcc-feed-row article p {
  color: #80675a;
  margin: 8px 0 0;
  font-size: 14px;
}


/* v6.1.9 Taste Quiz + Taste DNA Foundation */
.cbcc-taste-quiz {
  position: relative;
  padding: 70px 24px;
  background: linear-gradient(180deg, #fff8ee, #fff0f4);
}

.cbcc-taste-card {
  max-width: 980px;
  margin: 0 auto;
  padding: 34px;
  border-radius: 34px;
  background: rgba(255,255,255,.72);
  border: 1px solid rgba(255,255,255,.88);
  box-shadow: 0 24px 70px rgba(121,88,66,.12);
  backdrop-filter: blur(18px);
}

.cbcc-taste-kicker {
  display: inline-block;
  margin-bottom: 10px;
  color: #9b6d57;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.cbcc-taste-card h2 {
  margin: 0 0 10px;
  font-size: clamp(34px, 5vw, 56px);
  line-height: 1;
  color: #382a24;
}

.cbcc-taste-card > p {
  margin: 0 0 24px;
  color: #72594e;
  font-size: 16px;
  line-height: 1.65;
  max-width: 700px;
}

.cbcc-quiz-group {
  padding: 20px 0;
  border-top: 1px solid rgba(121,88,66,.12);
}

.cbcc-quiz-group h3 {
  margin: 0 0 12px;
  color: #44322a;
  font-size: 20px;
}

.cbcc-choice-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.cbcc-choice-row button {
  border: 1px solid rgba(121,88,66,.12);
  background: #fff8f0;
  color: #765642;
  border-radius: 999px;
  padding: 12px 15px;
  font-weight: 900;
  cursor: pointer;
  transition: transform .2s ease, background .2s ease, box-shadow .2s ease;
}

.cbcc-choice-row button:hover,
.cbcc-choice-row button.is-selected {
  background: linear-gradient(135deg, #f8cfd8, #fff1c8);
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(216,165,183,.25);
}

.cbcc-quiz-actions {
  display: flex;
  gap: 14px;
  align-items: center;
  flex-wrap: wrap;
  margin-top: 18px;
}

.cbcc-save-taste {
  border: 0;
  border-radius: 999px;
  padding: 14px 20px;
  background: linear-gradient(135deg, #c7a27c, #d8a5b7);
  color: #fff;
  font-weight: 900;
  cursor: pointer;
  box-shadow: 0 15px 34px rgba(199,162,124,.28);
}

.cbcc-taste-status {
  color: #765642;
  font-weight: 800;
}

.cbcc-world-v1[data-taste-applied="1"] .cbcc-hero-copy {
  box-shadow: 0 28px 90px rgba(216,165,183,.2);
}

.cbcc-taste-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 14px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,.62);
  color: #765642;
  font-weight: 900;
  font-size: 13px;
}


/* v6.2.0 Why This Book + Explainable Recommendations */
.cbcc-match-score {
  display: inline-flex;
  align-items: center;
  margin: 10px 0 8px;
  padding: 7px 10px;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(248,207,216,.85), rgba(255,241,200,.85));
  color: #765642;
  font-weight: 900;
  font-size: 12px;
}

.cbcc-match-score-small {
  margin-top: 0;
}

.cbcc-rec-labels {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 8px 0 10px;
}

.cbcc-rec-labels span {
  display: inline-flex;
  padding: 6px 9px;
  border-radius: 999px;
  background: rgba(255,255,255,.75);
  color: #7b5a48;
  font-size: 11px;
  font-weight: 900;
  border: 1px solid rgba(121,88,66,.1);
}

.cbcc-why {
  margin-top: 10px;
  border-radius: 18px;
  background: rgba(255,255,255,.58);
  border: 1px solid rgba(121,88,66,.1);
  padding: 10px 12px;
}

.cbcc-why summary {
  cursor: pointer;
  color: #7b5a48;
  font-weight: 900;
}

.cbcc-why ul {
  margin: 10px 0 0 18px;
  padding: 0;
  color: #70584d;
  font-size: 13px;
  line-height: 1.45;
}

.cbcc-why li + li {
  margin-top: 5px;
}

.cbcc-recommendations-v1 {
  padding: 64px 24px;
  background: linear-gradient(180deg, #fff8ee, #fff0f4);
  border-radius: 34px;
}

.cbcc-rec-head {
  max-width: 1120px;
  margin: 0 auto 22px;
}

.cbcc-rec-head span {
  display: inline-block;
  margin-bottom: 8px;
  color: #9b6d57;
  text-transform: uppercase;
  letter-spacing: .1em;
  font-size: 12px;
  font-weight: 900;
}

.cbcc-rec-head h2 {
  margin: 0;
  font-size: clamp(34px, 5vw, 56px);
  line-height: 1;
  color: #382a24;
}

.cbcc-rec-grid {
  max-width: 1120px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, minmax(180px, 1fr));
  gap: 16px;
}

.cbcc-rec-card {
  background: rgba(255,255,255,.72);
  border: 1px solid rgba(255,255,255,.9);
  border-radius: 26px;
  padding: 16px;
  box-shadow: 0 20px 50px rgba(121,88,66,.11);
  backdrop-filter: blur(16px);
}

.cbcc-rec-card a {
  color: inherit;
  text-decoration: none;
}

.cbcc-rec-card strong {
  display: block;
  font-size: 16px;
  line-height: 1.2;
  color: #3f2f27;
}

.cbcc-rec-card .cbcc-book-cover-img,
.cbcc-rec-card .cbcc-book-cover-fallback {
  height: 160px;
}

@media (max-width: 980px) {
  .cbcc-rec-grid {
    grid-template-columns: repeat(2, minmax(180px, 1fr));
  }
}

@media (max-width: 620px) {
  .cbcc-rec-grid {
    grid-template-columns: 1fr;
  }
}


/* v6.2.1 Netflix-style CozyBooks Feed UI */
.cbcc-netflix-feed {
  --cbcc-feed-bg: #fff8ee;
  --cbcc-feed-card: rgba(255,255,255,.74);
  --cbcc-feed-ink: #382a24;
  --cbcc-feed-brown: #795842;
  padding: 70px 0 80px;
  background:
    radial-gradient(circle at 15% 12%, rgba(248,207,216,.55), transparent 24%),
    radial-gradient(circle at 85% 18%, rgba(191,238,242,.65), transparent 28%),
    linear-gradient(180deg, #fff8ee, #fff0f4);
  border-radius: 34px;
  overflow: hidden;
}

.cbcc-netflix-hero {
  max-width: 1180px;
  margin: 0 auto 34px;
  padding: 0 28px;
}

.cbcc-netflix-hero span {
  display: inline-block;
  color: #9b6d57;
  text-transform: uppercase;
  letter-spacing: .11em;
  font-size: 12px;
  font-weight: 900;
  margin-bottom: 10px;
}

.cbcc-netflix-hero h2 {
  margin: 0 0 12px;
  color: var(--cbcc-feed-ink);
  font-size: clamp(40px, 6vw, 76px);
  line-height: .95;
  letter-spacing: -.04em;
}

.cbcc-netflix-hero p {
  color: #715b50;
  max-width: 700px;
  font-size: 17px;
  line-height: 1.65;
}

.cbcc-feed-section {
  margin: 0 auto 34px;
  max-width: 1240px;
  padding: 0 0 0 28px;
}

.cbcc-feed-section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 16px;
  padding-right: 28px;
  margin-bottom: 14px;
}

.cbcc-feed-section-head h3 {
  margin: 0;
  color: #3f2f27;
  font-size: 28px;
  line-height: 1.1;
}

.cbcc-feed-section-head p {
  margin: 6px 0 0;
  color: #80675a;
}

.cbcc-row-controls {
  display: flex;
  gap: 8px;
  flex: 0 0 auto;
}

.cbcc-row-controls button {
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 999px;
  background: rgba(255,255,255,.82);
  color: #765642;
  font-size: 24px;
  font-weight: 900;
  cursor: pointer;
  box-shadow: 0 12px 28px rgba(121,88,66,.12);
  transition: transform .2s ease, background .2s ease;
}

.cbcc-row-controls button:hover {
  transform: translateY(-2px);
  background: #fff;
}

.cbcc-feed-carousel {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 8px 28px 26px 0;
  scroll-behavior: smooth;
}

.cbcc-feed-carousel::-webkit-scrollbar {
  height: 10px;
}

.cbcc-feed-carousel::-webkit-scrollbar-track {
  background: rgba(255,255,255,.5);
  border-radius: 999px;
}

.cbcc-feed-carousel::-webkit-scrollbar-thumb {
  background: rgba(199,162,124,.65);
  border-radius: 999px;
}

.cbcc-feed-card {
  position: relative;
  scroll-snap-align: start;
  flex: 0 0 215px;
  min-height: 360px;
  padding: 14px;
  border-radius: 28px;
  background: var(--cbcc-feed-card);
  border: 1px solid rgba(255,255,255,.88);
  box-shadow: 0 18px 48px rgba(121,88,66,.11);
  backdrop-filter: blur(16px);
  transition: transform .25s ease, box-shadow .25s ease;
}

.cbcc-feed-card:hover {
  transform: translateY(-9px) scale(1.015);
  box-shadow: 0 28px 70px rgba(121,88,66,.18);
}

.cbcc-feed-card a {
  color: inherit;
  text-decoration: none;
}

.cbcc-feed-cover {
  display: block;
  height: 190px;
  border-radius: 22px;
  margin-bottom: 12px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  box-shadow: inset 0 -30px 60px rgba(0,0,0,.07);
}

.cbcc-feed-cover-fallback {
  background:
    linear-gradient(135deg, rgba(248,207,216,.95), rgba(255,241,200,.95), rgba(191,238,242,.95));
}

.cbcc-feed-card:nth-child(2n) .cbcc-feed-cover-fallback {
  background: linear-gradient(135deg, #ccefed, #fff8ee);
}

.cbcc-feed-card:nth-child(3n) .cbcc-feed-cover-fallback {
  background: linear-gradient(135deg, #d7edc7, #fff4d8);
}

.cbcc-feed-card:nth-child(4n) .cbcc-feed-cover-fallback {
  background: linear-gradient(135deg, #ded3ff, #f8cfd8);
}

.cbcc-feed-card strong {
  display: block;
  color: #3f2f27;
  font-size: 16px;
  line-height: 1.2;
  min-height: 38px;
}

.cbcc-feed-score {
  display: inline-flex;
  margin-top: 9px;
  padding: 7px 10px;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(248,207,216,.92), rgba(255,241,200,.92));
  color: #765642;
  font-weight: 900;
  font-size: 12px;
}

.cbcc-feed-labels {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 10px;
}

.cbcc-feed-labels span {
  display: inline-flex;
  padding: 6px 8px;
  border-radius: 999px;
  background: rgba(255,255,255,.72);
  color: #7b5a48;
  font-size: 11px;
  font-weight: 900;
  border: 1px solid rgba(121,88,66,.1);
}

.cbcc-feed-why {
  margin-top: 10px;
  background: rgba(255,255,255,.58);
}

.cbcc-feed-why summary {
  font-size: 13px;
}

.cbcc-feed-why ul {
  font-size: 12px;
}

@media (max-width: 760px) {
  .cbcc-feed-section {
    padding-left: 18px;
  }

  .cbcc-feed-section-head {
    align-items: flex-start;
    flex-direction: column;
    padding-right: 18px;
  }

  .cbcc-feed-card {
    flex-basis: 190px;
  }

  .cbcc-feed-cover {
    height: 165px;
  }
}


/* v6.2.2 CozyBooks AI Chat Assistant */
.cbcc-ai-chat{display:grid;grid-template-columns:minmax(0,1fr)340px;gap:22px;padding:70px 28px;border-radius:34px;background:radial-gradient(circle at 16% 20%,rgba(248,207,216,.62),transparent 28%),radial-gradient(circle at 84% 18%,rgba(191,238,242,.68),transparent 28%),linear-gradient(180deg,#fff8ee,#fff0f4)}
.cbcc-chat-panel,.cbcc-chat-starters{background:rgba(255,255,255,.72);border:1px solid rgba(255,255,255,.9);border-radius:32px;box-shadow:0 24px 70px rgba(121,88,66,.12);backdrop-filter:blur(18px)}
.cbcc-chat-panel{padding:28px}.cbcc-chat-head span,.cbcc-chat-starters>span{display:inline-block;color:#9b6d57;text-transform:uppercase;letter-spacing:.1em;font-size:12px;font-weight:900;margin-bottom:8px}
.cbcc-chat-head h2{margin:0 0 10px;color:#382a24;font-size:clamp(36px,5vw,62px);line-height:.95}.cbcc-chat-head p{max-width:680px;color:#715b50;line-height:1.65}
.cbcc-chat-log{min-height:190px;max-height:360px;overflow-y:auto;display:flex;flex-direction:column;gap:12px;padding:16px;margin:22px 0;border-radius:24px;background:rgba(255,255,255,.52);border:1px solid rgba(121,88,66,.08)}
.cbcc-chat-message{max-width:86%;padding:12px 14px;border-radius:20px;line-height:1.5;color:#4a382f}.cbcc-chat-message-bot{align-self:flex-start;background:#fff8ef;border-bottom-left-radius:6px}.cbcc-chat-message-user{align-self:flex-end;background:linear-gradient(135deg,#f8cfd8,#fff1c8);border-bottom-right-radius:6px;font-weight:800}
.cbcc-chat-books{display:grid;gap:10px;margin-top:10px}.cbcc-chat-book{display:grid;grid-template-columns:54px 1fr;gap:10px;align-items:center;padding:8px;border-radius:16px;background:rgba(255,255,255,.62);color:inherit;text-decoration:none}.cbcc-chat-book strong{display:block;line-height:1.2}.cbcc-chat-book small{color:#80675a}
.cbcc-chat-chips{display:flex;flex-wrap:wrap;gap:9px;margin-bottom:16px}.cbcc-chat-chips button{border:1px solid rgba(121,88,66,.1);border-radius:999px;padding:10px 13px;background:rgba(255,255,255,.72);color:#765642;cursor:pointer;font-weight:900;transition:transform .2s ease,background .2s ease}.cbcc-chat-chips button:hover{transform:translateY(-2px);background:#fff0f4}
.cbcc-chat-form{display:flex;gap:10px}.cbcc-chat-form input{width:100%;border:1px solid rgba(121,88,66,.12);border-radius:999px;padding:14px 16px;background:rgba(255,255,255,.8);color:#3f2f27;outline:none}.cbcc-chat-form button{border:0;border-radius:999px;padding:14px 20px;background:linear-gradient(135deg,#c7a27c,#d8a5b7);color:#fff;font-weight:900;cursor:pointer;box-shadow:0 14px 32px rgba(199,162,124,.28)}
.cbcc-chat-starters{padding:20px;align-self:start}.cbcc-chat-starters article{padding:12px;border-radius:22px;background:rgba(255,255,255,.58);margin-top:12px}.cbcc-chat-starters a{color:inherit;text-decoration:none}.cbcc-chat-starters strong,.cbcc-chat-starters small{display:block}.cbcc-chat-starters small{margin-top:8px;color:#765642;font-weight:900}
.cbcc-chat-cover{display:block;width:100%;height:126px;border-radius:18px;margin-bottom:10px;background-size:cover;background-position:center}.cbcc-chat-book .cbcc-chat-cover{width:54px;height:72px;margin:0}.cbcc-chat-cover-fallback{background:linear-gradient(135deg,#f8cfd8,#fff1c8,#ccefed)}
@media(max-width:900px){.cbcc-ai-chat{grid-template-columns:1fr}}@media(max-width:620px){.cbcc-chat-form{flex-direction:column}}


/* v6.2.3 My CozyBooks Space - Private Personalized Dashboard */
.cbcc-my-space {
  --my-cream:#fff8ee;
  --my-blush:#f8cfd8;
  --my-peach:#ffdcca;
  --my-sea:#bfeef2;
  --my-lav:#ded3ff;
  --my-ink:#382a24;
  --my-brown:#795842;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  border-radius: 36px;
  background:
    radial-gradient(circle at 15% 8%, rgba(248,207,216,.6), transparent 28%),
    radial-gradient(circle at 85% 12%, rgba(191,238,242,.7), transparent 28%),
    linear-gradient(180deg, #fff4ee 0%, #e8f8f7 48%, #fff0f4 100%);
  color: var(--my-ink);
}

.cbcc-my-space[data-mood="romantic"] {
  background: radial-gradient(circle at 20% 10%, rgba(248,207,216,.72), transparent 30%), linear-gradient(180deg,#fff0f5,#ffe6dc,#fff8ee);
}

.cbcc-my-space[data-mood="calm"] {
  background: radial-gradient(circle at 80% 8%, rgba(191,238,242,.75), transparent 30%), linear-gradient(180deg,#effcff,#e8f8ef,#fff8ee);
}

.cbcc-my-space[data-mood="mystery"] {
  background: radial-gradient(circle at 25% 12%, rgba(222,211,255,.74), transparent 30%), linear-gradient(180deg,#f3efff,#e5effc,#fff8ee);
}

.cbcc-my-space[data-mood="emotional"] {
  background: radial-gradient(circle at 20% 12%, rgba(216,165,183,.68), transparent 30%), linear-gradient(180deg,#fff0f4,#f3e9ff,#fff8ee);
}

.cbcc-my-space-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.cbcc-my-glow {
  position: absolute;
  top: 6%;
  right: 10%;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,.9), rgba(255,224,176,.45), transparent 70%);
  animation: cbccMyGlow 7s ease-in-out infinite;
}

.cbcc-my-water {
  position: absolute;
  left: -8%;
  right: -8%;
  top: 290px;
  height: 270px;
  border-radius: 45%;
  background:
    repeating-linear-gradient(170deg, rgba(255,255,255,.35) 0 8px, transparent 8px 28px),
    linear-gradient(180deg, rgba(191,238,242,.75), rgba(255,255,255,.25));
  animation: cbccMyWater 6s ease-in-out infinite;
}

.cbcc-my-lights {
  position: absolute;
  top: 22px;
  left: 8%;
  right: 8%;
  height: 78px;
  border-top: 2px solid rgba(121,88,66,.13);
  border-radius: 50%;
}

.cbcc-my-lights span {
  position: absolute;
  top: -1px;
  width: 14px;
  height: 18px;
  border-radius: 999px;
  background: rgba(255,242,190,.95);
  box-shadow: 0 0 18px rgba(255,220,150,.8);
  animation: cbccMyLight 3.5s ease-in-out infinite;
}

.cbcc-my-lights span:nth-child(1){left:16%}
.cbcc-my-lights span:nth-child(2){left:38%;animation-delay:.5s}
.cbcc-my-lights span:nth-child(3){left:62%;animation-delay:1s}
.cbcc-my-lights span:nth-child(4){left:84%;animation-delay:1.4s}

.cbcc-my-leaves span {
  position: absolute;
  width: 90px;
  height: 190px;
  bottom: 8%;
  border-radius: 90% 10% 80% 20%;
  background: linear-gradient(160deg, #b5d9ab, #78aa76);
  opacity: .32;
  transform-origin: bottom;
  animation: cbccMyLeaf 5s ease-in-out infinite;
}

.cbcc-my-leaves span:nth-child(1){left:4%}
.cbcc-my-leaves span:nth-child(2){right:5%;height:230px;animation-delay:.7s}
.cbcc-my-leaves span:nth-child(3){right:22%;height:150px;animation-delay:1.3s}

.cbcc-my-hero,
.cbcc-my-mood-panel,
.cbcc-my-section {
  position: relative;
  z-index: 2;
}

.cbcc-my-hero {
  max-width: 1240px;
  margin: 0 auto;
  padding: 110px 28px 54px;
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(360px, 1.05fr);
  gap: 28px;
  align-items: center;
}

.cbcc-my-welcome,
.cbcc-my-dashboard,
.cbcc-my-mood-panel {
  background: rgba(255,255,255,.62);
  border: 1px solid rgba(255,255,255,.84);
  border-radius: 34px;
  box-shadow: 0 28px 90px rgba(121,88,66,.14);
  backdrop-filter: blur(18px);
}

.cbcc-my-welcome {
  padding: 36px;
}

.cbcc-my-welcome span,
.cbcc-my-section-head span,
.cbcc-my-mood-panel span {
  display: inline-block;
  color: #9b6d57;
  text-transform: uppercase;
  letter-spacing: .11em;
  font-size: 12px;
  font-weight: 900;
  margin-bottom: 10px;
}

.cbcc-my-welcome h1 {
  margin: 0 0 14px;
  font-size: clamp(46px, 6vw, 78px);
  line-height: .92;
  letter-spacing: -.04em;
}

.cbcc-my-welcome p,
.cbcc-my-mood-panel p {
  color: #715b50;
  line-height: 1.65;
  font-size: 17px;
}

.cbcc-my-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.cbcc-my-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 18px;
  border-radius: 999px;
  font-weight: 900;
  text-decoration: none;
}

.cbcc-my-primary {
  color: #fff;
  background: linear-gradient(135deg,#c7a27c,#d8a5b7);
  box-shadow: 0 16px 34px rgba(199,162,124,.3);
}

.cbcc-my-soft {
  color: #765642;
  background: rgba(255,255,255,.72);
  border: 1px solid rgba(121,88,66,.1);
}

.cbcc-my-dashboard {
  padding: 22px;
  display: grid;
  gap: 14px;
}

.cbcc-my-reader-card {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 18px;
  align-items: center;
  padding: 18px;
  border-radius: 28px;
  background: rgba(255,255,255,.52);
}

.cbcc-my-reader-card strong,
.cbcc-my-top-pick strong {
  display: block;
  color: #3f2f27;
  font-size: 20px;
}

.cbcc-my-reader-card p {
  margin: 6px 0 0;
  color: #715b50;
}

.cbcc-my-reader {
  position: relative;
  width: 120px;
  height: 150px;
  animation: cbccMyFloat 5s ease-in-out infinite;
}

.cbcc-my-reader-hair {
  position: absolute;
  left: 31px;
  top: 4px;
  width: 62px;
  height: 60px;
  border-radius: 50%;
  background: #2f1d18;
  box-shadow: -13px 8px 0 #2f1d18, 13px 8px 0 #2f1d18;
}

.cbcc-my-reader-face {
  position: absolute;
  left: 41px;
  top: 34px;
  width: 44px;
  height: 52px;
  border-radius: 45%;
  background: linear-gradient(180deg,#b97955,#9f6348);
}

.cbcc-my-reader-book {
  position: absolute;
  left: 22px;
  bottom: 8px;
  width: 82px;
  height: 54px;
  border-radius: 12px;
  background: linear-gradient(90deg,#fff8dd 0 48%,#f4ddaf 49% 100%);
  box-shadow: 0 12px 30px rgba(121,88,66,.18);
}

.cbcc-my-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0,1fr));
  gap: 10px;
}

.cbcc-my-stats article {
  padding: 14px;
  border-radius: 22px;
  background: rgba(255,255,255,.58);
}

.cbcc-my-stats span {
  display: block;
  color: #8b6a5c;
  font-size: 12px;
  font-weight: 900;
}

.cbcc-my-stats strong {
  display: block;
  margin-top: 6px;
  color: #3f2f27;
}

.cbcc-my-top-pick {
  padding: 16px;
  border-radius: 28px;
  background: rgba(255,255,255,.58);
}

.cbcc-my-top-pick > span {
  display: block;
  margin-bottom: 10px;
  color: #9b6d57;
  text-transform: uppercase;
  letter-spacing: .08em;
  font-size: 12px;
  font-weight: 900;
}

.cbcc-my-top-pick a {
  display: grid;
  grid-template-columns: 86px 1fr;
  gap: 14px;
  color: inherit;
  text-decoration: none;
  align-items: center;
}

.cbcc-my-cover {
  display: block;
  width: 86px;
  height: 116px;
  border-radius: 18px;
  background-size: cover;
  background-position: center;
  box-shadow: 0 16px 34px rgba(121,88,66,.16);
}

.cbcc-my-cover-fallback {
  background: linear-gradient(135deg,#f8cfd8,#fff1c8,#ccefed);
}

.cbcc-my-top-pick small {
  display: inline-flex;
  margin-top: 8px;
  padding: 7px 10px;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(248,207,216,.9), rgba(255,241,200,.9));
  color: #765642;
  font-weight: 900;
}

.cbcc-my-mood-panel {
  max-width: 1180px;
  margin: 0 auto 36px;
  padding: 22px;
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
}

.cbcc-my-mood-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.cbcc-my-mood-buttons button {
  border: 1px solid rgba(121,88,66,.1);
  border-radius: 999px;
  padding: 11px 14px;
  background: rgba(255,255,255,.72);
  color: #765642;
  cursor: pointer;
  font-weight: 900;
  transition: transform .2s ease, background .2s ease;
}

.cbcc-my-mood-buttons button:hover,
.cbcc-my-mood-buttons button.is-active {
  transform: translateY(-2px);
  background: linear-gradient(135deg,#f8cfd8,#fff1c8);
}

.cbcc-my-section {
  max-width: 1240px;
  margin: 0 auto 38px;
  padding: 0 28px;
}

.cbcc-my-section-head {
  margin-bottom: 18px;
}

.cbcc-my-section-head h2 {
  margin: 0;
  color: #382a24;
  font-size: clamp(34px, 5vw, 56px);
  line-height: 1;
}

.cbcc-my-space .cbcc-netflix-feed,
.cbcc-my-space .cbcc-ai-chat,
.cbcc-my-space .cbcc-taste-quiz {
  border-radius: 34px;
  box-shadow: 0 24px 70px rgba(121,88,66,.08);
}

.cbcc-my-space-login {
  padding: 80px 24px;
  background: linear-gradient(180deg,#fff8ee,#fff0f4);
  border-radius: 34px;
}

.cbcc-my-space-login div {
  max-width: 720px;
  margin: 0 auto;
  padding: 34px;
  background: rgba(255,255,255,.74);
  border-radius: 32px;
  box-shadow: 0 24px 70px rgba(121,88,66,.12);
}

.cbcc-my-space-login span {
  color: #9b6d57;
  text-transform: uppercase;
  letter-spacing: .1em;
  font-size: 12px;
  font-weight: 900;
}

.cbcc-my-space-login h2 {
  margin: 10px 0;
  font-size: clamp(34px,5vw,56px);
  line-height: 1;
}

.cbcc-my-space-login p {
  color: #715b50;
  line-height: 1.65;
}

.cbcc-my-space-login a {
  display: inline-flex;
  margin-top: 14px;
  padding: 13px 18px;
  border-radius: 999px;
  background: linear-gradient(135deg,#c7a27c,#d8a5b7);
  color: #fff;
  text-decoration: none;
  font-weight: 900;
}

@keyframes cbccMyGlow {
  0%,100%{transform:scale(1);opacity:.8}
  50%{transform:scale(1.08);opacity:1}
}

@keyframes cbccMyWater {
  0%,100%{transform:translateY(0) scaleX(1)}
  50%{transform:translateY(-8px) scaleX(1.03)}
}

@keyframes cbccMyLight {
  0%,100%{opacity:.6}
  50%{opacity:1}
}

@keyframes cbccMyLeaf {
  0%,100%{transform:rotate(-2deg)}
  50%{transform:rotate(3deg)}
}

@keyframes cbccMyFloat {
  0%,100%{transform:translateY(0)}
  50%{transform:translateY(-7px)}
}

@media(max-width:980px){
  .cbcc-my-hero{grid-template-columns:1fr}
  .cbcc-my-stats{grid-template-columns:repeat(2,1fr)}
  .cbcc-my-mood-panel{flex-direction:column;align-items:flex-start}
}

@media(max-width:640px){
  .cbcc-my-reader-card,.cbcc-my-top-pick a{grid-template-columns:1fr}
  .cbcc-my-stats{grid-template-columns:1fr}
  .cbcc-my-welcome{padding:26px}
}


/* v6.2.4 My Space Theme Personalization */
.cbcc-my-space[data-theme="sunset_coast"] {
  background:
    radial-gradient(circle at 16% 10%, rgba(255,211,176,.72), transparent 30%),
    radial-gradient(circle at 82% 14%, rgba(248,207,216,.68), transparent 28%),
    linear-gradient(180deg, #fff0e6 0%, #d7f4f4 48%, #fff0f4 100%);
}

.cbcc-my-space[data-theme="rainy_cafe"] {
  background:
    radial-gradient(circle at 20% 12%, rgba(255,238,198,.48), transparent 26%),
    radial-gradient(circle at 82% 8%, rgba(160,190,205,.45), transparent 30%),
    linear-gradient(180deg, #e9edf0 0%, #dce8ea 46%, #fff4e8 100%);
}

.cbcc-my-space[data-theme="lavender_garden"] {
  background:
    radial-gradient(circle at 18% 12%, rgba(222,211,255,.75), transparent 30%),
    radial-gradient(circle at 84% 12%, rgba(198,232,204,.7), transparent 30%),
    linear-gradient(180deg, #f5efff 0%, #edf8ef 48%, #fff8ee 100%);
}

.cbcc-my-space[data-theme="summer_villa"] {
  background:
    radial-gradient(circle at 18% 10%, rgba(255,245,205,.75), transparent 28%),
    radial-gradient(circle at 85% 16%, rgba(180,230,244,.7), transparent 30%),
    linear-gradient(180deg, #fff8e9 0%, #dff7ff 48%, #fff4e2 100%);
}

.cbcc-my-space[data-theme="moonlit_balcony"] {
  background:
    radial-gradient(circle at 78% 10%, rgba(255,239,183,.38), transparent 22%),
    radial-gradient(circle at 22% 18%, rgba(222,211,255,.42), transparent 30%),
    linear-gradient(180deg, #232444 0%, #3e426e 48%, #fff0f4 100%);
}

.cbcc-my-space[data-theme="moonlit_balcony"] .cbcc-my-welcome,
.cbcc-my-space[data-theme="moonlit_balcony"] .cbcc-my-dashboard,
.cbcc-my-space[data-theme="moonlit_balcony"] .cbcc-my-mood-panel,
.cbcc-my-space[data-theme="moonlit_balcony"] .cbcc-theme-selector {
  background: rgba(255,255,255,.2);
  border-color: rgba(255,255,255,.28);
  color: #fff8ee;
}

.cbcc-my-space[data-theme="moonlit_balcony"] .cbcc-my-welcome h1,
.cbcc-my-space[data-theme="moonlit_balcony"] .cbcc-my-section-head h2,
.cbcc-my-space[data-theme="moonlit_balcony"] .cbcc-theme-selector-head h2 {
  color: #fff8ee;
}

.cbcc-my-space[data-theme="moonlit_balcony"] .cbcc-my-welcome p,
.cbcc-my-space[data-theme="moonlit_balcony"] .cbcc-my-mood-panel p,
.cbcc-my-space[data-theme="moonlit_balcony"] .cbcc-theme-selector-head p {
  color: rgba(255,248,238,.82);
}

.cbcc-theme-selector {
  position: relative;
  z-index: 2;
  max-width: 1180px;
  margin: 0 auto 38px;
  padding: 24px;
  border-radius: 34px;
  background: rgba(255,255,255,.62);
  border: 1px solid rgba(255,255,255,.84);
  box-shadow: 0 24px 70px rgba(121,88,66,.10);
  backdrop-filter: blur(18px);
}

.cbcc-theme-selector-head span {
  display: inline-block;
  color: #9b6d57;
  text-transform: uppercase;
  letter-spacing: .11em;
  font-size: 12px;
  font-weight: 900;
  margin-bottom: 10px;
}

.cbcc-theme-selector-head h2 {
  margin: 0 0 8px;
  color: #382a24;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1;
}

.cbcc-theme-selector-head p {
  margin: 0 0 20px;
  color: #715b50;
  line-height: 1.6;
}

.cbcc-theme-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(150px, 1fr));
  gap: 12px;
}

.cbcc-theme-option {
  text-align: left;
  border: 1px solid rgba(121,88,66,.1);
  border-radius: 24px;
  background: rgba(255,255,255,.7);
  padding: 12px;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.cbcc-theme-option:hover,
.cbcc-theme-option.is-active {
  transform: translateY(-4px);
  box-shadow: 0 18px 42px rgba(121,88,66,.14);
  border-color: rgba(216,165,183,.65);
}

.cbcc-theme-preview {
  display: block;
  width: 100%;
  height: 86px;
  border-radius: 18px;
  margin-bottom: 10px;
  background: linear-gradient(135deg, #ffdcca, #bfeef2, #f8cfd8);
}

.cbcc-theme-preview-sunset_coast {
  background: linear-gradient(135deg, #ffb997, #f8cfd8, #7edbe8);
}

.cbcc-theme-preview-rainy_cafe {
  background: linear-gradient(135deg, #dce8ea, #8fa6b1, #ffe2bd);
}

.cbcc-theme-preview-lavender_garden {
  background: linear-gradient(135deg, #ded3ff, #c8e7cc, #fff8ee);
}

.cbcc-theme-preview-summer_villa {
  background: linear-gradient(135deg, #fff1bf, #bfeeff, #f5d4ac);
}

.cbcc-theme-preview-moonlit_balcony {
  background: linear-gradient(135deg, #232444, #5c6298, #ffd6a5);
}

.cbcc-theme-option strong {
  display: block;
  color: #3f2f27;
  font-size: 15px;
}

.cbcc-theme-option small {
  display: block;
  margin-top: 5px;
  color: #80675a;
  line-height: 1.35;
}

.cbcc-theme-status {
  margin-top: 14px;
  color: #765642;
  font-weight: 900;
}

@media(max-width: 1020px) {
  .cbcc-theme-grid {
    grid-template-columns: repeat(2, minmax(160px, 1fr));
  }
}

@media(max-width: 620px) {
  .cbcc-theme-grid {
    grid-template-columns: 1fr;
  }
}


/* v6.2.5 My Space Reading Analytics */
.cbcc-reading-analytics {
  position: relative;
  z-index: 2;
  max-width: 1180px;
  margin: 0 auto 38px;
  padding: 0 28px;
}

.cbcc-analytics-head {
  margin-bottom: 18px;
}

.cbcc-analytics-head span,
.cbcc-analytics-card > span,
.cbcc-panel-head span {
  display: inline-block;
  color: #9b6d57;
  text-transform: uppercase;
  letter-spacing: .11em;
  font-size: 12px;
  font-weight: 900;
  margin-bottom: 8px;
}

.cbcc-analytics-head h2 {
  margin: 0 0 10px;
  color: #382a24;
  font-size: clamp(34px, 5vw, 56px);
  line-height: 1;
}

.cbcc-analytics-head p,
.cbcc-panel-head p {
  max-width: 760px;
  color: #715b50;
  line-height: 1.65;
}

.cbcc-analytics-grid {
  display: grid;
  grid-template-columns: 1.25fr repeat(3, 1fr);
  gap: 14px;
  margin-bottom: 16px;
}

.cbcc-analytics-card,
.cbcc-analytics-panel {
  background: rgba(255,255,255,.64);
  border: 1px solid rgba(255,255,255,.86);
  border-radius: 28px;
  box-shadow: 0 20px 56px rgba(121,88,66,.10);
  backdrop-filter: blur(18px);
}

.cbcc-analytics-card {
  padding: 20px;
}

.cbcc-personality-card {
  background: linear-gradient(135deg, rgba(248,207,216,.72), rgba(255,241,200,.58), rgba(191,238,242,.55));
}

.cbcc-analytics-card strong {
  display: block;
  color: #382a24;
  font-size: 24px;
  line-height: 1.05;
}

.cbcc-analytics-card p {
  color: #715b50;
  line-height: 1.5;
  margin: 10px 0 0;
}

.cbcc-analytics-panels {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 16px;
  margin-bottom: 16px;
}

.cbcc-analytics-panel {
  padding: 22px;
}

.cbcc-panel-head h3 {
  margin: 0 0 14px;
  color: #382a24;
  font-size: 26px;
  line-height: 1.1;
}

.cbcc-bars {
  display: grid;
  gap: 14px;
}

.cbcc-bar-label {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 7px;
  color: #4a382f;
}

.cbcc-bar-label strong,
.cbcc-bar-label span {
  font-weight: 900;
}

.cbcc-bar-track {
  height: 12px;
  border-radius: 999px;
  background: rgba(121,88,66,.10);
  overflow: hidden;
}

.cbcc-bar-track span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #c7a27c, #d8a5b7, #bfeef2);
  box-shadow: 0 0 18px rgba(216,165,183,.25);
}

.cbcc-emotion-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.cbcc-emotion-grid article {
  padding: 14px;
  border-radius: 22px;
  background: rgba(255,255,255,.55);
}

.cbcc-emotion-grid span,
.cbcc-emotion-grid strong {
  display: block;
}

.cbcc-emotion-grid span {
  color: #80675a;
  font-weight: 900;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .06em;
}

.cbcc-emotion-grid strong {
  color: #382a24;
  margin: 8px 0;
  font-size: 24px;
}

.cbcc-mini-meter {
  height: 9px;
  border-radius: 999px;
  background: rgba(121,88,66,.10);
  overflow: hidden;
}

.cbcc-mini-meter i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #f8cfd8, #fff1c8);
}

.cbcc-history-panel {
  margin-bottom: 10px;
}

.cbcc-history-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(140px, 1fr));
  gap: 12px;
}

.cbcc-history-grid article {
  padding: 12px;
  border-radius: 22px;
  background: rgba(255,255,255,.55);
}

.cbcc-history-cover {
  display: block;
  height: 130px;
  border-radius: 18px;
  margin-bottom: 10px;
  background-size: cover;
  background-position: center;
}

.cbcc-history-cover-fallback {
  background: linear-gradient(135deg, #f8cfd8, #fff1c8, #bfeef2);
}

.cbcc-history-grid strong,
.cbcc-history-grid small {
  display: block;
}

.cbcc-history-grid strong {
  color: #382a24;
  line-height: 1.2;
}

.cbcc-history-grid small {
  margin-top: 7px;
  color: #765642;
  font-weight: 900;
}

.cbcc-my-space[data-theme="moonlit_balcony"] .cbcc-analytics-head h2,
.cbcc-my-space[data-theme="moonlit_balcony"] .cbcc-panel-head h3,
.cbcc-my-space[data-theme="moonlit_balcony"] .cbcc-analytics-card strong,
.cbcc-my-space[data-theme="moonlit_balcony"] .cbcc-emotion-grid strong,
.cbcc-my-space[data-theme="moonlit_balcony"] .cbcc-history-grid strong {
  color: #fff8ee;
}

.cbcc-my-space[data-theme="moonlit_balcony"] .cbcc-analytics-head p,
.cbcc-my-space[data-theme="moonlit_balcony"] .cbcc-analytics-card p,
.cbcc-my-space[data-theme="moonlit_balcony"] .cbcc-panel-head p {
  color: rgba(255,248,238,.82);
}

.cbcc-my-space[data-theme="moonlit_balcony"] .cbcc-analytics-card,
.cbcc-my-space[data-theme="moonlit_balcony"] .cbcc-analytics-panel {
  background: rgba(255,255,255,.18);
  border-color: rgba(255,255,255,.26);
}

@media(max-width: 980px) {
  .cbcc-analytics-grid,
  .cbcc-analytics-panels {
    grid-template-columns: 1fr;
  }

  .cbcc-history-grid {
    grid-template-columns: repeat(2, minmax(140px, 1fr));
  }
}

@media(max-width: 620px) {
  .cbcc-history-grid,
  .cbcc-emotion-grid {
    grid-template-columns: 1fr;
  }
}


/* v6.2.6 Save/Favorite Books from My Space */
.cbcc-save-book-btn{width:100%;margin-top:10px;border:1px solid rgba(121,88,66,.12);border-radius:999px;padding:10px 12px;background:rgba(255,255,255,.75);color:#765642;font-weight:900;cursor:pointer;transition:transform .2s ease,background .2s ease,box-shadow .2s ease}
.cbcc-save-book-btn:hover{transform:translateY(-2px);background:#fff0f4;box-shadow:0 12px 26px rgba(121,88,66,.12)}
.cbcc-save-book-btn.is-saved{background:linear-gradient(135deg,#f8cfd8,#fff1c8);color:#6e4f3f}
.cbcc-saved-books{position:relative;z-index:2;max-width:1180px;margin:0 auto 38px;padding:0 28px}
.cbcc-saved-head{margin-bottom:18px}.cbcc-saved-head span{display:inline-block;color:#9b6d57;text-transform:uppercase;letter-spacing:.11em;font-size:12px;font-weight:900;margin-bottom:8px}
.cbcc-saved-head h2{margin:0 0 10px;color:#382a24;font-size:clamp(34px,5vw,56px);line-height:1}.cbcc-saved-head p,.cbcc-saved-empty p{max-width:760px;color:#715b50;line-height:1.65}
.cbcc-saved-empty{padding:22px;border-radius:28px;background:rgba(255,255,255,.64);border:1px solid rgba(255,255,255,.86);box-shadow:0 20px 56px rgba(121,88,66,.10);backdrop-filter:blur(18px)}
.cbcc-saved-grid{display:grid;grid-template-columns:repeat(4,minmax(150px,1fr));gap:14px}.cbcc-saved-card{padding:14px;border-radius:26px;background:rgba(255,255,255,.64);border:1px solid rgba(255,255,255,.86);box-shadow:0 20px 56px rgba(121,88,66,.10);backdrop-filter:blur(18px)}
.cbcc-saved-card a{color:inherit;text-decoration:none}.cbcc-saved-cover{display:block;height:150px;border-radius:20px;margin-bottom:10px;background-size:cover;background-position:center}.cbcc-saved-cover-fallback{background:linear-gradient(135deg,#f8cfd8,#fff1c8,#bfeef2)}
.cbcc-saved-card strong,.cbcc-saved-card small{display:block}.cbcc-saved-card strong{color:#382a24;line-height:1.2}.cbcc-saved-card small{margin-top:6px;color:#80675a}
.cbcc-my-space[data-theme="moonlit_balcony"] .cbcc-saved-head h2,.cbcc-my-space[data-theme="moonlit_balcony"] .cbcc-saved-card strong{color:#fff8ee}.cbcc-my-space[data-theme="moonlit_balcony"] .cbcc-saved-head p,.cbcc-my-space[data-theme="moonlit_balcony"] .cbcc-saved-empty p{color:rgba(255,248,238,.82)}
.cbcc-my-space[data-theme="moonlit_balcony"] .cbcc-saved-card,.cbcc-my-space[data-theme="moonlit_balcony"] .cbcc-saved-empty{background:rgba(255,255,255,.18);border-color:rgba(255,255,255,.26)}
@media(max-width:980px){.cbcc-saved-grid{grid-template-columns:repeat(2,minmax(150px,1fr))}}@media(max-width:620px){.cbcc-saved-grid{grid-template-columns:1fr}}


/* v6.2.7 Skip / Not Interested Learning Signals */
.cbcc-skip-book-btn{width:100%;margin-top:8px;border:1px solid rgba(121,88,66,.12);border-radius:999px;padding:10px 12px;background:rgba(255,255,255,.62);color:#80675a;font-weight:900;cursor:pointer;transition:transform .2s ease,background .2s ease,box-shadow .2s ease}
.cbcc-skip-book-btn:hover{transform:translateY(-2px);background:#f7eee9;box-shadow:0 12px 26px rgba(121,88,66,.10)}
.cbcc-skip-book-btn.is-skipped{background:linear-gradient(135deg,#ded3ff,#fff1c8);color:#5f4f75}
.cbcc-skipped-books{position:relative;z-index:2;max-width:1180px;margin:0 auto 38px;padding:0 28px}
.cbcc-skipped-head{margin-bottom:18px}.cbcc-skipped-head span{display:inline-block;color:#9b6d57;text-transform:uppercase;letter-spacing:.11em;font-size:12px;font-weight:900;margin-bottom:8px}
.cbcc-skipped-head h2{margin:0 0 10px;color:#382a24;font-size:clamp(30px,4.5vw,48px);line-height:1}.cbcc-skipped-head p,.cbcc-skipped-empty p{max-width:760px;color:#715b50;line-height:1.65}
.cbcc-skipped-empty{padding:22px;border-radius:28px;background:rgba(255,255,255,.54);border:1px solid rgba(255,255,255,.76);box-shadow:0 16px 46px rgba(121,88,66,.08);backdrop-filter:blur(18px)}
.cbcc-skipped-grid{display:grid;grid-template-columns:repeat(4,minmax(150px,1fr));gap:14px}
.cbcc-skipped-card{padding:14px;border-radius:26px;background:rgba(255,255,255,.54);border:1px solid rgba(255,255,255,.76);box-shadow:0 16px 46px rgba(121,88,66,.08);backdrop-filter:blur(18px);opacity:.86}
.cbcc-skipped-card a{color:inherit;text-decoration:none}.cbcc-skipped-cover{display:block;height:130px;border-radius:20px;margin-bottom:10px;background-size:cover;background-position:center;filter:saturate(.75)}
.cbcc-skipped-cover-fallback{background:linear-gradient(135deg,#ded3ff,#fff1c8,#d7edc7)}.cbcc-skipped-card strong,.cbcc-skipped-card small{display:block}.cbcc-skipped-card strong{color:#382a24;line-height:1.2}.cbcc-skipped-card small{margin-top:6px;color:#80675a}
.cbcc-feed-card.is-skipped-hidden,.cbcc-rec-card.is-skipped-hidden{display:none!important}
.cbcc-my-space[data-theme="moonlit_balcony"] .cbcc-skipped-head h2,.cbcc-my-space[data-theme="moonlit_balcony"] .cbcc-skipped-card strong{color:#fff8ee}.cbcc-my-space[data-theme="moonlit_balcony"] .cbcc-skipped-head p,.cbcc-my-space[data-theme="moonlit_balcony"] .cbcc-skipped-empty p{color:rgba(255,248,238,.82)}
.cbcc-my-space[data-theme="moonlit_balcony"] .cbcc-skipped-card,.cbcc-my-space[data-theme="moonlit_balcony"] .cbcc-skipped-empty{background:rgba(255,255,255,.15);border-color:rgba(255,255,255,.22)}
@media(max-width:980px){.cbcc-skipped-grid{grid-template-columns:repeat(2,minmax(150px,1fr))}}@media(max-width:620px){.cbcc-skipped-grid{grid-template-columns:1fr}}


/* v6.2.8 Reading Status System */
.cbcc-status-control{position:relative;margin-top:8px}.cbcc-status-trigger{width:100%;border:1px solid rgba(121,88,66,.12);border-radius:999px;padding:10px 12px;background:rgba(255,255,255,.72);color:#765642;font-weight:900;cursor:pointer}.cbcc-status-trigger.has-status{background:linear-gradient(135deg,#bfeef2,#fff1c8);color:#5a5a45}.cbcc-status-menu{display:none;position:absolute;left:0;right:0;top:calc(100% + 6px);z-index:30;padding:8px;border-radius:18px;background:rgba(255,255,255,.94);box-shadow:0 16px 40px rgba(121,88,66,.18);backdrop-filter:blur(16px)}.cbcc-status-control.is-open .cbcc-status-menu{display:grid;gap:6px}.cbcc-status-menu button{border:0;border-radius:12px;padding:9px 10px;background:transparent;color:#765642;text-align:left;font-weight:800;cursor:pointer}.cbcc-status-menu button:hover,.cbcc-status-menu button.is-active{background:#fff0f4}
.cbcc-reading-shelves{position:relative;z-index:2;max-width:1180px;margin:0 auto 38px;padding:0 28px}.cbcc-shelves-head{margin-bottom:18px}.cbcc-shelves-head span{display:inline-block;color:#9b6d57;text-transform:uppercase;letter-spacing:.11em;font-size:12px;font-weight:900;margin-bottom:8px}.cbcc-shelves-head h2{margin:0 0 10px;color:#382a24;font-size:clamp(34px,5vw,56px);line-height:1}.cbcc-shelves-head p{max-width:760px;color:#715b50;line-height:1.65}.cbcc-shelves-counts{display:grid;grid-template-columns:repeat(4,minmax(130px,1fr));gap:12px;margin-bottom:16px}.cbcc-shelves-counts article{padding:16px;border-radius:24px;background:rgba(255,255,255,.64);border:1px solid rgba(255,255,255,.86);box-shadow:0 16px 42px rgba(121,88,66,.08);backdrop-filter:blur(18px)}.cbcc-shelves-counts span{display:block;color:#80675a;font-weight:900;font-size:12px;text-transform:uppercase;letter-spacing:.06em}.cbcc-shelves-counts strong{display:block;margin-top:8px;color:#382a24;font-size:28px}.cbcc-shelves-tabs{display:flex;flex-wrap:wrap;gap:10px;margin-bottom:16px}.cbcc-shelves-tabs button{border:1px solid rgba(121,88,66,.12);border-radius:999px;padding:11px 14px;background:rgba(255,255,255,.68);color:#765642;font-weight:900;cursor:pointer}.cbcc-shelves-tabs button.is-active{background:linear-gradient(135deg,#f8cfd8,#fff1c8)}.cbcc-shelf-panel{display:none}.cbcc-shelf-panel.is-active{display:block}.cbcc-shelf-empty{padding:20px;border-radius:24px;background:rgba(255,255,255,.58);border:1px solid rgba(255,255,255,.76);color:#715b50}.cbcc-shelf-grid{display:grid;grid-template-columns:repeat(4,minmax(150px,1fr));gap:14px}.cbcc-shelf-card{padding:14px;border-radius:26px;background:rgba(255,255,255,.64);border:1px solid rgba(255,255,255,.86);box-shadow:0 20px 56px rgba(121,88,66,.10);backdrop-filter:blur(18px)}.cbcc-shelf-card a{color:inherit;text-decoration:none}.cbcc-status-cover{display:block;height:150px;border-radius:20px;margin-bottom:10px;background-size:cover;background-position:center}.cbcc-status-cover-fallback{background:linear-gradient(135deg,#f8cfd8,#fff1c8,#bfeef2)}.cbcc-shelf-card strong,.cbcc-shelf-card small{display:block}.cbcc-shelf-card strong{color:#382a24;line-height:1.2}.cbcc-shelf-card small{margin-top:6px;color:#80675a}@media(max-width:980px){.cbcc-shelves-counts,.cbcc-shelf-grid{grid-template-columns:repeat(2,minmax(150px,1fr))}}@media(max-width:620px){.cbcc-shelves-counts,.cbcc-shelf-grid{grid-template-columns:1fr}}


/* v6.2.9 Reading Notes + Private Mini Reviews */
.cbcc-note-book-btn{width:100%;margin-top:8px;border:1px solid rgba(121,88,66,.12);border-radius:999px;padding:10px 12px;background:rgba(255,255,255,.72);color:#765642;font-weight:900;cursor:pointer;transition:transform .2s ease,background .2s ease}
.cbcc-note-book-btn:hover{transform:translateY(-2px);background:#fff0f4}.cbcc-note-book-btn.has-note{background:linear-gradient(135deg,#fff1c8,#bfeef2)}
.cbcc-reading-notes{position:relative;z-index:2;max-width:1180px;margin:0 auto 38px;padding:0 28px}.cbcc-notes-head{margin-bottom:18px}.cbcc-notes-head span{display:inline-block;color:#9b6d57;text-transform:uppercase;letter-spacing:.11em;font-size:12px;font-weight:900;margin-bottom:8px}
.cbcc-notes-head h2{margin:0 0 10px;color:#382a24;font-size:clamp(34px,5vw,56px);line-height:1}.cbcc-notes-head p,.cbcc-notes-empty p{max-width:760px;color:#715b50;line-height:1.65}
.cbcc-notes-empty{padding:22px;border-radius:28px;background:rgba(255,255,255,.64);border:1px solid rgba(255,255,255,.86);box-shadow:0 20px 56px rgba(121,88,66,.10);backdrop-filter:blur(18px)}
.cbcc-notes-grid{display:grid;grid-template-columns:repeat(4,minmax(150px,1fr));gap:14px}.cbcc-note-card{padding:14px;border-radius:26px;background:rgba(255,255,255,.64);border:1px solid rgba(255,255,255,.86);box-shadow:0 20px 56px rgba(121,88,66,.10);backdrop-filter:blur(18px)}
.cbcc-note-card a{color:inherit;text-decoration:none}.cbcc-note-cover{display:block;height:150px;border-radius:20px;margin-bottom:10px;background-size:cover;background-position:center}.cbcc-note-cover-fallback{background:linear-gradient(135deg,#fff1c8,#bfeef2,#f8cfd8)}
.cbcc-note-card strong{display:block;color:#382a24;line-height:1.2}.cbcc-note-meta{display:flex;flex-wrap:wrap;gap:6px;margin:8px 0}.cbcc-note-meta span{display:inline-flex;padding:6px 8px;border-radius:999px;background:rgba(255,255,255,.72);color:#765642;font-size:12px;font-weight:900}.cbcc-note-card p{color:#715b50;line-height:1.45;font-size:13px}
.cbcc-notes-modal[hidden]{display:none}.cbcc-notes-modal{position:fixed;inset:0;z-index:99999;display:grid;place-items:center;padding:22px}.cbcc-notes-backdrop{position:absolute;inset:0;background:rgba(48,36,31,.36);backdrop-filter:blur(8px)}
.cbcc-notes-dialog{position:relative;width:min(620px,100%);max-height:90vh;overflow:auto;padding:26px;border-radius:32px;background:rgba(255,255,255,.92);box-shadow:0 30px 100px rgba(0,0,0,.22);border:1px solid rgba(255,255,255,.9)}
.cbcc-notes-close{position:absolute;top:14px;right:14px;width:36px;height:36px;border:0;border-radius:50%;background:#fff0f4;color:#765642;font-size:24px;cursor:pointer}.cbcc-notes-dialog>span{display:inline-block;color:#9b6d57;text-transform:uppercase;letter-spacing:.1em;font-size:12px;font-weight:900;margin-bottom:8px}
.cbcc-notes-dialog h2{margin:0 0 18px;color:#382a24;font-size:34px;line-height:1}.cbcc-notes-dialog label{display:block;margin-bottom:14px;color:#765642;font-weight:900}.cbcc-notes-dialog select,.cbcc-notes-dialog textarea{display:block;width:100%;margin-top:7px;border:1px solid rgba(121,88,66,.14);border-radius:18px;padding:12px;background:#fff;color:#382a24;box-sizing:border-box}
.cbcc-notes-actions{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.cbcc-save-note-btn{border:0;border-radius:999px;padding:13px 18px;background:linear-gradient(135deg,#c7a27c,#d8a5b7);color:#fff;font-weight:900;cursor:pointer}.cbcc-notes-actions small{color:#765642;font-weight:800}
@media(max-width:980px){.cbcc-notes-grid{grid-template-columns:repeat(2,minmax(150px,1fr))}}@media(max-width:620px){.cbcc-notes-grid{grid-template-columns:1fr}}


/* v6.3.0 Reading Journal Timeline */
.cbcc-reading-journal {
  position: relative;
  z-index: 2;
  max-width: 1180px;
  margin: 0 auto 38px;
  padding: 0 28px;
}

.cbcc-journal-head {
  margin-bottom: 18px;
}

.cbcc-journal-head span {
  display: inline-block;
  color: #9b6d57;
  text-transform: uppercase;
  letter-spacing: .11em;
  font-size: 12px;
  font-weight: 900;
  margin-bottom: 8px;
}

.cbcc-journal-head h2 {
  margin: 0 0 10px;
  color: #382a24;
  font-size: clamp(34px,5vw,56px);
  line-height: 1;
}

.cbcc-journal-head p,
.cbcc-journal-empty p {
  max-width: 760px;
  color: #715b50;
  line-height: 1.65;
}

.cbcc-journal-summary {
  display: grid;
  grid-template-columns: repeat(5, minmax(120px, 1fr));
  gap: 12px;
  margin-bottom: 16px;
}

.cbcc-journal-summary article {
  padding: 16px;
  border-radius: 24px;
  background: rgba(255,255,255,.64);
  border: 1px solid rgba(255,255,255,.86);
  box-shadow: 0 16px 42px rgba(121,88,66,.08);
  backdrop-filter: blur(18px);
}

.cbcc-journal-summary span {
  display: block;
  color: #80675a;
  font-weight: 900;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .06em;
}

.cbcc-journal-summary strong {
  display: block;
  margin-top: 8px;
  color: #382a24;
  font-size: 28px;
}

.cbcc-journal-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 18px;
}

.cbcc-journal-filters button {
  border: 1px solid rgba(121,88,66,.12);
  border-radius: 999px;
  padding: 11px 14px;
  background: rgba(255,255,255,.68);
  color: #765642;
  font-weight: 900;
  cursor: pointer;
}

.cbcc-journal-filters button.is-active {
  background: linear-gradient(135deg,#f8cfd8,#fff1c8);
}

.cbcc-journal-empty {
  padding: 22px;
  border-radius: 28px;
  background: rgba(255,255,255,.64);
  border: 1px solid rgba(255,255,255,.86);
  box-shadow: 0 20px 56px rgba(121,88,66,.10);
  backdrop-filter: blur(18px);
}

.cbcc-journal-timeline {
  position: relative;
  display: grid;
  gap: 14px;
}

.cbcc-journal-timeline:before {
  content: "";
  position: absolute;
  left: 24px;
  top: 10px;
  bottom: 10px;
  width: 2px;
  border-radius: 999px;
  background: linear-gradient(180deg,#f8cfd8,#fff1c8,#bfeef2);
}

.cbcc-journal-item {
  position: relative;
  display: grid;
  grid-template-columns: 48px 76px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  padding: 16px;
  border-radius: 28px;
  background: rgba(255,255,255,.64);
  border: 1px solid rgba(255,255,255,.86);
  box-shadow: 0 20px 56px rgba(121,88,66,.10);
  backdrop-filter: blur(18px);
}

.cbcc-journal-item.is-hidden {
  display: none;
}

.cbcc-journal-icon {
  position: relative;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg,#f8cfd8,#fff1c8);
  color: #765642;
  font-weight: 900;
  box-shadow: 0 10px 24px rgba(121,88,66,.12);
}

.cbcc-journal-cover {
  display: block;
  width: 76px;
  height: 100px;
  border-radius: 18px;
  background-size: cover;
  background-position: center;
  box-shadow: 0 12px 26px rgba(121,88,66,.14);
}

.cbcc-journal-cover-fallback {
  background: linear-gradient(135deg,#f8cfd8,#fff1c8,#bfeef2);
}

.cbcc-journal-copy {
  min-width: 0;
}

.cbcc-journal-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin-bottom: 6px;
}

.cbcc-journal-meta span,
.cbcc-journal-meta time {
  display: inline-flex;
  padding: 6px 9px;
  border-radius: 999px;
  background: rgba(255,255,255,.72);
  color: #765642;
  font-size: 12px;
  font-weight: 900;
}

.cbcc-journal-copy h3 {
  margin: 0 0 6px;
  font-size: 21px;
  line-height: 1.15;
}

.cbcc-journal-copy h3 a {
  color: #382a24;
  text-decoration: none;
}

.cbcc-journal-copy p {
  margin: 0;
  color: #715b50;
  line-height: 1.5;
}

.cbcc-my-space[data-theme="moonlit_balcony"] .cbcc-journal-head h2,
.cbcc-my-space[data-theme="moonlit_balcony"] .cbcc-journal-summary strong,
.cbcc-my-space[data-theme="moonlit_balcony"] .cbcc-journal-copy h3 a {
  color: #fff8ee;
}

.cbcc-my-space[data-theme="moonlit_balcony"] .cbcc-journal-head p,
.cbcc-my-space[data-theme="moonlit_balcony"] .cbcc-journal-copy p,
.cbcc-my-space[data-theme="moonlit_balcony"] .cbcc-journal-empty p {
  color: rgba(255,248,238,.82);
}

.cbcc-my-space[data-theme="moonlit_balcony"] .cbcc-journal-summary article,
.cbcc-my-space[data-theme="moonlit_balcony"] .cbcc-journal-item,
.cbcc-my-space[data-theme="moonlit_balcony"] .cbcc-journal-empty {
  background: rgba(255,255,255,.16);
  border-color: rgba(255,255,255,.24);
}

@media(max-width: 980px) {
  .cbcc-journal-summary {
    grid-template-columns: repeat(2, minmax(120px,1fr));
  }
}

@media(max-width: 620px) {
  .cbcc-journal-summary {
    grid-template-columns: 1fr;
  }

  .cbcc-journal-item {
    grid-template-columns: 42px 1fr;
  }

  .cbcc-journal-book {
    display: none;
  }

  .cbcc-journal-timeline:before {
    left: 21px;
  }
}


/* v6.3.1 Reader Goals + Streaks */
.cbcc-reader-goals {
  position: relative;
  z-index: 2;
  max-width: 1180px;
  margin: 0 auto 38px;
  padding: 0 28px;
}

.cbcc-goals-head {
  margin-bottom: 18px;
}

.cbcc-goals-head span,
.cbcc-goal-card > span {
  display: inline-block;
  color: #9b6d57;
  text-transform: uppercase;
  letter-spacing: .11em;
  font-size: 12px;
  font-weight: 900;
  margin-bottom: 8px;
}

.cbcc-goals-head h2 {
  margin: 0 0 10px;
  color: #382a24;
  font-size: clamp(34px,5vw,56px);
  line-height: 1;
}

.cbcc-goals-head p {
  max-width: 760px;
  color: #715b50;
  line-height: 1.65;
}

.cbcc-goals-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 14px;
  margin-bottom: 16px;
}

.cbcc-goal-card,
.cbcc-goal-form {
  background: rgba(255,255,255,.64);
  border: 1px solid rgba(255,255,255,.86);
  border-radius: 28px;
  box-shadow: 0 20px 56px rgba(121,88,66,.10);
  backdrop-filter: blur(18px);
}

.cbcc-goal-card {
  padding: 20px;
}

.cbcc-goal-main {
  background: linear-gradient(135deg, rgba(248,207,216,.72), rgba(255,241,200,.58), rgba(191,238,242,.55));
}

.cbcc-goal-card strong {
  display: block;
  color: #382a24;
  font-size: 34px;
  line-height: 1;
  margin-bottom: 14px;
}

.cbcc-goal-card small {
  display: block;
  color: #715b50;
  line-height: 1.45;
  font-weight: 800;
}

.cbcc-goal-track {
  height: 14px;
  border-radius: 999px;
  background: rgba(121,88,66,.12);
  overflow: hidden;
  margin-bottom: 10px;
}

.cbcc-goal-track i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #c7a27c, #d8a5b7, #bfeef2);
  box-shadow: 0 0 18px rgba(216,165,183,.25);
}

.cbcc-goal-form {
  padding: 20px;
  display: grid;
  grid-template-columns: repeat(2, minmax(160px, 1fr)) auto minmax(160px, .8fr);
  gap: 12px;
  align-items: end;
}

.cbcc-goal-form label {
  display: block;
  color: #765642;
  font-weight: 900;
  margin-bottom: 6px;
}

.cbcc-goal-form input {
  width: 100%;
  border: 1px solid rgba(121,88,66,.14);
  border-radius: 18px;
  padding: 12px;
  background: rgba(255,255,255,.82);
  color: #382a24;
  box-sizing: border-box;
}

.cbcc-goal-form button {
  border: 0;
  border-radius: 999px;
  padding: 13px 18px;
  background: linear-gradient(135deg,#c7a27c,#d8a5b7);
  color: #fff;
  font-weight: 900;
  cursor: pointer;
  box-shadow: 0 14px 32px rgba(199,162,124,.24);
}

.cbcc-goal-status {
  color: #765642;
  font-weight: 900;
}

.cbcc-my-space[data-theme="moonlit_balcony"] .cbcc-goals-head h2,
.cbcc-my-space[data-theme="moonlit_balcony"] .cbcc-goal-card strong {
  color: #fff8ee;
}

.cbcc-my-space[data-theme="moonlit_balcony"] .cbcc-goals-head p,
.cbcc-my-space[data-theme="moonlit_balcony"] .cbcc-goal-card small {
  color: rgba(255,248,238,.82);
}

.cbcc-my-space[data-theme="moonlit_balcony"] .cbcc-goal-card,
.cbcc-my-space[data-theme="moonlit_balcony"] .cbcc-goal-form {
  background: rgba(255,255,255,.16);
  border-color: rgba(255,255,255,.24);
}

@media(max-width: 980px) {
  .cbcc-goals-grid,
  .cbcc-goal-form {
    grid-template-columns: 1fr;
  }
}


/* v6.3.2 My Space Dashboard Cleanup + Section Toggles */
.cbcc-my-space .cbcc-disabled {
  margin: 0 auto 28px;
  max-width: 1180px;
}

.cbcc-my-space [hidden] {
  display: none !important;
}

.cbcc-my-space .cbcc-my-section,
.cbcc-my-space .cbcc-reader-goals,
.cbcc-my-space .cbcc-saved-books,
.cbcc-my-space .cbcc-skipped-books,
.cbcc-my-space .cbcc-reading-shelves,
.cbcc-my-space .cbcc-reading-notes,
.cbcc-my-space .cbcc-reading-journal,
.cbcc-my-space .cbcc-reading-analytics,
.cbcc-my-space .cbcc-theme-selector {
  scroll-margin-top: 40px;
}


/* v6.3.3 Dashboard Order + Layout Controls */
.cbcc-my-space[data-layout-mode="compact"] .cbcc-my-hero {
  padding-top: 70px;
  padding-bottom: 34px;
}

.cbcc-my-space[data-layout-mode="compact"] .cbcc-my-welcome,
.cbcc-my-space[data-layout-mode="compact"] .cbcc-my-dashboard,
.cbcc-my-space[data-layout-mode="compact"] .cbcc-theme-selector,
.cbcc-my-space[data-layout-mode="compact"] .cbcc-reader-goals,
.cbcc-my-space[data-layout-mode="compact"] .cbcc-saved-books,
.cbcc-my-space[data-layout-mode="compact"] .cbcc-skipped-books,
.cbcc-my-space[data-layout-mode="compact"] .cbcc-reading-shelves,
.cbcc-my-space[data-layout-mode="compact"] .cbcc-reading-notes,
.cbcc-my-space[data-layout-mode="compact"] .cbcc-reading-journal,
.cbcc-my-space[data-layout-mode="compact"] .cbcc-reading-analytics,
.cbcc-my-space[data-layout-mode="compact"] .cbcc-my-section {
  margin-bottom: 24px;
}

.cbcc-my-space[data-layout-mode="compact"] .cbcc-goals-head h2,
.cbcc-my-space[data-layout-mode="compact"] .cbcc-saved-head h2,
.cbcc-my-space[data-layout-mode="compact"] .cbcc-skipped-head h2,
.cbcc-my-space[data-layout-mode="compact"] .cbcc-shelves-head h2,
.cbcc-my-space[data-layout-mode="compact"] .cbcc-notes-head h2,
.cbcc-my-space[data-layout-mode="compact"] .cbcc-journal-head h2,
.cbcc-my-space[data-layout-mode="compact"] .cbcc-analytics-head h2,
.cbcc-my-space[data-layout-mode="compact"] .cbcc-my-section-head h2 {
  font-size: clamp(28px, 4vw, 42px);
}

.cbcc-layout-controls select,
.cbcc-layout-controls input.regular-text {
  max-width: 680px;
  width: 100%;
}

.cbcc-order-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}


/* v6.3.4 Mobile My Space Polish */
.cbcc-mobile-quick-nav {
  display: none;
}

@media (max-width: 980px) {
  .cbcc-my-space {
    border-radius: 24px;
  }

  .cbcc-my-space .cbcc-my-hero {
    padding: 58px 18px 28px;
    gap: 18px;
  }

  .cbcc-my-space .cbcc-my-welcome,
  .cbcc-my-space .cbcc-my-dashboard,
  .cbcc-my-space .cbcc-my-mood-panel,
  .cbcc-my-space .cbcc-theme-selector,
  .cbcc-my-space .cbcc-reader-goals,
  .cbcc-my-space .cbcc-saved-books,
  .cbcc-my-space .cbcc-skipped-books,
  .cbcc-my-space .cbcc-reading-shelves,
  .cbcc-my-space .cbcc-reading-notes,
  .cbcc-my-space .cbcc-reading-journal,
  .cbcc-my-space .cbcc-reading-analytics,
  .cbcc-my-space .cbcc-my-section {
    padding-left: 18px;
    padding-right: 18px;
  }

  .cbcc-my-space .cbcc-my-welcome {
    padding: 24px;
  }

  .cbcc-my-space .cbcc-my-welcome h1 {
    font-size: clamp(38px, 11vw, 58px);
  }

  .cbcc-my-space .cbcc-my-welcome p,
  .cbcc-my-space .cbcc-my-mood-panel p,
  .cbcc-my-space .cbcc-goals-head p,
  .cbcc-my-space .cbcc-saved-head p,
  .cbcc-my-space .cbcc-skipped-head p,
  .cbcc-my-space .cbcc-shelves-head p,
  .cbcc-my-space .cbcc-notes-head p,
  .cbcc-my-space .cbcc-journal-head p,
  .cbcc-my-space .cbcc-analytics-head p {
    font-size: 15px;
    line-height: 1.55;
  }

  .cbcc-my-space .cbcc-my-actions,
  .cbcc-my-space .cbcc-my-mood-buttons,
  .cbcc-my-space .cbcc-shelves-tabs,
  .cbcc-my-space .cbcc-journal-filters {
    overflow-x: auto;
    flex-wrap: nowrap;
    padding-bottom: 6px;
    -webkit-overflow-scrolling: touch;
  }

  .cbcc-my-space .cbcc-my-btn,
  .cbcc-my-space .cbcc-my-mood-buttons button,
  .cbcc-my-space .cbcc-shelves-tabs button,
  .cbcc-my-space .cbcc-journal-filters button {
    white-space: nowrap;
    flex: 0 0 auto;
  }

  .cbcc-my-space .cbcc-my-dashboard {
    padding: 16px;
  }

  .cbcc-my-space .cbcc-my-reader-card {
    grid-template-columns: 86px 1fr;
    padding: 14px;
  }

  .cbcc-my-space .cbcc-my-reader {
    width: 86px;
    height: 112px;
    transform: scale(.8);
    transform-origin: left center;
  }

  .cbcc-my-space .cbcc-my-stats,
  .cbcc-my-space .cbcc-goals-grid,
  .cbcc-my-space .cbcc-goal-form,
  .cbcc-my-space .cbcc-shelves-counts,
  .cbcc-my-space .cbcc-journal-summary,
  .cbcc-my-space .cbcc-analytics-grid,
  .cbcc-my-space .cbcc-analytics-panels {
    grid-template-columns: 1fr;
  }

  .cbcc-my-space .cbcc-theme-grid,
  .cbcc-my-space .cbcc-saved-grid,
  .cbcc-my-space .cbcc-skipped-grid,
  .cbcc-my-space .cbcc-shelf-grid,
  .cbcc-my-space .cbcc-notes-grid,
  .cbcc-my-space .cbcc-history-grid,
  .cbcc-my-space .cbcc-rec-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .cbcc-my-space .cbcc-netflix-feed {
    padding-top: 42px;
    padding-bottom: 48px;
  }

  .cbcc-my-space .cbcc-netflix-hero {
    padding-left: 18px;
    padding-right: 18px;
  }

  .cbcc-my-space .cbcc-netflix-hero h2 {
    font-size: clamp(34px, 10vw, 54px);
  }

  .cbcc-my-space .cbcc-feed-section {
    padding-left: 18px;
  }

  .cbcc-my-space .cbcc-feed-section-head {
    padding-right: 18px;
  }

  .cbcc-my-space .cbcc-feed-carousel {
    gap: 12px;
    padding-right: 18px;
  }

  .cbcc-my-space .cbcc-feed-card {
    flex-basis: 178px;
    min-height: auto;
    padding: 12px;
    border-radius: 22px;
  }

  .cbcc-my-space .cbcc-feed-cover {
    height: 150px;
    border-radius: 18px;
  }

  .cbcc-my-space .cbcc-save-book-btn,
  .cbcc-my-space .cbcc-skip-book-btn,
  .cbcc-my-space .cbcc-note-book-btn,
  .cbcc-my-space .cbcc-status-trigger {
    min-height: 42px;
    padding: 10px 11px;
    font-size: 13px;
  }

  .cbcc-my-space .cbcc-status-menu {
    position: fixed;
    left: 18px;
    right: 18px;
    top: auto;
    bottom: 18px;
    z-index: 100000;
    border-radius: 24px;
    padding: 12px;
  }

  .cbcc-my-space .cbcc-status-menu button {
    min-height: 44px;
    text-align: center;
  }

  .cbcc-my-space .cbcc-ai-chat {
    grid-template-columns: 1fr;
    padding: 42px 18px;
  }

  .cbcc-my-space .cbcc-chat-panel {
    padding: 20px;
  }

  .cbcc-my-space .cbcc-chat-head h2 {
    font-size: clamp(32px, 10vw, 48px);
  }

  .cbcc-my-space .cbcc-chat-log {
    max-height: 300px;
  }

  .cbcc-my-space .cbcc-chat-form {
    flex-direction: column;
  }

  .cbcc-my-space .cbcc-chat-form input,
  .cbcc-my-space .cbcc-chat-form button {
    min-height: 46px;
  }

  .cbcc-my-space .cbcc-notes-modal {
    padding: 12px;
    align-items: end;
  }

  .cbcc-my-space .cbcc-notes-dialog {
    width: 100%;
    max-height: 86vh;
    border-radius: 28px 28px 18px 18px;
    padding: 22px;
  }

  .cbcc-my-space .cbcc-notes-dialog h2 {
    font-size: 28px;
  }

  .cbcc-my-space .cbcc-notes-dialog select,
  .cbcc-my-space .cbcc-notes-dialog textarea {
    min-height: 44px;
  }

  .cbcc-my-space .cbcc-journal-item {
    grid-template-columns: 44px minmax(0, 1fr);
    gap: 12px;
    padding: 14px;
  }

  .cbcc-my-space .cbcc-journal-book {
    display: none;
  }

  .cbcc-my-space .cbcc-journal-timeline:before {
    left: 22px;
  }

  .cbcc-mobile-quick-nav {
    position: sticky;
    top: 0;
    z-index: 50;
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding: 10px 18px;
    background: rgba(255, 248, 238, .78);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(121,88,66,.10);
    -webkit-overflow-scrolling: touch;
  }

  .cbcc-mobile-quick-nav a {
    flex: 0 0 auto;
    text-decoration: none;
    border-radius: 999px;
    padding: 9px 12px;
    background: rgba(255,255,255,.72);
    color: #765642;
    font-size: 13px;
    font-weight: 900;
    border: 1px solid rgba(121,88,66,.08);
  }
}

@media (max-width: 620px) {
  .cbcc-my-space .cbcc-my-hero {
    padding-top: 42px;
  }

  .cbcc-my-space .cbcc-my-welcome,
  .cbcc-my-space .cbcc-my-dashboard,
  .cbcc-my-space .cbcc-theme-selector,
  .cbcc-my-space .cbcc-goal-card,
  .cbcc-my-space .cbcc-goal-form,
  .cbcc-my-space .cbcc-saved-card,
  .cbcc-my-space .cbcc-skipped-card,
  .cbcc-my-space .cbcc-shelf-card,
  .cbcc-my-space .cbcc-note-card,
  .cbcc-my-space .cbcc-analytics-card,
  .cbcc-my-space .cbcc-analytics-panel,
  .cbcc-my-space .cbcc-journal-item {
    border-radius: 22px;
  }

  .cbcc-my-space .cbcc-theme-grid,
  .cbcc-my-space .cbcc-saved-grid,
  .cbcc-my-space .cbcc-skipped-grid,
  .cbcc-my-space .cbcc-shelf-grid,
  .cbcc-my-space .cbcc-notes-grid,
  .cbcc-my-space .cbcc-history-grid,
  .cbcc-my-space .cbcc-rec-grid {
    grid-template-columns: 1fr;
  }

  .cbcc-my-space .cbcc-book-strip {
    grid-template-columns: 1fr;
  }

  .cbcc-my-space .cbcc-my-top-pick a {
    grid-template-columns: 72px 1fr;
  }

  .cbcc-my-space .cbcc-my-cover {
    width: 72px;
    height: 96px;
  }

  .cbcc-my-space .cbcc-feed-card {
    flex-basis: 164px;
  }

  .cbcc-my-space .cbcc-feed-cover {
    height: 138px;
  }

  .cbcc-my-space .cbcc-feed-section-head {
    flex-direction: column;
    align-items: flex-start;
  }

  .cbcc-my-space .cbcc-row-controls {
    width: 100%;
    justify-content: flex-end;
  }

  .cbcc-my-space .cbcc-row-controls button {
    width: 38px;
    height: 38px;
  }

  .cbcc-my-space .cbcc-chat-chips {
    overflow-x: auto;
    flex-wrap: nowrap;
    padding-bottom: 6px;
  }

  .cbcc-my-space .cbcc-chat-chips button {
    flex: 0 0 auto;
    white-space: nowrap;
  }
}


/* v6.3.5 My Space Quick Navigation + Jump Menu */
.cbcc-my-space-nav {
  position: sticky;
  top: 0;
  z-index: 80;
  max-width: 1180px;
  margin: 0 auto;
  padding: 12px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: rgba(255,248,238,.76);
  border: 1px solid rgba(255,255,255,.74);
  border-radius: 0 0 28px 28px;
  backdrop-filter: blur(18px);
  box-shadow: 0 16px 42px rgba(121,88,66,.10);
}

.cbcc-my-space-nav-title {
  display: inline-flex;
  flex-direction: column;
  color: #382a24;
  font-weight: 900;
  line-height: 1.1;
  white-space: nowrap;
}

.cbcc-my-space-nav-title small {
  color: #9b6d57;
  text-transform: uppercase;
  letter-spacing: .08em;
  font-size: 10px;
  margin-bottom: 3px;
}

.cbcc-my-space-nav-toggle {
  display: none;
  border: 0;
  border-radius: 999px;
  padding: 10px 13px;
  background: linear-gradient(135deg,#f8cfd8,#fff1c8);
  color: #765642;
  font-weight: 900;
  cursor: pointer;
}

.cbcc-my-space-nav-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.cbcc-my-space-nav-links a,
.cbcc-back-to-top {
  text-decoration: none;
  border-radius: 999px;
  padding: 9px 12px;
  background: rgba(255,255,255,.72);
  color: #765642;
  font-size: 13px;
  font-weight: 900;
  border: 1px solid rgba(121,88,66,.08);
  transition: transform .2s ease, background .2s ease, box-shadow .2s ease;
}

.cbcc-my-space-nav-links a:hover,
.cbcc-my-space-nav-links a.is-active,
.cbcc-back-to-top:hover {
  transform: translateY(-2px);
  background: linear-gradient(135deg,#f8cfd8,#fff1c8);
  box-shadow: 0 10px 24px rgba(121,88,66,.12);
}

.cbcc-back-to-top {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 100;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
}

.cbcc-back-to-top.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.cbcc-my-space[data-theme="moonlit_balcony"] .cbcc-my-space-nav {
  background: rgba(35,36,68,.58);
  border-color: rgba(255,255,255,.18);
}

.cbcc-my-space[data-theme="moonlit_balcony"] .cbcc-my-space-nav-title {
  color: #fff8ee;
}

.cbcc-my-space[data-theme="moonlit_balcony"] .cbcc-my-space-nav-links a,
.cbcc-my-space[data-theme="moonlit_balcony"] .cbcc-back-to-top {
  background: rgba(255,255,255,.16);
  color: #fff8ee;
  border-color: rgba(255,255,255,.16);
}

@media (max-width: 980px) {
  .cbcc-mobile-quick-nav {
    display: none !important;
  }

  .cbcc-my-space-nav {
    margin: 0 12px;
    padding: 10px 12px;
    border-radius: 0 0 22px 22px;
    align-items: flex-start;
  }

  .cbcc-my-space-nav-toggle {
    display: inline-flex;
  }

  .cbcc-my-space-nav-links {
    position: absolute;
    left: 12px;
    right: 12px;
    top: calc(100% + 8px);
    display: none;
    grid-template-columns: repeat(2, minmax(0,1fr));
    gap: 8px;
    padding: 12px;
    border-radius: 24px;
    background: rgba(255,248,238,.94);
    box-shadow: 0 18px 48px rgba(121,88,66,.16);
    backdrop-filter: blur(18px);
  }

  .cbcc-my-space-nav.is-open .cbcc-my-space-nav-links {
    display: grid;
  }

  .cbcc-my-space-nav-links a {
    text-align: center;
    padding: 11px 10px;
  }

  .cbcc-back-to-top {
    right: 14px;
    bottom: 14px;
    padding: 11px 13px;
  }
}

@media (max-width: 520px) {
  .cbcc-my-space-nav-links {
    grid-template-columns: 1fr;
  }
}


/* v6.3.6 Final My Space UI Cleanup + Performance Polish */
html {
  scroll-behavior: smooth;
}

.cbcc-my-space {
  contain: layout style;
}

.cbcc-my-space *,
.cbcc-my-space *::before,
.cbcc-my-space *::after {
  box-sizing: border-box;
}

.cbcc-my-space :where(button, a, input, select, textarea):focus-visible {
  outline: 3px solid rgba(199,162,124,.55);
  outline-offset: 3px;
}

.cbcc-my-space :where(button, a) {
  -webkit-tap-highlight-color: rgba(199,162,124,.18);
}

.cbcc-my-space .cbcc-my-section,
.cbcc-my-space .cbcc-reader-goals,
.cbcc-my-space .cbcc-saved-books,
.cbcc-my-space .cbcc-skipped-books,
.cbcc-my-space .cbcc-reading-shelves,
.cbcc-my-space .cbcc-reading-notes,
.cbcc-my-space .cbcc-reading-journal,
.cbcc-my-space .cbcc-reading-analytics,
.cbcc-my-space .cbcc-theme-selector {
  margin-bottom: clamp(28px, 4vw, 44px);
}

.cbcc-my-space .cbcc-my-welcome,
.cbcc-my-space .cbcc-my-dashboard,
.cbcc-my-space .cbcc-my-mood-panel,
.cbcc-my-space .cbcc-theme-selector,
.cbcc-my-space .cbcc-goal-card,
.cbcc-my-space .cbcc-goal-form,
.cbcc-my-space .cbcc-saved-card,
.cbcc-my-space .cbcc-skipped-card,
.cbcc-my-space .cbcc-shelf-card,
.cbcc-my-space .cbcc-note-card,
.cbcc-my-space .cbcc-analytics-card,
.cbcc-my-space .cbcc-analytics-panel,
.cbcc-my-space .cbcc-journal-item,
.cbcc-my-space .cbcc-feed-card,
.cbcc-my-space .cbcc-chat-panel,
.cbcc-my-space .cbcc-chat-starters {
  box-shadow: 0 16px 42px rgba(121,88,66,.085);
}

.cbcc-my-space .cbcc-feed-card:hover,
.cbcc-my-space .cbcc-saved-card:hover,
.cbcc-my-space .cbcc-shelf-card:hover,
.cbcc-my-space .cbcc-note-card:hover,
.cbcc-my-space .cbcc-journal-item:hover {
  box-shadow: 0 22px 56px rgba(121,88,66,.12);
}

.cbcc-my-space .cbcc-disabled {
  padding: 18px 20px;
  border-radius: 22px;
  background: rgba(255,255,255,.72);
  border: 1px solid rgba(121,88,66,.12);
  color: #765642;
  box-shadow: 0 12px 34px rgba(121,88,66,.08);
}

.cbcc-my-space .cbcc-my-section-head,
.cbcc-my-space .cbcc-goals-head,
.cbcc-my-space .cbcc-saved-head,
.cbcc-my-space .cbcc-skipped-head,
.cbcc-my-space .cbcc-shelves-head,
.cbcc-my-space .cbcc-notes-head,
.cbcc-my-space .cbcc-journal-head,
.cbcc-my-space .cbcc-analytics-head {
  max-width: 920px;
}

.cbcc-my-space .cbcc-save-book-btn,
.cbcc-my-space .cbcc-skip-book-btn,
.cbcc-my-space .cbcc-note-book-btn,
.cbcc-my-space .cbcc-status-trigger,
.cbcc-my-space .cbcc-chat-form button,
.cbcc-my-space .cbcc-goal-form button,
.cbcc-my-space .cbcc-save-note-btn {
  touch-action: manipulation;
}

.cbcc-my-space .cbcc-status-menu,
.cbcc-my-space .cbcc-notes-dialog,
.cbcc-my-space .cbcc-my-space-nav-links {
  will-change: transform, opacity;
}

.cbcc-my-space .cbcc-book-strip,
.cbcc-my-space .cbcc-feed-carousel,
.cbcc-my-space .cbcc-my-mood-buttons,
.cbcc-my-space .cbcc-shelves-tabs,
.cbcc-my-space .cbcc-journal-filters,
.cbcc-my-space .cbcc-chat-chips {
  scrollbar-width: thin;
  scrollbar-color: rgba(199,162,124,.55) rgba(255,255,255,.35);
}

.cbcc-my-space .cbcc-book-strip::-webkit-scrollbar,
.cbcc-my-space .cbcc-feed-carousel::-webkit-scrollbar,
.cbcc-my-space .cbcc-my-mood-buttons::-webkit-scrollbar,
.cbcc-my-space .cbcc-shelves-tabs::-webkit-scrollbar,
.cbcc-my-space .cbcc-journal-filters::-webkit-scrollbar,
.cbcc-my-space .cbcc-chat-chips::-webkit-scrollbar {
  height: 8px;
}

.cbcc-my-space .cbcc-book-strip::-webkit-scrollbar-thumb,
.cbcc-my-space .cbcc-feed-carousel::-webkit-scrollbar-thumb,
.cbcc-my-space .cbcc-my-mood-buttons::-webkit-scrollbar-thumb,
.cbcc-my-space .cbcc-shelves-tabs::-webkit-scrollbar-thumb,
.cbcc-my-space .cbcc-journal-filters::-webkit-scrollbar-thumb,
.cbcc-my-space .cbcc-chat-chips::-webkit-scrollbar-thumb {
  background: rgba(199,162,124,.55);
  border-radius: 999px;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .cbcc-my-space *,
  .cbcc-my-space *::before,
  .cbcc-my-space *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
}

@media (max-width: 980px) {
  .cbcc-my-space {
    contain: layout;
  }

  .cbcc-my-space .cbcc-my-glow,
  .cbcc-my-space .cbcc-my-water,
  .cbcc-my-space .cbcc-my-lights span,
  .cbcc-my-space .cbcc-my-leaves span,
  .cbcc-my-space .cbcc-particles span,
  .cbcc-my-space .cbcc-cloud,
  .cbcc-my-space .cbcc-sea,
  .cbcc-my-space .cbcc-ripple,
  .cbcc-my-space .cbcc-reader-character,
  .cbcc-my-space .cbcc-reader-glow {
    animation-duration: 14s !important;
  }

  .cbcc-my-space .cbcc-my-leaves span:nth-child(3),
  .cbcc-my-space .cbcc-particles span:nth-child(n+4) {
    display: none;
  }

  .cbcc-my-space .cbcc-my-section,
  .cbcc-my-space .cbcc-reader-goals,
  .cbcc-my-space .cbcc-saved-books,
  .cbcc-my-space .cbcc-skipped-books,
  .cbcc-my-space .cbcc-reading-shelves,
  .cbcc-my-space .cbcc-reading-notes,
  .cbcc-my-space .cbcc-reading-journal,
  .cbcc-my-space .cbcc-reading-analytics,
  .cbcc-my-space .cbcc-theme-selector {
    margin-bottom: 26px;
  }

  .cbcc-my-space .cbcc-my-welcome,
  .cbcc-my-space .cbcc-my-dashboard,
  .cbcc-my-space .cbcc-theme-selector,
  .cbcc-my-space .cbcc-goal-card,
  .cbcc-my-space .cbcc-goal-form,
  .cbcc-my-space .cbcc-saved-card,
  .cbcc-my-space .cbcc-skipped-card,
  .cbcc-my-space .cbcc-shelf-card,
  .cbcc-my-space .cbcc-note-card,
  .cbcc-my-space .cbcc-analytics-card,
  .cbcc-my-space .cbcc-analytics-panel,
  .cbcc-my-space .cbcc-journal-item,
  .cbcc-my-space .cbcc-feed-card,
  .cbcc-my-space .cbcc-chat-panel,
  .cbcc-my-space .cbcc-chat-starters {
    box-shadow: 0 10px 28px rgba(121,88,66,.075);
  }

  .cbcc-my-space .cbcc-my-space-nav {
    box-shadow: 0 10px 30px rgba(121,88,66,.10);
  }
}

@media (max-width: 620px) {
  .cbcc-my-space .cbcc-my-section,
  .cbcc-my-space .cbcc-reader-goals,
  .cbcc-my-space .cbcc-saved-books,
  .cbcc-my-space .cbcc-skipped-books,
  .cbcc-my-space .cbcc-reading-shelves,
  .cbcc-my-space .cbcc-reading-notes,
  .cbcc-my-space .cbcc-reading-journal,
  .cbcc-my-space .cbcc-reading-analytics,
  .cbcc-my-space .cbcc-theme-selector {
    padding-left: 14px;
    padding-right: 14px;
  }

  .cbcc-my-space .cbcc-my-hero {
    padding-left: 14px;
    padding-right: 14px;
  }

  .cbcc-my-space .cbcc-my-space-nav {
    margin-left: 8px;
    margin-right: 8px;
  }

  .cbcc-my-space .cbcc-notes-modal {
    padding-bottom: max(12px, env(safe-area-inset-bottom));
  }

  .cbcc-back-to-top {
    bottom: max(14px, env(safe-area-inset-bottom));
  }
}


/* v6.3.7 Test + Hardening Pass */
.cbcc-health-check {
  max-width: 900px;
  padding: 24px;
  border-radius: 24px;
  background: #fff8ee;
  border: 1px solid rgba(121,88,66,.12);
}

.cbcc-health-check table {
  width: 100%;
  border-collapse: collapse;
}

.cbcc-health-check th,
.cbcc-health-check td {
  padding: 10px;
  border-bottom: 1px solid rgba(121,88,66,.12);
  text-align: left;
}

.cbcc-health-check .is-ok {
  color: #2f7a4f;
  font-weight: 900;
}

.cbcc-health-check .is-missing {
  color: #9b3f3f;
  font-weight: 900;
}

.cbcc-my-space {
  max-width: 100%;
}

.cbcc-my-space img,
.cbcc-my-space svg,
.cbcc-my-space video {
  max-width: 100%;
  height: auto;
}

.cbcc-my-space .cbcc-feed-carousel,
.cbcc-my-space .cbcc-book-strip {
  overscroll-behavior-inline: contain;
}

.cbcc-my-space .cbcc-notes-modal[hidden],
.cbcc-my-space [hidden] {
  display: none !important;
}


/* v6.3.8 Public Homepage Preview + Clean Login Path */
.cbcc-public-preview {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  border-radius: 36px;
  background:
    radial-gradient(circle at 14% 10%, rgba(248,207,216,.7), transparent 30%),
    radial-gradient(circle at 84% 12%, rgba(191,238,242,.72), transparent 32%),
    linear-gradient(180deg, #fff8ee 0%, #eefafa 52%, #fff0f4 100%);
  color: #382a24;
  padding: 86px 28px 54px;
}

.cbcc-public-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.cbcc-public-sun {
  position: absolute;
  top: 8%;
  right: 10%;
  width: 190px;
  height: 190px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,.95), rgba(255,223,174,.55), transparent 70%);
  animation: cbccPublicPulse 8s ease-in-out infinite;
}

.cbcc-public-water {
  position: absolute;
  left: -10%;
  right: -10%;
  bottom: -10%;
  height: 34%;
  border-radius: 50% 50% 0 0;
  background:
    repeating-linear-gradient(170deg, rgba(255,255,255,.34) 0 8px, transparent 8px 28px),
    linear-gradient(180deg, rgba(191,238,242,.75), rgba(255,255,255,.28));
  animation: cbccPublicWater 7s ease-in-out infinite;
}

.cbcc-public-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(2px);
  opacity: .5;
}

.cbcc-public-orb-one {
  left: 8%;
  top: 28%;
  width: 90px;
  height: 90px;
  background: #f8cfd8;
}

.cbcc-public-orb-two {
  right: 18%;
  top: 42%;
  width: 70px;
  height: 70px;
  background: #ded3ff;
}

.cbcc-public-hero,
.cbcc-public-sections,
.cbcc-public-featured,
.cbcc-public-login-strip {
  position: relative;
  z-index: 1;
  max-width: 1180px;
  margin-left: auto;
  margin-right: auto;
}

.cbcc-public-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 420px;
  gap: 28px;
  align-items: center;
  margin-bottom: 34px;
}

.cbcc-public-copy,
.cbcc-public-preview-card,
.cbcc-public-sections article,
.cbcc-public-featured,
.cbcc-public-login-strip {
  background: rgba(255,255,255,.62);
  border: 1px solid rgba(255,255,255,.84);
  border-radius: 34px;
  box-shadow: 0 24px 70px rgba(121,88,66,.11);
  backdrop-filter: blur(18px);
}

.cbcc-public-copy {
  padding: 36px;
}

.cbcc-public-copy > span,
.cbcc-public-card-top span,
.cbcc-public-sections article span,
.cbcc-public-featured-head span,
.cbcc-public-login-strip span {
  display: inline-block;
  color: #9b6d57;
  text-transform: uppercase;
  letter-spacing: .11em;
  font-size: 12px;
  font-weight: 900;
  margin-bottom: 10px;
}

.cbcc-public-copy h1 {
  margin: 0 0 16px;
  font-size: clamp(48px, 7vw, 84px);
  line-height: .92;
  letter-spacing: -.04em;
}

.cbcc-public-copy p {
  max-width: 680px;
  color: #715b50;
  line-height: 1.7;
  font-size: 17px;
}

.cbcc-public-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.cbcc-public-btn,
.cbcc-public-login-strip a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  border-radius: 999px;
  padding: 13px 18px;
  font-weight: 900;
}

.cbcc-public-primary,
.cbcc-public-login-strip a {
  color: #fff;
  background: linear-gradient(135deg,#c7a27c,#d8a5b7);
  box-shadow: 0 16px 34px rgba(199,162,124,.28);
}

.cbcc-public-soft {
  color: #765642;
  background: rgba(255,255,255,.72);
  border: 1px solid rgba(121,88,66,.1);
}

.cbcc-public-preview-card {
  padding: 22px;
}

.cbcc-public-card-top strong {
  display: block;
  color: #382a24;
  font-size: 28px;
  line-height: 1.05;
}

.cbcc-public-mini-world {
  position: relative;
  height: 290px;
  margin: 18px 0;
  border-radius: 28px;
  overflow: hidden;
  background: linear-gradient(180deg,#fff0e6,#bfeef2);
}

.cbcc-public-mini-world:after {
  content: "";
  position: absolute;
  left: -20%;
  right: -20%;
  bottom: -16%;
  height: 42%;
  border-radius: 50% 50% 0 0;
  background: rgba(255,255,255,.42);
}

.cbcc-public-reader {
  position: absolute;
  left: 50%;
  bottom: 34px;
  width: 120px;
  height: 160px;
  transform: translateX(-50%);
  animation: cbccPublicFloat 5s ease-in-out infinite;
}

.cbcc-public-reader i,
.cbcc-public-reader b,
.cbcc-public-reader em {
  position: absolute;
  display: block;
}

.cbcc-public-reader i {
  top: 0;
  left: 28px;
  width: 66px;
  height: 66px;
  border-radius: 50%;
  background: #2f1d18;
  box-shadow: -14px 9px 0 #2f1d18, 14px 9px 0 #2f1d18;
}

.cbcc-public-reader b {
  top: 38px;
  left: 38px;
  width: 44px;
  height: 52px;
  border-radius: 45%;
  background: linear-gradient(180deg,#b97955,#9f6348);
}

.cbcc-public-reader em {
  left: 18px;
  bottom: 10px;
  width: 86px;
  height: 58px;
  border-radius: 14px;
  background: linear-gradient(90deg,#fff8dd 0 48%,#f4ddaf 49% 100%);
  box-shadow: 0 14px 30px rgba(121,88,66,.18);
}

.cbcc-public-floating-pill {
  position: absolute;
  left: 18px;
  top: 22px;
  border-radius: 999px;
  padding: 9px 12px;
  background: rgba(255,255,255,.72);
  color: #765642;
  font-size: 13px;
  font-weight: 900;
  box-shadow: 0 12px 28px rgba(121,88,66,.12);
}

.cbcc-public-floating-pill.second {
  left: auto;
  right: 18px;
  top: 74px;
}

.cbcc-public-feature-list {
  display: grid;
  gap: 9px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.cbcc-public-feature-list li {
  padding: 10px 12px;
  border-radius: 18px;
  background: rgba(255,255,255,.56);
  color: #715b50;
  font-weight: 800;
}

.cbcc-public-sections {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-bottom: 34px;
}

.cbcc-public-sections article {
  padding: 22px;
}

.cbcc-public-sections strong {
  display: block;
  color: #382a24;
  font-size: 22px;
  margin-bottom: 8px;
}

.cbcc-public-sections p {
  margin: 0;
  color: #715b50;
  line-height: 1.55;
}

.cbcc-public-featured {
  padding: 24px;
  margin-bottom: 28px;
}

.cbcc-public-featured-head h2 {
  margin: 0 0 16px;
  color: #382a24;
  font-size: clamp(30px,4vw,48px);
  line-height: 1;
}

.cbcc-public-book-row {
  display: grid;
  grid-template-columns: repeat(6, minmax(120px, 1fr));
  gap: 12px;
}

.cbcc-public-book-row article {
  padding: 12px;
  border-radius: 22px;
  background: rgba(255,255,255,.58);
}

.cbcc-public-book-row a {
  color: inherit;
  text-decoration: none;
}

.cbcc-public-cover {
  display: block;
  height: 130px;
  border-radius: 18px;
  margin-bottom: 10px;
  background-size: cover;
  background-position: center;
}

.cbcc-public-cover-fallback {
  background: linear-gradient(135deg,#f8cfd8,#fff1c8,#bfeef2);
}

.cbcc-public-book-row strong,
.cbcc-public-book-row small {
  display: block;
}

.cbcc-public-book-row strong {
  color: #382a24;
  line-height: 1.2;
}

.cbcc-public-book-row small {
  margin-top: 5px;
  color: #80675a;
}

.cbcc-public-login-strip {
  padding: 18px 20px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
}

.cbcc-public-login-strip strong {
  display: block;
  color: #382a24;
  font-size: 20px;
}

@keyframes cbccPublicPulse {
  0%,100% { transform: scale(1); opacity: .82; }
  50% { transform: scale(1.08); opacity: 1; }
}

@keyframes cbccPublicWater {
  0%,100% { transform: translateY(0) scaleX(1); }
  50% { transform: translateY(-8px) scaleX(1.03); }
}

@keyframes cbccPublicFloat {
  0%,100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(-7px); }
}

@media (max-width: 980px) {
  .cbcc-public-preview {
    padding: 58px 18px 38px;
    border-radius: 24px;
  }

  .cbcc-public-hero {
    grid-template-columns: 1fr;
  }

  .cbcc-public-copy {
    padding: 26px;
  }

  .cbcc-public-copy h1 {
    font-size: clamp(40px, 11vw, 62px);
  }

  .cbcc-public-sections {
    grid-template-columns: 1fr;
  }

  .cbcc-public-book-row {
    grid-template-columns: repeat(3, minmax(120px, 1fr));
  }

  .cbcc-public-login-strip {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 620px) {
  .cbcc-public-book-row {
    grid-template-columns: repeat(2, minmax(120px, 1fr));
  }

  .cbcc-public-actions {
    flex-direction: column;
  }

  .cbcc-public-btn,
  .cbcc-public-login-strip a {
    width: 100%;
  }
}


/* v6.3.9 Signup/Login UX + My Space Auto-Setup */
.cbcc-login-path,
.cbcc-setup-checklist {
  position: relative;
  overflow: hidden;
  border-radius: 30px;
  padding: 26px;
  background:
    radial-gradient(circle at 16% 12%, rgba(248,207,216,.62), transparent 30%),
    radial-gradient(circle at 86% 20%, rgba(191,238,242,.64), transparent 28%),
    rgba(255,255,255,.72);
  border: 1px solid rgba(255,255,255,.86);
  box-shadow: 0 20px 56px rgba(121,88,66,.10);
  backdrop-filter: blur(18px);
}

.cbcc-login-path {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.cbcc-login-path-copy span,
.cbcc-setup-checklist > span {
  display: inline-block;
  color: #9b6d57;
  text-transform: uppercase;
  letter-spacing: .11em;
  font-size: 12px;
  font-weight: 900;
  margin-bottom: 8px;
}

.cbcc-login-path-copy h2,
.cbcc-setup-checklist h2 {
  margin: 0 0 10px;
  color: #382a24;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1;
}

.cbcc-login-path-copy p {
  margin: 0;
  color: #715b50;
  line-height: 1.6;
  max-width: 720px;
}

.cbcc-login-path-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  flex: 0 0 auto;
}

.cbcc-login-primary,
.cbcc-login-soft,
.cbcc-setup-create {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  border-radius: 999px;
  padding: 13px 18px;
  font-weight: 900;
}

.cbcc-login-primary,
.cbcc-setup-create {
  color: #fff;
  background: linear-gradient(135deg,#c7a27c,#d8a5b7);
  box-shadow: 0 14px 32px rgba(199,162,124,.24);
}

.cbcc-login-soft {
  color: #765642;
  background: rgba(255,255,255,.72);
  border: 1px solid rgba(121,88,66,.1);
}

.cbcc-setup-items {
  display: grid;
  grid-template-columns: repeat(2, minmax(180px,1fr));
  gap: 12px;
  margin: 16px 0;
}

.cbcc-setup-items article {
  padding: 16px;
  border-radius: 22px;
  background: rgba(255,255,255,.58);
  border: 1px solid rgba(121,88,66,.08);
}

.cbcc-setup-items article.is-complete {
  border-color: rgba(76,140,95,.24);
}

.cbcc-setup-items article.is-missing {
  border-color: rgba(155,63,63,.24);
}

.cbcc-setup-items strong {
  display: block;
  color: #382a24;
  font-size: 18px;
  margin-bottom: 8px;
}

.cbcc-setup-items p {
  color: #715b50;
  line-height: 1.5;
}

.cbcc-setup-items code {
  padding: 3px 6px;
  border-radius: 8px;
  background: rgba(255,255,255,.72);
}

.cbcc-setup-items a,
.cbcc-setup-items em {
  color: #765642;
  font-weight: 900;
}

@media (max-width: 820px) {
  .cbcc-login-path {
    flex-direction: column;
    align-items: flex-start;
  }

  .cbcc-login-path-actions,
  .cbcc-login-primary,
  .cbcc-login-soft {
    width: 100%;
  }

  .cbcc-setup-items {
    grid-template-columns: 1fr;
  }
}


/* v6.4.3 Real Luxury UI Pass */
.cbcc-public-preview,
.cbcc-my-space {
  width: min(1180px, calc(100% - 36px)) !important;
  margin: 34px auto !important;
  border-radius: 42px !important;
  background:
    radial-gradient(circle at 12% 8%, rgba(248,207,216,.82), transparent 28%),
    radial-gradient(circle at 88% 12%, rgba(191,238,242,.78), transparent 30%),
    radial-gradient(circle at 70% 78%, rgba(222,211,255,.34), transparent 28%),
    linear-gradient(180deg, #fff8ee 0%, #eefafa 46%, #fff0f4 100%) !important;
  box-shadow:
    0 30px 110px rgba(121,88,66,.13),
    inset 0 1px 0 rgba(255,255,255,.82) !important;
}

.cbcc-public-preview::after,
.cbcc-my-space::after {
  content: "";
  position: absolute;
  inset: 16px;
  border-radius: 34px;
  border: 1px solid rgba(255,255,255,.48);
  pointer-events: none;
  z-index: 0;
}

.cbcc-public-preview > *,
.cbcc-my-space > * {
  position: relative;
  z-index: 1;
}

.cbcc-public-bg,
.cbcc-my-space-bg {
  opacity: .82;
}

.cbcc-public-sun,
.cbcc-my-glow {
  filter: blur(.2px);
  animation-duration: 9s !important;
}

.cbcc-public-water,
.cbcc-my-water {
  opacity: .72;
  mix-blend-mode: screen;
}

.cbcc-public-copy,
.cbcc-public-preview-card,
.cbcc-public-sections article,
.cbcc-public-featured,
.cbcc-public-login-strip,
.cbcc-my-welcome,
.cbcc-my-dashboard,
.cbcc-my-mood-panel,
.cbcc-theme-selector,
.cbcc-reader-goals,
.cbcc-saved-books,
.cbcc-skipped-books,
.cbcc-reading-shelves,
.cbcc-reading-notes,
.cbcc-reading-journal,
.cbcc-reading-analytics,
.cbcc-my-section,
.cbcc-login-path {
  background: rgba(255,255,255,.58) !important;
  border: 1px solid rgba(255,255,255,.78) !important;
  box-shadow:
    0 22px 70px rgba(121,88,66,.095),
    inset 0 1px 0 rgba(255,255,255,.62) !important;
  backdrop-filter: blur(22px) saturate(1.08) !important;
}

.cbcc-public-copy,
.cbcc-my-welcome {
  min-height: 360px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.cbcc-public-copy h1,
.cbcc-my-welcome h1 {
  max-width: 760px;
  text-wrap: balance;
  color: #33241f !important;
}

.cbcc-public-copy p,
.cbcc-my-welcome p {
  max-width: 640px;
  font-size: 18px !important;
}

.cbcc-public-preview-card,
.cbcc-my-dashboard {
  transform: translateY(12px);
}

.cbcc-public-mini-world,
.cbcc-my-reader-card {
  box-shadow: inset 0 -30px 80px rgba(255,255,255,.42);
}

.cbcc-public-sections {
  margin-top: 18px;
  margin-bottom: 38px;
}

.cbcc-public-sections article {
  min-height: 170px;
  transition: transform .28s ease, box-shadow .28s ease;
}

.cbcc-public-sections article:hover,
.cbcc-theme-option:hover,
.cbcc-feed-card:hover,
.cbcc-saved-card:hover,
.cbcc-shelf-card:hover,
.cbcc-note-card:hover,
.cbcc-journal-item:hover {
  transform: translateY(-8px);
  box-shadow:
    0 28px 82px rgba(121,88,66,.14),
    inset 0 1px 0 rgba(255,255,255,.7) !important;
}

.cbcc-public-featured {
  padding: 32px !important;
}

.cbcc-public-book-row article,
.cbcc-saved-card,
.cbcc-skipped-card,
.cbcc-shelf-card,
.cbcc-note-card,
.cbcc-history-grid article,
.cbcc-feed-card {
  transition: transform .26s ease, box-shadow .26s ease, background .26s ease;
}

.cbcc-public-cover,
.cbcc-feed-cover,
.cbcc-saved-cover,
.cbcc-status-cover,
.cbcc-note-cover,
.cbcc-history-cover,
.cbcc-my-cover {
  box-shadow:
    0 16px 38px rgba(65,45,35,.16),
    inset 0 -24px 60px rgba(0,0,0,.05) !important;
}

.cbcc-public-login-strip {
  padding: 20px 24px !important;
}

.cbcc-my-space-nav {
  top: 10px !important;
  border-radius: 999px !important;
  max-width: 1080px !important;
}

.cbcc-my-space-nav-links a,
.cbcc-my-space-nav-toggle,
.cbcc-back-to-top {
  box-shadow: 0 10px 24px rgba(121,88,66,.08);
}

.cbcc-my-mood-panel {
  max-width: 1080px !important;
  margin-top: -10px !important;
}

.cbcc-my-mood-buttons button,
.cbcc-theme-option,
.cbcc-save-book-btn,
.cbcc-skip-book-btn,
.cbcc-note-book-btn,
.cbcc-status-trigger,
.cbcc-chat-chips button,
.cbcc-journal-filters button,
.cbcc-shelves-tabs button {
  transition: transform .22s ease, box-shadow .22s ease, background .22s ease !important;
}

.cbcc-my-mood-buttons button:hover,
.cbcc-chat-chips button:hover,
.cbcc-journal-filters button:hover,
.cbcc-shelves-tabs button:hover,
.cbcc-save-book-btn:hover,
.cbcc-skip-book-btn:hover,
.cbcc-note-book-btn:hover,
.cbcc-status-trigger:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 32px rgba(121,88,66,.11);
}

.cbcc-theme-grid {
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)) !important;
}

.cbcc-theme-preview {
  height: 112px !important;
  position: relative;
  overflow: hidden;
}

.cbcc-theme-preview::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent, rgba(255,255,255,.52), transparent);
  transform: translateX(-100%);
  animation: cbccLuxurySheen 6s ease-in-out infinite;
}

.cbcc-goals-grid,
.cbcc-analytics-grid,
.cbcc-journal-summary,
.cbcc-shelves-counts {
  gap: 16px !important;
}

.cbcc-goal-card,
.cbcc-analytics-card,
.cbcc-journal-summary article,
.cbcc-shelves-counts article {
  min-height: 132px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.cbcc-feed-section {
  max-width: 100% !important;
}

.cbcc-feed-carousel {
  padding-top: 12px !important;
  padding-bottom: 32px !important;
  mask-image: linear-gradient(90deg, transparent, #000 3%, #000 97%, transparent);
}

.cbcc-feed-card {
  flex-basis: 235px !important;
  padding: 16px !important;
  border-radius: 30px !important;
}

.cbcc-feed-cover {
  height: 220px !important;
  border-radius: 24px !important;
}

.cbcc-feed-card strong {
  font-size: 18px !important;
}

.cbcc-ai-chat {
  background:
    radial-gradient(circle at 10% 12%, rgba(248,207,216,.52), transparent 28%),
    radial-gradient(circle at 90% 16%, rgba(191,238,242,.58), transparent 30%),
    rgba(255,255,255,.35) !important;
}

.cbcc-chat-panel {
  min-height: 520px;
}

.cbcc-chat-message {
  box-shadow: 0 10px 24px rgba(121,88,66,.06);
}

.cbcc-reading-journal .cbcc-journal-timeline {
  gap: 18px !important;
}

.cbcc-journal-item {
  padding: 20px !important;
}

.cbcc-journal-icon {
  box-shadow:
    0 12px 28px rgba(121,88,66,.13),
    inset 0 1px 0 rgba(255,255,255,.62) !important;
}

.cbcc-notes-dialog {
  border-radius: 36px !important;
  box-shadow: 0 38px 120px rgba(35,25,22,.26) !important;
}

/* Make long My Space feel like connected luxury panels instead of raw stacked modules */
.cbcc-my-space[data-layout-mode="full"] .cbcc-reader-goals,
.cbcc-my-space[data-layout-mode="full"] .cbcc-saved-books,
.cbcc-my-space[data-layout-mode="full"] .cbcc-reading-shelves,
.cbcc-my-space[data-layout-mode="full"] .cbcc-reading-notes,
.cbcc-my-space[data-layout-mode="full"] .cbcc-reading-journal,
.cbcc-my-space[data-layout-mode="full"] .cbcc-reading-analytics {
  padding-top: 34px !important;
  padding-bottom: 34px !important;
}

@keyframes cbccLuxurySheen {
  0%, 62% { transform: translateX(-110%); }
  82%, 100% { transform: translateX(110%); }
}

@media (min-width: 981px) {
  .cbcc-public-preview,
  .cbcc-my-space {
    padding-left: 54px !important;
    padding-right: 54px !important;
  }

  .cbcc-my-space .cbcc-reader-goals,
  .cbcc-my-space .cbcc-saved-books,
  .cbcc-my-space .cbcc-skipped-books,
  .cbcc-my-space .cbcc-reading-shelves,
  .cbcc-my-space .cbcc-reading-notes,
  .cbcc-my-space .cbcc-reading-journal,
  .cbcc-my-space .cbcc-reading-analytics,
  .cbcc-my-space .cbcc-my-section,
  .cbcc-my-space .cbcc-theme-selector {
    width: min(1080px, 100%) !important;
  }
}

@media (max-width: 980px) {
  .cbcc-public-preview,
  .cbcc-my-space {
    width: calc(100% - 22px) !important;
    margin: 16px auto !important;
    border-radius: 30px !important;
  }

  .cbcc-public-copy,
  .cbcc-my-welcome {
    min-height: auto;
  }

  .cbcc-feed-card {
    flex-basis: 190px !important;
  }

  .cbcc-feed-cover {
    height: 165px !important;
  }

  .cbcc-public-preview-card,
  .cbcc-my-dashboard {
    transform: none;
  }

  .cbcc-my-space-nav {
    top: 4px !important;
    border-radius: 24px !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .cbcc-theme-preview::after {
    animation: none !important;
  }
}


/* v6.5.2 Stable Visual Recovery
   Restores the clean v6.4.3 luxury layout and blocks broken immersive/reflow overrides. */
.cbcc-public-preview,
.cbcc-my-space {
  width: min(1180px, calc(100% - 36px)) !important;
  margin: 34px auto !important;
  padding: clamp(34px, 5vw, 72px) clamp(22px, 5vw, 58px) !important;
  overflow: hidden !important;
}

.cbcc-my-space[data-immersive-world],
.cbcc-public-preview[data-immersive-public] {
  display: block !important;
}

.cbcc-my-space[data-immersive-world] .cbcc-reveal,
.cbcc-public-preview[data-immersive-public] .cbcc-reveal {
  opacity: 1 !important;
  transform: none !important;
}

.cbcc-public-preview .cbcc-public-hero {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) 420px !important;
  gap: 28px !important;
  align-items: center !important;
  min-height: auto !important;
}

.cbcc-public-preview .cbcc-public-copy {
  min-height: 420px !important;
  padding: clamp(28px, 4vw, 42px) !important;
  overflow: hidden !important;
}

.cbcc-public-preview .cbcc-public-copy::after {
  content: none !important;
}

.cbcc-public-preview .cbcc-public-copy h1 {
  font-size: clamp(48px, 6.5vw, 84px) !important;
  line-height: .92 !important;
  max-width: 680px !important;
  overflow-wrap: normal !important;
  word-break: normal !important;
}

.cbcc-public-preview .cbcc-public-copy p {
  max-width: 600px !important;
}

.cbcc-public-preview .cbcc-public-preview-card {
  min-height: auto !important;
  transform: translateY(12px) !important;
}

.cbcc-public-preview .cbcc-public-sections {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 14px !important;
  overflow: visible !important;
  mask-image: none !important;
}

.cbcc-public-preview .cbcc-public-sections article {
  min-height: 170px !important;
  width: auto !important;
}

.cbcc-public-preview .cbcc-public-featured {
  padding: 28px !important;
}

.cbcc-public-preview .cbcc-public-book-row {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 16px !important;
  overflow: visible !important;
  mask-image: none !important;
}

.cbcc-public-preview .cbcc-public-book-row article {
  width: auto !important;
  min-width: 0 !important;
}

.cbcc-public-preview .cbcc-public-cover {
  height: 170px !important;
}

.cbcc-my-space .cbcc-my-hero {
  max-width: 1120px !important;
  margin: 0 auto !important;
  padding: 82px 0 42px !important;
  display: grid !important;
  grid-template-columns: minmax(0, .98fr) minmax(360px, .82fr) !important;
  gap: 28px !important;
  min-height: auto !important;
}

.cbcc-my-space .cbcc-my-dashboard {
  max-width: 470px !important;
  justify-self: end !important;
  transform: translateY(12px) !important;
}

.cbcc-my-space .cbcc-my-mood-panel,
.cbcc-my-space .cbcc-theme-selector,
.cbcc-my-space .cbcc-reader-goals,
.cbcc-my-space .cbcc-saved-books,
.cbcc-my-space .cbcc-skipped-books,
.cbcc-my-space .cbcc-reading-shelves,
.cbcc-my-space .cbcc-reading-notes,
.cbcc-my-space .cbcc-reading-journal,
.cbcc-my-space .cbcc-reading-analytics,
.cbcc-my-space .cbcc-my-section,
.cbcc-my-space .cbcc-taste-quiz {
  width: min(1080px, 100%) !important;
  max-width: 1080px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  transform: none !important;
  clear: both !important;
}

.cbcc-my-space .cbcc-saved-books,
.cbcc-my-space .cbcc-skipped-books,
.cbcc-my-space .cbcc-reading-notes,
.cbcc-my-space .cbcc-reading-journal {
  display: block !important;
  width: min(1080px, 100%) !important;
}

.cbcc-my-space .cbcc-saved-grid,
.cbcc-my-space .cbcc-skipped-grid,
.cbcc-my-space .cbcc-shelf-grid,
.cbcc-my-space .cbcc-notes-grid,
.cbcc-my-space .cbcc-history-grid {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)) !important;
  gap: 14px !important;
  overflow: visible !important;
  mask-image: none !important;
  padding: 0 !important;
}

.cbcc-my-space .cbcc-saved-card,
.cbcc-my-space .cbcc-skipped-card,
.cbcc-my-space .cbcc-shelf-card,
.cbcc-my-space .cbcc-note-card,
.cbcc-my-space .cbcc-history-grid article {
  flex: initial !important;
  width: auto !important;
}

.cbcc-my-space .cbcc-immersive-divider,
.cbcc-my-space .cbcc-immersive-orb {
  display: none !important;
}

.cbcc-my-space #cbcc-my-feed {
  width: min(1080px, 100%) !important;
  margin-top: 38px !important;
}

.cbcc-my-space .cbcc-feed-card {
  flex-basis: 235px !important;
}

.cbcc-my-space .cbcc-feed-cover {
  height: 220px !important;
}

.cbcc-my-space .cbcc-my-assistant-section {
  width: min(1080px, 100%) !important;
  margin-top: 38px !important;
}

@media (max-width: 980px) {
  .cbcc-public-preview,
  .cbcc-my-space {
    width: calc(100% - 22px) !important;
    margin: 16px auto !important;
    padding: 28px 16px !important;
    border-radius: 28px !important;
  }

  .cbcc-public-preview .cbcc-public-hero,
  .cbcc-my-space .cbcc-my-hero {
    grid-template-columns: 1fr !important;
    padding-top: 48px !important;
  }

  .cbcc-public-preview .cbcc-public-copy,
  .cbcc-my-space .cbcc-my-welcome {
    min-height: auto !important;
  }

  .cbcc-public-preview .cbcc-public-copy h1 {
    font-size: clamp(40px, 11vw, 62px) !important;
  }

  .cbcc-public-preview .cbcc-public-sections,
  .cbcc-public-preview .cbcc-public-book-row {
    grid-template-columns: 1fr !important;
  }

  .cbcc-my-space .cbcc-my-dashboard {
    max-width: 100% !important;
    justify-self: stretch !important;
    transform: none !important;
  }

  .cbcc-my-space .cbcc-saved-grid,
  .cbcc-my-space .cbcc-skipped-grid,
  .cbcc-my-space .cbcc-shelf-grid,
  .cbcc-my-space .cbcc-notes-grid,
  .cbcc-my-space .cbcc-history-grid {
    grid-template-columns: 1fr !important;
  }

  .cbcc-my-space .cbcc-feed-card {
    flex-basis: 190px !important;
  }

  .cbcc-my-space .cbcc-feed-cover {
    height: 165px !important;
  }
}


/* v6.5.3 Clean Section Reduction + Empty State Polish */

/* PUBLIC PREVIEW HERO FIX */
.cbcc-public-preview .cbcc-public-hero {
  align-items: stretch !important;
}

.cbcc-public-preview .cbcc-public-copy {
  min-height: 340px !important;
  max-width: none !important;
  width: 100% !important;
}

.cbcc-public-preview .cbcc-public-copy h1 {
  font-size: clamp(54px, 7vw, 92px) !important;
  max-width: 840px !important;
  line-height: .9 !important;
  letter-spacing: -.05em !important;
}

.cbcc-public-preview .cbcc-public-copy p {
  max-width: 560px !important;
}

.cbcc-public-preview .cbcc-public-preview-card {
  align-self: center !important;
  transform: translateY(0) !important;
  max-width: 360px !important;
}

.cbcc-public-preview .cbcc-public-sections {
  margin-top: 10px !important;
}

.cbcc-public-preview .cbcc-public-featured {
  margin-top: 8px !important;
}

/* MY SPACE GLOBAL TIGHTENING */
.cbcc-my-space .cbcc-my-mood-panel,
.cbcc-my-space .cbcc-theme-selector,
.cbcc-my-space .cbcc-reader-goals,
.cbcc-my-space .cbcc-saved-books,
.cbcc-my-space .cbcc-skipped-books,
.cbcc-my-space .cbcc-reading-shelves,
.cbcc-my-space .cbcc-reading-notes,
.cbcc-my-space .cbcc-reading-journal,
.cbcc-my-space .cbcc-reading-analytics,
.cbcc-my-space .cbcc-my-section,
.cbcc-my-space .cbcc-taste-quiz {
  margin-top: 0 !important;
  margin-bottom: 24px !important;
  padding-top: 24px !important;
  padding-bottom: 24px !important;
}

.cbcc-my-space .cbcc-goals-head,
.cbcc-my-space .cbcc-saved-head,
.cbcc-my-space .cbcc-skipped-head,
.cbcc-my-space .cbcc-shelves-head,
.cbcc-my-space .cbcc-notes-head,
.cbcc-my-space .cbcc-journal-head,
.cbcc-my-space .cbcc-analytics-head,
.cbcc-my-space .cbcc-my-section-head {
  margin-bottom: 12px !important;
}

.cbcc-my-space .cbcc-goals-head h2,
.cbcc-my-space .cbcc-saved-head h2,
.cbcc-my-space .cbcc-skipped-head h2,
.cbcc-my-space .cbcc-shelves-head h2,
.cbcc-my-space .cbcc-notes-head h2,
.cbcc-my-space .cbcc-journal-head h2,
.cbcc-my-space .cbcc-analytics-head h2,
.cbcc-my-space .cbcc-my-section-head h2 {
  font-size: clamp(28px, 3vw, 46px) !important;
  line-height: .95 !important;
}

/* COLLAPSE EMPTY STATES */
.cbcc-my-space .has-empty-state,
.cbcc-my-space .cbcc-saved-books:has(.cbcc-saved-empty),
.cbcc-my-space .cbcc-skipped-books:has(.cbcc-skipped-empty),
.cbcc-my-space .cbcc-reading-notes:has(.cbcc-notes-empty) {
  min-height: auto !important;
}

.cbcc-my-space .cbcc-saved-empty,
.cbcc-my-space .cbcc-skipped-empty,
.cbcc-my-space .cbcc-notes-empty,
.cbcc-my-space .cbcc-journal-empty,
.cbcc-my-space .cbcc-shelf-empty {
  padding: 14px 16px !important;
  border-radius: 18px !important;
  font-size: 14px !important;
  line-height: 1.5 !important;
  background: rgba(255,255,255,.55) !important;
  border: 1px solid rgba(121,88,66,.06) !important;
  max-width: 640px !important;
}

/* ANALYTICS COMPACT MODE */
.cbcc-my-space .cbcc-analytics-grid {
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)) !important;
  gap: 12px !important;
}

.cbcc-my-space .cbcc-analytics-card {
  min-height: 120px !important;
  padding: 16px !important;
}

.cbcc-my-space .cbcc-analytics-card strong {
  font-size: 28px !important;
}

.cbcc-my-space .cbcc-analytics-panels {
  gap: 14px !important;
}

.cbcc-my-space .cbcc-analytics-panel {
  padding: 18px !important;
}

/* RECOMMENDATION CARD POLISH */
.cbcc-my-space .cbcc-feed-carousel {
  gap: 18px !important;
  padding-top: 8px !important;
  padding-bottom: 20px !important;
}

.cbcc-my-space .cbcc-feed-card {
  flex-basis: 255px !important;
  border-radius: 28px !important;
  overflow: hidden !important;
  position: relative !important;
}

.cbcc-my-space .cbcc-feed-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 45%, rgba(0,0,0,.04));
  pointer-events: none;
}

.cbcc-my-space .cbcc-feed-card:hover {
  transform: translateY(-10px) scale(1.01) !important;
}

.cbcc-my-space .cbcc-feed-cover {
  height: 250px !important;
  border-radius: 22px !important;
}

.cbcc-my-space .cbcc-feed-card strong {
  display: block !important;
  margin-top: 12px !important;
  font-size: 18px !important;
  line-height: 1.2 !important;
}

/* AI SECTION */
.cbcc-my-space .cbcc-ai-chat {
  align-items: stretch !important;
}

.cbcc-my-space .cbcc-chat-panel {
  min-height: 460px !important;
}

.cbcc-my-space .cbcc-chat-head {
  margin-bottom: 16px !important;
}

.cbcc-my-space .cbcc-chat-head h2 {
  font-size: clamp(34px, 4vw, 58px) !important;
  line-height: .95 !important;
}

.cbcc-my-space .cbcc-chat-message {
  border-radius: 18px !important;
  padding: 14px 16px !important;
}

.cbcc-my-space .cbcc-chat-starters {
  padding: 20px !important;
}

.cbcc-my-space .cbcc-chat-starters article {
  border-radius: 20px !important;
  overflow: hidden !important;
}

/* SHORTER JOURNAL + NOTES WHEN EMPTY */
.cbcc-my-space .cbcc-reading-journal:has(.cbcc-journal-empty),
.cbcc-my-space .cbcc-reading-notes:has(.cbcc-notes-empty) {
  padding-bottom: 18px !important;
}

.cbcc-my-space .cbcc-journal-summary {
  margin-bottom: 14px !important;
}

/* GOALS SECTION LESS HEAVY */
.cbcc-my-space .cbcc-goal-card {
  min-height: 120px !important;
  padding: 16px !important;
}

.cbcc-my-space .cbcc-goal-card strong {
  font-size: 30px !important;
}

/* THEME SELECTOR CLEANER */
.cbcc-my-space .cbcc-theme-grid {
  gap: 12px !important;
}

.cbcc-my-space .cbcc-theme-option {
  padding: 12px !important;
}

.cbcc-my-space .cbcc-theme-preview {
  height: 92px !important;
}

/* BETTER MOBILE BALANCE */
@media (max-width: 980px) {
  .cbcc-public-preview .cbcc-public-copy h1 {
    font-size: clamp(42px, 11vw, 64px) !important;
  }

  .cbcc-public-preview .cbcc-public-preview-card {
    max-width: 100% !important;
  }

  .cbcc-my-space .cbcc-feed-card {
    flex-basis: 210px !important;
  }

  .cbcc-my-space .cbcc-feed-cover {
    height: 190px !important;
  }

  .cbcc-my-space .cbcc-goals-head h2,
  .cbcc-my-space .cbcc-saved-head h2,
  .cbcc-my-space .cbcc-skipped-head h2,
  .cbcc-my-space .cbcc-shelves-head h2,
  .cbcc-my-space .cbcc-notes-head h2,
  .cbcc-my-space .cbcc-journal-head h2,
  .cbcc-my-space .cbcc-analytics-head h2,
  .cbcc-my-space .cbcc-my-section-head h2 {
    font-size: clamp(28px, 8vw, 42px) !important;
  }
}


/* v6.5.4 Cinematic Card Polish + Hero Balance */

/* PUBLIC HERO BALANCE */
.cbcc-public-preview .cbcc-public-hero {
  grid-template-columns: minmax(0, 1.18fr) minmax(340px, .72fr) !important;
  gap: clamp(22px, 4vw, 42px) !important;
}

.cbcc-public-preview .cbcc-public-copy {
  min-height: 390px !important;
  padding: clamp(30px, 4.5vw, 54px) !important;
}

.cbcc-public-preview .cbcc-public-copy h1 {
  font-size: clamp(48px, 6vw, 82px) !important;
  line-height: .93 !important;
  max-width: 760px !important;
  letter-spacing: -.045em !important;
  text-wrap: balance !important;
}

.cbcc-public-preview .cbcc-public-copy p {
  max-width: 620px !important;
  font-size: 17px !important;
}

.cbcc-public-preview .cbcc-public-preview-card {
  max-width: 350px !important;
  justify-self: center !important;
  transform: translateY(8px) !important;
}

.cbcc-public-preview .cbcc-public-mini-world {
  height: 255px !important;
  border-radius: 26px !important;
}

.cbcc-public-preview .cbcc-public-feature-list li {
  padding: 11px 12px !important;
  border-radius: 16px !important;
}

/* CINEMATIC BOOK CARD POLISH */
.cbcc-public-book-row article,
.cbcc-feed-card,
.cbcc-saved-card,
.cbcc-shelf-card,
.cbcc-note-card,
.cbcc-history-grid article {
  position: relative !important;
  overflow: hidden !important;
}

.cbcc-public-book-row article::before,
.cbcc-feed-card::before,
.cbcc-saved-card::before,
.cbcc-shelf-card::before,
.cbcc-note-card::before,
.cbcc-history-grid article::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 0 36%, rgba(255,255,255,.48) 48%, transparent 62%);
  transform: translateX(-120%);
  opacity: 0;
  transition: transform .7s ease, opacity .7s ease;
  pointer-events: none;
  z-index: 3;
}

.cbcc-public-book-row article:hover::before,
.cbcc-feed-card:hover::before,
.cbcc-saved-card:hover::before,
.cbcc-shelf-card:hover::before,
.cbcc-note-card:hover::before,
.cbcc-history-grid article:hover::before {
  transform: translateX(120%);
  opacity: 1;
}

.cbcc-public-cover,
.cbcc-feed-cover,
.cbcc-saved-cover,
.cbcc-status-cover,
.cbcc-note-cover,
.cbcc-history-cover {
  position: relative !important;
  transition: transform .36s ease, filter .36s ease, box-shadow .36s ease !important;
}

.cbcc-public-book-row article:hover .cbcc-public-cover,
.cbcc-feed-card:hover .cbcc-feed-cover,
.cbcc-saved-card:hover .cbcc-saved-cover,
.cbcc-shelf-card:hover .cbcc-status-cover,
.cbcc-note-card:hover .cbcc-note-cover,
.cbcc-history-grid article:hover .cbcc-history-cover {
  transform: scale(1.035);
  filter: saturate(1.08) contrast(1.03);
  box-shadow: 0 18px 46px rgba(65,45,35,.19) !important;
}

.cbcc-public-book-row article:hover,
.cbcc-feed-card:hover,
.cbcc-saved-card:hover,
.cbcc-shelf-card:hover,
.cbcc-note-card:hover,
.cbcc-history-grid article:hover {
  transform: translateY(-8px) !important;
}

/* PUBLIC FEATURED: more premium but stable */
.cbcc-public-featured {
  padding: 30px !important;
}

.cbcc-public-featured-head {
  display: flex !important;
  justify-content: space-between !important;
  align-items: end !important;
  gap: 18px !important;
  margin-bottom: 18px !important;
}

.cbcc-public-featured-head::after {
  content: "Curated from your CozyBooks library";
  color: #80675a;
  font-weight: 800;
  font-size: 13px;
  opacity: .78;
}

.cbcc-public-book-row article {
  padding: 14px !important;
  border-radius: 24px !important;
}

.cbcc-public-cover {
  height: 178px !important;
  border-radius: 20px !important;
}

/* MY SPACE HERO BALANCE */
.cbcc-my-space .cbcc-my-hero {
  grid-template-columns: minmax(0, 1.05fr) minmax(340px, .82fr) !important;
  gap: clamp(22px, 4vw, 42px) !important;
}

.cbcc-my-space .cbcc-my-welcome {
  min-height: 350px !important;
  padding: clamp(28px, 4vw, 46px) !important;
}

.cbcc-my-space .cbcc-my-welcome h1 {
  font-size: clamp(46px, 6vw, 78px) !important;
  line-height: .92 !important;
  max-width: 700px !important;
}

.cbcc-my-space .cbcc-my-dashboard {
  max-width: 430px !important;
}

/* EMPTY STATE MINI CARDS */
.cbcc-my-space .has-empty-state .cbcc-saved-empty,
.cbcc-my-space .has-empty-state .cbcc-skipped-empty,
.cbcc-my-space .has-empty-state .cbcc-notes-empty,
.cbcc-my-space .has-empty-state .cbcc-journal-empty,
.cbcc-my-space .has-empty-state .cbcc-shelf-empty,
.cbcc-my-space .cbcc-saved-empty,
.cbcc-my-space .cbcc-skipped-empty,
.cbcc-my-space .cbcc-notes-empty,
.cbcc-my-space .cbcc-journal-empty,
.cbcc-my-space .cbcc-shelf-empty {
  max-width: 540px !important;
  padding: 12px 14px !important;
  border-radius: 16px !important;
  box-shadow: 0 8px 24px rgba(121,88,66,.055) !important;
}

.cbcc-my-space .has-empty-state {
  padding-top: 20px !important;
  padding-bottom: 18px !important;
}

/* AI PANEL HEIGHT + VISUAL HIERARCHY */
.cbcc-my-space .cbcc-ai-chat {
  grid-template-columns: minmax(0, 1fr) minmax(230px, .55fr) !important;
  gap: 18px !important;
}

.cbcc-my-space .cbcc-chat-panel {
  min-height: 390px !important;
  padding: 22px !important;
}

.cbcc-my-space .cbcc-chat-head h2 {
  font-size: clamp(32px, 3.6vw, 52px) !important;
}

.cbcc-my-space .cbcc-chat-log {
  max-height: 250px !important;
}

.cbcc-my-space .cbcc-chat-starters {
  padding: 18px !important;
}

.cbcc-my-space .cbcc-chat-starters article {
  min-height: 140px !important;
}

/* ANALYTICS DENSITY */
.cbcc-my-space .cbcc-analytics-card p {
  font-size: 13px !important;
  line-height: 1.42 !important;
}

.cbcc-my-space .cbcc-bars {
  gap: 10px !important;
}

.cbcc-my-space .cbcc-bar-track,
.cbcc-my-space .cbcc-mini-meter {
  height: 8px !important;
}

/* SUBTLE INTERACTIVE FLOAT ONLY */
.cbcc-public-preview .cbcc-public-preview-card,
.cbcc-my-space .cbcc-my-dashboard {
  animation: cbccGentleFloat 7s ease-in-out infinite;
}

@keyframes cbccGentleFloat {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 -6px; }
}

@media (max-width: 980px) {
  .cbcc-public-preview .cbcc-public-hero,
  .cbcc-my-space .cbcc-my-hero {
    grid-template-columns: 1fr !important;
  }

  .cbcc-public-preview .cbcc-public-preview-card,
  .cbcc-my-space .cbcc-my-dashboard {
    max-width: 100% !important;
    animation: none !important;
  }

  .cbcc-public-featured-head {
    display: block !important;
  }

  .cbcc-public-featured-head::after {
    display: block;
    margin-top: 4px;
  }

  .cbcc-my-space .cbcc-ai-chat {
    grid-template-columns: 1fr !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .cbcc-public-preview .cbcc-public-preview-card,
  .cbcc-my-space .cbcc-my-dashboard {
    animation: none !important;
  }

  .cbcc-public-book-row article::before,
  .cbcc-feed-card::before,
  .cbcc-saved-card::before,
  .cbcc-shelf-card::before,
  .cbcc-note-card::before,
  .cbcc-history-grid article::before {
    display: none !important;
  }
}


/* v6.5.5 Interactive Recommendation Experience */

/* Recommendation rails now feel like a product feature, not a static card row */
.cbcc-my-space .cbcc-feed-section,
.cbcc-my-space #cbcc-my-feed {
  position: relative !important;
}

.cbcc-my-space .cbcc-feed-section-head {
  align-items: flex-end !important;
}

.cbcc-my-space .cbcc-feed-section-head::after {
  content: "Swipe through your personalized shelf";
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 8px 12px;
  background: rgba(255,255,255,.64);
  color: #80675a;
  font-size: 12px;
  font-weight: 900;
  box-shadow: 0 10px 24px rgba(121,88,66,.08);
}

.cbcc-my-space .cbcc-feed-carousel {
  scroll-snap-type: x proximity !important;
  scroll-padding-left: 18px !important;
  position: relative !important;
}

.cbcc-my-space .cbcc-feed-card {
  scroll-snap-align: start !important;
  min-height: 420px !important;
  isolation: isolate !important;
  cursor: pointer !important;
  transform-origin: center bottom !important;
}

.cbcc-my-space .cbcc-feed-card::after {
  content: "";
  position: absolute;
  inset: auto 14px 14px 14px;
  height: 44%;
  z-index: 1;
  border-radius: 22px;
  background: linear-gradient(180deg, transparent, rgba(56,42,36,.10));
  pointer-events: none;
  opacity: 0;
  transition: opacity .28s ease;
}

.cbcc-my-space .cbcc-feed-card:hover::after,
.cbcc-my-space .cbcc-feed-card.is-expanded::after {
  opacity: 1;
}

.cbcc-my-space .cbcc-feed-card .cbcc-feed-cover {
  position: relative !important;
  overflow: hidden !important;
}

.cbcc-my-space .cbcc-feed-card .cbcc-feed-cover::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 30% 20%, rgba(255,255,255,.42), transparent 24%),
    linear-gradient(180deg, transparent 50%, rgba(0,0,0,.14));
  opacity: .3;
  transition: opacity .3s ease;
}

.cbcc-my-space .cbcc-feed-card:hover .cbcc-feed-cover::after,
.cbcc-my-space .cbcc-feed-card.is-expanded .cbcc-feed-cover::after {
  opacity: .75;
}

.cbcc-rec-because {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  width: fit-content;
  max-width: 100%;
  margin: 10px 0 0;
  padding: 7px 10px;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(248,207,216,.78), rgba(255,241,200,.72));
  color: #765642;
  font-size: 11px;
  line-height: 1.1;
  font-weight: 900;
  box-shadow: 0 10px 24px rgba(121,88,66,.08);
}

.cbcc-rec-because::before {
  content: "✦";
  opacity: .75;
}

.cbcc-rec-detail-panel {
  display: grid;
  gap: 8px;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transform: translateY(-6px);
  transition: max-height .32s ease, opacity .24s ease, transform .24s ease, margin .24s ease;
}

.cbcc-feed-card.is-expanded .cbcc-rec-detail-panel,
.cbcc-feed-card:hover .cbcc-rec-detail-panel {
  max-height: 180px;
  opacity: 1;
  transform: translateY(0);
  margin-top: 10px;
}

.cbcc-rec-detail-panel span {
  display: inline-flex;
  width: fit-content;
  border-radius: 999px;
  padding: 6px 9px;
  background: rgba(255,255,255,.68);
  color: #80675a;
  font-size: 11px;
  font-weight: 900;
  box-shadow: 0 8px 18px rgba(121,88,66,.055);
}

.cbcc-rec-detail-panel p {
  margin: 0;
  color: #715b50;
  font-size: 12px;
  line-height: 1.45;
}

.cbcc-rec-expand-hint {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: auto;
  color: #9b6d57;
  font-weight: 900;
  font-size: 12px;
  opacity: .72;
}

.cbcc-rec-expand-hint::after {
  content: "→";
  transition: transform .22s ease;
}

.cbcc-feed-card:hover .cbcc-rec-expand-hint::after,
.cbcc-feed-card.is-expanded .cbcc-rec-expand-hint::after {
  transform: translateX(4px);
}

.cbcc-feed-card.is-expanded {
  background:
    radial-gradient(circle at 18% 10%, rgba(248,207,216,.56), transparent 34%),
    radial-gradient(circle at 92% 8%, rgba(191,238,242,.58), transparent 34%),
    rgba(255,255,255,.76) !important;
  box-shadow:
    0 30px 90px rgba(121,88,66,.16),
    inset 0 1px 0 rgba(255,255,255,.72) !important;
}

.cbcc-feed-card.is-expanded .cbcc-feed-cover {
  transform: scale(1.025);
}

/* Add cinematic shelf fade edges */
.cbcc-my-space .cbcc-feed-carousel-wrap,
.cbcc-my-space .cbcc-feed-carousel {
  mask-image: linear-gradient(90deg, transparent 0%, #000 4%, #000 96%, transparent 100%) !important;
}

/* Public page book cards get lighter interaction too */
.cbcc-public-preview .cbcc-public-book-row article {
  cursor: pointer !important;
}

.cbcc-public-preview .cbcc-public-book-row article::after {
  content: "Open pick";
  position: absolute;
  right: 12px;
  bottom: 12px;
  border-radius: 999px;
  padding: 6px 9px;
  background: rgba(255,255,255,.78);
  color: #765642;
  font-size: 11px;
  font-weight: 900;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity .22s ease, transform .22s ease;
  box-shadow: 0 10px 22px rgba(121,88,66,.10);
}

.cbcc-public-preview .cbcc-public-book-row article:hover::after {
  opacity: 1;
  transform: translateY(0);
}

/* Recommendation mini controls */
.cbcc-rec-rail-tools {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  margin: -4px 0 10px;
}

.cbcc-rec-rail-tools button {
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  background: rgba(255,255,255,.78);
  color: #765642;
  font-weight: 900;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(121,88,66,.10);
  transition: transform .2s ease, background .2s ease;
}

.cbcc-rec-rail-tools button:hover {
  transform: translateY(-2px);
  background: linear-gradient(135deg,#f8cfd8,#fff1c8);
}

/* Keep mobile stable */
@media (max-width: 980px) {
  .cbcc-my-space .cbcc-feed-section-head::after {
    display: none;
  }

  .cbcc-feed-card .cbcc-rec-detail-panel {
    max-height: none !important;
    opacity: 1 !important;
    transform: none !important;
    margin-top: 8px !important;
  }

  .cbcc-my-space .cbcc-feed-card {
    min-height: 360px !important;
  }

  .cbcc-rec-rail-tools {
    justify-content: flex-start;
    padding-left: 2px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .cbcc-rec-detail-panel,
  .cbcc-rec-expand-hint::after,
  .cbcc-public-preview .cbcc-public-book-row article::after {
    transition: none !important;
  }
}


/* v6.5.6 Recommendation Click + Cover Fix */

/* Prevent cover cropping */
.cbcc-public-cover,
.cbcc-feed-cover,
.cbcc-saved-cover,
.cbcc-status-cover,
.cbcc-note-cover,
.cbcc-history-cover {
  background-size: contain !important;
  background-repeat: no-repeat !important;
  background-position: center center !important;
  background-color: rgba(255,255,255,.58) !important;
}

/* Public featured books */
.cbcc-public-preview .cbcc-public-book-row article {
  overflow: visible !important;
}

.cbcc-public-preview .cbcc-public-book-row article::after {
  pointer-events: none !important;
}

/* Feed cards */
.cbcc-my-space .cbcc-feed-card {
  overflow: visible !important;
}

.cbcc-my-space .cbcc-feed-card::before,
.cbcc-my-space .cbcc-feed-card::after {
  pointer-events: none !important;
}

.cbcc-my-space .cbcc-feed-card .cbcc-feed-cover {
  overflow: hidden !important;
}

/* Ensure recommendation card links stay clickable */
.cbcc-my-space .cbcc-feed-card a,
.cbcc-public-preview .cbcc-public-book-row article a {
  position: relative !important;
  z-index: 5 !important;
}

/* Make recommendation cards visually clickable */
.cbcc-my-space .cbcc-feed-card,
.cbcc-public-preview .cbcc-public-book-row article {
  cursor: pointer !important;
}

/* Better book image proportions */
.cbcc-public-preview .cbcc-public-cover {
  height: 210px !important;
  padding: 10px !important;
}

.cbcc-my-space .cbcc-feed-cover {
  height: 240px !important;
  padding: 10px !important;
}

/* Fix recommendation rail clipping */
.cbcc-my-space .cbcc-feed-carousel {
  overflow-y: visible !important;
  padding-top: 12px !important;
}

/* Open pick badge should not block clicks */
.cbcc-public-preview .cbcc-public-book-row article::after {
  z-index: 2 !important;
}


/* v6.5.7 Real Recommendation Links + Cover Fit */

/* Book covers: zoomed out, not cropped */
.cbcc-public-cover,
.cbcc-feed-cover,
.cbcc-saved-cover,
.cbcc-status-cover,
.cbcc-note-cover,
.cbcc-history-cover,
.cbcc-rec-cover,
.cbcc-analytics-cover,
.cbcc-book-cover,
.cbcc-recommendation-cover {
  background-size: contain !important;
  background-repeat: no-repeat !important;
  background-position: center center !important;
  background-color: rgba(255,255,255,.72) !important;
}

/* Public featured covers need smaller display inside card */
.cbcc-public-preview .cbcc-public-cover {
  height: 190px !important;
  border-radius: 20px !important;
  background-size: 88% auto !important;
}

/* Recommendation history signal covers */
.cbcc-my-space .cbcc-history-cover,
.cbcc-my-space .cbcc-rec-cover,
.cbcc-my-space .cbcc-analytics-cover,
.cbcc-my-space .cbcc-recommendation-cover,
.cbcc-my-space .cbcc-reading-analytics [style*="background-image"] {
  background-size: 82% auto !important;
  background-repeat: no-repeat !important;
  background-position: center center !important;
  background-color: rgba(255,255,255,.72) !important;
}

/* Feed covers slightly zoomed out */
.cbcc-my-space .cbcc-feed-cover {
  height: 230px !important;
  background-size: 88% auto !important;
}

/* Recommendation history cards: make real clickable card feel */
.cbcc-my-space .cbcc-history-grid article,
.cbcc-my-space .cbcc-reading-analytics article,
.cbcc-my-space .cbcc-recommendation-card,
.cbcc-my-space .cbcc-rec-card {
  cursor: pointer !important;
}

.cbcc-my-space .cbcc-history-grid article a,
.cbcc-my-space .cbcc-reading-analytics article a,
.cbcc-my-space .cbcc-recommendation-card a,
.cbcc-my-space .cbcc-rec-card a {
  position: relative !important;
  z-index: 10 !important;
}

/* Remove badge click blocking entirely */
.cbcc-public-preview .cbcc-public-book-row article::after {
  pointer-events: none !important;
}

/* Add visual hint only to cards with a real URL */
.cbcc-my-space [data-cbcc-book-url]::after,
.cbcc-my-space [data-book-url]::after {
  content: "Open book";
  position: absolute;
  right: 12px;
  bottom: 12px;
  z-index: 4;
  border-radius: 999px;
  padding: 6px 9px;
  background: rgba(255,255,255,.82);
  color: #765642;
  font-size: 11px;
  font-weight: 900;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity .2s ease, transform .2s ease;
  pointer-events: none;
  box-shadow: 0 10px 22px rgba(121,88,66,.10);
}

.cbcc-my-space [data-cbcc-book-url]:hover::after,
.cbcc-my-space [data-book-url]:hover::after {
  opacity: 1;
  transform: translateY(0);
}

/* Keep card overlays from blocking clicks */
.cbcc-feed-card::before,
.cbcc-feed-card::after,
.cbcc-public-book-row article::before,
.cbcc-public-book-row article::after,
.cbcc-history-grid article::before,
.cbcc-history-grid article::after {
  pointer-events: none !important;
}


/* v6.5.8 Cover Ratio + Placeholder Cleanup */

/* REAL book-cover ratio system */
.cbcc-public-cover,
.cbcc-feed-cover,
.cbcc-saved-cover,
.cbcc-status-cover,
.cbcc-note-cover,
.cbcc-history-cover,
.cbcc-rec-cover,
.cbcc-analytics-cover,
.cbcc-book-cover,
.cbcc-recommendation-cover {
  aspect-ratio: 2 / 3 !important;
  width: 100% !important;
  height: auto !important;
  min-height: 0 !important;
  background-size: contain !important;
  background-repeat: no-repeat !important;
  background-position: center center !important;
  background-color: rgba(255,255,255,.76) !important;
  border-radius: 18px !important;
  padding: 0 !important;
  box-shadow:
    inset 0 0 0 1px rgba(255,255,255,.55),
    0 12px 32px rgba(65,45,35,.12) !important;
}

/* Public featured cards */
.cbcc-public-preview .cbcc-public-book-row article {
  padding: 16px !important;
}

.cbcc-public-preview .cbcc-public-cover {
  width: 100% !important;
  max-width: 190px !important;
  margin: 0 auto 14px !important;
  background-size: contain !important;
}

/* Feed cards */
.cbcc-my-space .cbcc-feed-card {
  min-height: auto !important;
}

.cbcc-my-space .cbcc-feed-cover {
  width: 100% !important;
  max-width: 210px !important;
  margin: 0 auto 14px !important;
  background-size: contain !important;
}

/* Analytics / recommendation history */
.cbcc-my-space .cbcc-history-grid article,
.cbcc-my-space .cbcc-reading-analytics article,
.cbcc-my-space .cbcc-recommendation-card,
.cbcc-my-space .cbcc-rec-card {
  position: relative !important;
}

.cbcc-my-space .cbcc-history-cover,
.cbcc-my-space .cbcc-rec-cover,
.cbcc-my-space .cbcc-analytics-cover,
.cbcc-my-space .cbcc-recommendation-cover {
  width: 100% !important;
  max-width: 150px !important;
  margin: 0 auto 12px !important;
  background-size: contain !important;
}

/* Remove ugly placeholder gradient cards pretending to be books */
.cbcc-my-space .cbcc-history-grid article:not([data-cbcc-book-url]) .cbcc-history-cover,
.cbcc-my-space .cbcc-reading-analytics article:not([data-cbcc-book-url]) .cbcc-rec-cover,
.cbcc-my-space .cbcc-reading-analytics article:not([data-cbcc-book-url]) .cbcc-analytics-cover {
  background-image: none !important;
  background:
    linear-gradient(135deg, rgba(248,207,216,.48), rgba(255,241,200,.44), rgba(191,238,242,.48)) !important;
  opacity: .55;
}

/* Make placeholder cards visibly "coming soon" instead of broken */
.cbcc-my-space .cbcc-history-grid article:not([data-cbcc-book-url])::after,
.cbcc-my-space .cbcc-reading-analytics article:not([data-cbcc-book-url])::after {
  content: "Recommendation learning";
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 12px;
  border-radius: 14px;
  padding: 8px 10px;
  background: rgba(255,255,255,.82);
  color: #80675a;
  font-size: 11px;
  line-height: 1.3;
  font-weight: 900;
  text-align: center;
  box-shadow: 0 8px 18px rgba(121,88,66,.08);
}

/* Clean up the placeholder sentence */
.cbcc-my-space .cbcc-reading-analytics p {
  text-wrap: pretty;
}

.cbcc-my-space .cbcc-reading-analytics p:has(+ .cbcc-history-grid) {
  max-width: 760px;
}

/* More elegant recommendation history layout */
.cbcc-my-space .cbcc-history-grid {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)) !important;
  gap: 18px !important;
}

.cbcc-my-space .cbcc-history-grid article {
  padding: 16px !important;
  border-radius: 24px !important;
  min-height: 260px !important;
  display: flex !important;
  flex-direction: column !important;
}

.cbcc-my-space .cbcc-history-grid strong,
.cbcc-my-space .cbcc-reading-analytics strong {
  line-height: 1.2 !important;
}

/* Mobile */
@media (max-width: 980px) {
  .cbcc-public-preview .cbcc-public-cover {
    max-width: 160px !important;
  }

  .cbcc-my-space .cbcc-feed-cover {
    max-width: 180px !important;
  }

  .cbcc-my-space .cbcc-history-cover,
  .cbcc-my-space .cbcc-rec-cover,
  .cbcc-my-space .cbcc-analytics-cover,
  .cbcc-my-space .cbcc-recommendation-cover {
    max-width: 130px !important;
  }
}


/* v6.5.9 No Placeholder + Cover Fill Fix */

/* Remove the white cover backing look: covers fill the art box again. */
.cbcc-public-preview .cbcc-public-cover,
.cbcc-my-space .cbcc-feed-cover,
.cbcc-my-space .cbcc-saved-cover,
.cbcc-my-space .cbcc-status-cover,
.cbcc-my-space .cbcc-note-cover,
.cbcc-my-space .cbcc-history-cover,
.cbcc-my-space .cbcc-rec-cover,
.cbcc-my-space .cbcc-analytics-cover,
.cbcc-my-space .cbcc-recommendation-cover {
  background-size: cover !important;
  background-position: center center !important;
  background-repeat: no-repeat !important;
  background-color: transparent !important;
  padding: 0 !important;
}

/* Keep book boxes a little smaller so the cover does not feel zoomed-in huge. */
.cbcc-public-preview .cbcc-public-cover {
  max-width: 175px !important;
  aspect-ratio: 2 / 3 !important;
  height: auto !important;
  margin: 0 auto 14px !important;
}

.cbcc-my-space .cbcc-feed-cover {
  max-width: 185px !important;
  aspect-ratio: 2 / 3 !important;
  height: auto !important;
  margin: 0 auto 14px !important;
}

.cbcc-my-space .cbcc-history-cover,
.cbcc-my-space .cbcc-rec-cover,
.cbcc-my-space .cbcc-analytics-cover,
.cbcc-my-space .cbcc-recommendation-cover {
  max-width: 145px !important;
  aspect-ratio: 2 / 3 !important;
  height: auto !important;
  margin: 0 auto 12px !important;
}

/* Do not show generated/fake placeholder recommendation cards. */
.cbcc-hide-placeholder-rec,
.cbcc-my-space [data-cbcc-placeholder="1"] {
  display: none !important;
}

/* Remove fake placeholder copy from recommendation signals. */
.cbcc-placeholder-copy-hidden {
  display: none !important;
}

/* Clean recommendation history after placeholders are removed. */
.cbcc-my-space .cbcc-history-grid {
  grid-template-columns: repeat(auto-fit, minmax(155px, 1fr)) !important;
  gap: 18px !important;
  align-items: start !important;
}

.cbcc-my-space .cbcc-history-grid article {
  min-height: auto !important;
  padding: 14px !important;
}

/* Keep section from feeling empty if only a few real books exist. */
.cbcc-my-space .cbcc-reading-analytics .cbcc-history-grid:empty::after {
  content: "Recommendation activity will appear here once readers save, open, skip, or favorite books.";
  display: block;
  padding: 14px 16px;
  border-radius: 18px;
  background: rgba(255,255,255,.58);
  color: #80675a;
  font-weight: 800;
}

/* Public featured cards: less blank bottom clipping. */
.cbcc-public-preview .cbcc-public-book-row article {
  min-height: 340px !important;
}

@media (max-width: 980px) {
  .cbcc-public-preview .cbcc-public-cover {
    max-width: 150px !important;
  }

  .cbcc-my-space .cbcc-feed-cover {
    max-width: 165px !important;
  }

  .cbcc-my-space .cbcc-history-cover,
  .cbcc-my-space .cbcc-rec-cover,
  .cbcc-my-space .cbcc-analytics-cover,
  .cbcc-my-space .cbcc-recommendation-cover {
    max-width: 125px !important;
  }
}


/* v6.6.0 Restore Recommendations + Private Cover Fix */

/* Restore recommendation cards that v6.5.9 hid too aggressively. */
.cbcc-hide-placeholder-rec,
.cbcc-my-space [data-cbcc-placeholder="1"] {
  display: flex !important;
}

/* Remove the unpleasant white cover backing on PRIVATE recommendation/history cards. */
.cbcc-my-space .cbcc-history-cover,
.cbcc-my-space .cbcc-rec-cover,
.cbcc-my-space .cbcc-analytics-cover,
.cbcc-my-space .cbcc-recommendation-cover,
.cbcc-my-space .cbcc-reading-analytics [style*="background-image"] {
  width: 100% !important;
  max-width: 155px !important;
  aspect-ratio: 2 / 3 !important;
  height: auto !important;
  margin: 0 auto 12px !important;
  border-radius: 18px !important;
  padding: 0 !important;
  background-size: cover !important;
  background-position: center center !important;
  background-repeat: no-repeat !important;
  background-color: transparent !important;
  box-shadow: 0 14px 34px rgba(65,45,35,.14) !important;
}

/* If a recommendation has no real cover yet, show a deliberate mini cover instead of hiding the book. */
.cbcc-my-space [data-cbcc-placeholder="1"] .cbcc-history-cover,
.cbcc-my-space [data-cbcc-placeholder="1"] .cbcc-rec-cover,
.cbcc-my-space [data-cbcc-placeholder="1"] .cbcc-analytics-cover,
.cbcc-my-space [data-cbcc-placeholder="1"] .cbcc-recommendation-cover {
  background:
    radial-gradient(circle at 25% 18%, rgba(255,255,255,.55), transparent 28%),
    linear-gradient(135deg, #f8cfd8 0%, #fff1c8 48%, #bfeef2 100%) !important;
  box-shadow:
    inset 0 0 0 1px rgba(255,255,255,.58),
    0 14px 34px rgba(65,45,35,.10) !important;
  opacity: .95 !important;
}

/* Label no-cover cards gently, without pretending they are broken. */
.cbcc-my-space [data-cbcc-placeholder="1"] .cbcc-history-cover::after,
.cbcc-my-space [data-cbcc-placeholder="1"] .cbcc-rec-cover::after,
.cbcc-my-space [data-cbcc-placeholder="1"] .cbcc-analytics-cover::after,
.cbcc-my-space [data-cbcc-placeholder="1"] .cbcc-recommendation-cover::after {
  content: "Cover coming";
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  color: #80675a;
  font-size: 11px;
  font-weight: 900;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: .06em;
  opacity: .75;
}

/* Remove the extra fake badge added previously to placeholder cards. */
.cbcc-my-space .cbcc-history-grid article:not([data-cbcc-book-url])::after,
.cbcc-my-space .cbcc-reading-analytics article:not([data-cbcc-book-url])::after {
  content: none !important;
}

/* Keep recommendation history cards balanced after restoring all books. */
.cbcc-my-space .cbcc-history-grid {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)) !important;
  gap: 20px !important;
  align-items: start !important;
}

.cbcc-my-space .cbcc-history-grid article,
.cbcc-my-space .cbcc-reading-analytics article {
  min-height: auto !important;
  padding: 14px !important;
  border-radius: 24px !important;
  background: rgba(255,255,255,.46) !important;
}

/* Make only real linked cards show Open book. Placeholder/no-link cards stay clean. */
.cbcc-my-space [data-cbcc-placeholder="1"]::after {
  content: none !important;
}

/* Hide only the sentence, not the books. */
.cbcc-placeholder-copy-hidden {
  display: none !important;
}


/* v6.6.1 Real Cover Restore Fix */

/* RESTORE REAL COVERS */
.cbcc-my-space .cbcc-history-cover,
.cbcc-my-space .cbcc-rec-cover,
.cbcc-my-space .cbcc-analytics-cover,
.cbcc-my-space .cbcc-recommendation-cover,
.cbcc-my-space .cbcc-reading-analytics [class*="cover"] {
  background-size: cover !important;
  background-position: center center !important;
  background-repeat: no-repeat !important;
  background-color: transparent !important;
}

/* Remove fake gradient placeholders entirely */
.cbcc-my-space [data-cbcc-placeholder="1"] .cbcc-history-cover,
.cbcc-my-space [data-cbcc-placeholder="1"] .cbcc-rec-cover,
.cbcc-my-space [data-cbcc-placeholder="1"] .cbcc-analytics-cover,
.cbcc-my-space [data-cbcc-placeholder="1"] .cbcc-recommendation-cover {
  background: transparent !important;
}

/* Remove COVER COMING overlay */
.cbcc-my-space [data-cbcc-placeholder="1"] .cbcc-history-cover::after,
.cbcc-my-space [data-cbcc-placeholder="1"] .cbcc-rec-cover::after,
.cbcc-my-space [data-cbcc-placeholder="1"] .cbcc-analytics-cover::after,
.cbcc-my-space [data-cbcc-placeholder="1"] .cbcc-recommendation-cover::after {
  content: none !important;
}

/* Better private recommendation sizing */
.cbcc-my-space .cbcc-history-cover,
.cbcc-my-space .cbcc-rec-cover,
.cbcc-my-space .cbcc-analytics-cover,
.cbcc-my-space .cbcc-recommendation-cover {
  max-width: 150px !important;
  aspect-ratio: 2 / 3 !important;
  border-radius: 18px !important;
  overflow: hidden !important;
  box-shadow: 0 14px 28px rgba(65,45,35,.12) !important;
}


/* v6.6.2 Recommendation Source Restore */
.cbcc-v662-restored-card {
  display: flex !important;
  flex-direction: column !important;
  padding: 14px !important;
  border-radius: 24px !important;
  background: rgba(255,255,255,.46) !important;
  box-shadow: 0 14px 32px rgba(65,45,35,.08) !important;
}
.cbcc-v662-restored-card a { color: inherit !important; text-decoration: none !important; }
.cbcc-v662-restored-cover {
  display: block !important;
  width: 100% !important;
  max-width: 150px !important;
  aspect-ratio: 2 / 3 !important;
  margin: 0 auto 12px !important;
  border-radius: 18px !important;
  background-size: cover !important;
  background-position: center center !important;
  background-repeat: no-repeat !important;
  box-shadow: 0 14px 28px rgba(65,45,35,.12) !important;
}
.cbcc-v662-restored-card strong {
  display: block !important;
  color: #382a24 !important;
  line-height: 1.18 !important;
  font-size: 18px !important;
}
.cbcc-v662-restored-card small {
  display: block !important;
  margin-top: 8px !important;
  color: #80675a !important;
  font-weight: 900 !important;
}


/* v6.6.3 Recommendation Containment + Smart Sections */

/* Keep My Space from becoming endlessly tall */
.cbcc-my-space .cbcc-history-grid,
.cbcc-my-space .cbcc-reading-analytics .cbcc-history-grid,
.cbcc-my-space .cbcc-recommendation-grid,
.cbcc-my-space .cbcc-rec-grid {
  display: flex !important;
  gap: 16px !important;
  overflow-x: auto !important;
  overflow-y: visible !important;
  scroll-snap-type: x proximity !important;
  padding: 8px 4px 20px !important;
  mask-image: linear-gradient(90deg, transparent, #000 3%, #000 97%, transparent) !important;
  scrollbar-width: thin !important;
}

.cbcc-my-space .cbcc-history-grid article,
.cbcc-my-space .cbcc-reading-analytics .cbcc-history-grid article,
.cbcc-my-space .cbcc-recommendation-grid article,
.cbcc-my-space .cbcc-rec-grid article,
.cbcc-v662-restored-card {
  flex: 0 0 165px !important;
  width: 165px !important;
  min-width: 165px !important;
  max-width: 165px !important;
  scroll-snap-align: start !important;
  min-height: auto !important;
}

/* Limit visible rail height */
.cbcc-my-space .cbcc-reading-analytics,
.cbcc-my-space .cbcc-my-section:has(.cbcc-history-grid) {
  max-height: none !important;
}

.cbcc-my-space .cbcc-history-cover,
.cbcc-my-space .cbcc-rec-cover,
.cbcc-my-space .cbcc-analytics-cover,
.cbcc-my-space .cbcc-recommendation-cover,
.cbcc-v662-restored-cover {
  max-width: 118px !important;
  aspect-ratio: 2 / 3 !important;
  margin: 0 auto 10px !important;
}

/* Containment toolbar */
.cbcc-rec-containment-tools {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin: 8px 0 10px;
}

.cbcc-rec-containment-tools span {
  color: #80675a;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.cbcc-rec-containment-actions {
  display: flex;
  gap: 8px;
}

.cbcc-rec-containment-actions button {
  border: 0;
  border-radius: 999px;
  padding: 9px 12px;
  background: rgba(255,255,255,.78);
  color: #765642;
  font-weight: 900;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(121,88,66,.08);
}

.cbcc-rec-containment-actions button:hover {
  background: linear-gradient(135deg,#f8cfd8,#fff1c8);
}

/* Collapsed/expanded behavior */
.cbcc-rec-section-collapsed .cbcc-history-grid article:nth-child(n+7),
.cbcc-rec-section-collapsed .cbcc-rec-grid article:nth-child(n+7),
.cbcc-rec-section-collapsed .cbcc-recommendation-grid article:nth-child(n+7),
.cbcc-rec-section-collapsed .cbcc-v662-restored-card:nth-child(n+7) {
  display: none !important;
}

.cbcc-rec-section-expanded .cbcc-history-grid,
.cbcc-rec-section-expanded .cbcc-rec-grid,
.cbcc-rec-section-expanded .cbcc-recommendation-grid {
  padding-bottom: 24px !important;
}

/* Compact title/text inside rails */
.cbcc-my-space .cbcc-history-grid article strong,
.cbcc-my-space .cbcc-reading-analytics article strong,
.cbcc-v662-restored-card strong {
  font-size: 14px !important;
  line-height: 1.18 !important;
}

.cbcc-my-space .cbcc-history-grid article small,
.cbcc-my-space .cbcc-reading-analytics article small,
.cbcc-v662-restored-card small {
  font-size: 12px !important;
}

/* Recommendation section summary card */
.cbcc-rec-section-note {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  border-radius: 999px;
  padding: 7px 10px;
  background: rgba(255,255,255,.62);
  color: #80675a;
  font-size: 12px;
  font-weight: 900;
  margin-bottom: 8px;
}

/* Public page stays stable */
.cbcc-public-preview .cbcc-public-book-row {
  overflow: visible !important;
}

@media (max-width: 980px) {
  .cbcc-my-space .cbcc-history-grid article,
  .cbcc-my-space .cbcc-reading-analytics .cbcc-history-grid article,
  .cbcc-my-space .cbcc-recommendation-grid article,
  .cbcc-my-space .cbcc-rec-grid article,
  .cbcc-v662-restored-card {
    flex-basis: 145px !important;
    width: 145px !important;
    min-width: 145px !important;
    max-width: 145px !important;
  }

  .cbcc-rec-containment-tools {
    align-items: flex-start;
    flex-direction: column;
  }
}


/* v6.7.2 Exact Private Dashboard Replacement
   Dedicated clean My Space renderer. Old My Space DOM is removed by JS.
   Keeps CozyBooks colours, previous hover gradients, and avatar/leaves movement.
*/

.cbcc-ref-private-v672 {
  width: min(1120px, calc(100% - 32px));
  margin: 28px auto;
  padding: 28px;
  border-radius: 34px;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background:
    radial-gradient(circle at 9% 4%, rgba(248,207,216,.46), transparent 26%),
    radial-gradient(circle at 92% 6%, rgba(198,225,196,.40), transparent 28%),
    linear-gradient(180deg, #fff8f1 0%, #fffafb 52%, #fff7f4 100%);
  box-shadow: 0 30px 100px rgba(121,88,66,.10);
  color: #382a24;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.cbcc-ref-private-v672 * { box-sizing: border-box; }

.cbcc-ref-private-v672 a { color: inherit; }

/* animated leaves */
.cbcc-ref-leaf-v672 {
  position: absolute;
  width: 88px;
  height: 34px;
  border-radius: 90% 20% 90% 20%;
  background: rgba(151,188,142,.28);
  transform: rotate(-76deg);
  pointer-events: none;
  animation: cbccRefLeafV672 7s ease-in-out infinite;
  z-index: 0;
}
.cbcc-ref-leaf-v672.one { top: 22px; left: 190px; }
.cbcc-ref-leaf-v672.two { top: 30px; right: 150px; animation-delay: -2s; }
.cbcc-ref-leaf-v672.three { top: 20px; right: 76px; animation-delay: -4s; }

@keyframes cbccRefLeafV672 {
  0%, 100% { translate: 0 0; rotate: -76deg; }
  50% { translate: 0 -8px; rotate: -68deg; }
}

/* top nav */
.cbcc-ref-nav-v672 {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 12px 16px;
  border-radius: 999px;
  background: rgba(255,255,255,.62);
  margin-bottom: 24px;
  border: 1px solid rgba(121,88,66,.06);
}
.cbcc-ref-brand-v672 {
  font-weight: 900;
  margin-right: auto;
  font-family: Georgia, serif;
}
.cbcc-ref-nav-v672 a {
  text-decoration: none;
  font-weight: 800;
  font-size: 13px;
  padding: 8px 12px;
  border-radius: 999px;
  color: #5d4b43;
}
.cbcc-ref-nav-v672 a:hover,
.cbcc-ref-nav-v672 a.is-active {
  background: linear-gradient(135deg, rgba(248,207,216,.85), rgba(255,241,200,.80));
  color: #765642;
}
.cbcc-ref-nav-icons-v672 {
  display: flex;
  gap: 8px;
  align-items: center;
  margin-left: 8px;
}
.cbcc-ref-nav-icons-v672 span {
  width: 32px; height: 32px; display: grid; place-items: center;
  border-radius: 50%;
  background: rgba(255,255,255,.76);
}

/* hero */
.cbcc-ref-hero-v672 {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 26px;
  margin-bottom: 18px;
}

.cbcc-ref-card-v672 {
  background: rgba(255,255,255,.72);
  border: 1px solid rgba(255,255,255,.84);
  box-shadow: 0 14px 42px rgba(121,88,66,.065);
}

.cbcc-ref-welcome-v672 {
  min-height: 330px;
  border-radius: 30px;
  padding: 38px;
}
.cbcc-ref-kicker-v672 {
  display: block;
  text-transform: uppercase;
  letter-spacing: .10em;
  color: #a3725d;
  font-weight: 900;
  font-size: 11px;
  margin-bottom: 12px;
}
.cbcc-ref-welcome-v672 h1 {
  font-family: Georgia, serif;
  font-size: clamp(42px, 5vw, 68px);
  line-height: .92;
  letter-spacing: -.045em;
  margin: 0 0 20px;
  max-width: 450px;
}
.cbcc-ref-welcome-v672 p {
  max-width: 450px;
  line-height: 1.6;
  color: #715b50;
  margin: 0 0 22px;
}
.cbcc-ref-btn-v672 {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 999px;
  padding: 12px 17px;
  background: linear-gradient(135deg,#c7a27c,#d8a5b7);
  color: #fff !important;
  font-weight: 900;
  text-decoration: none;
  box-shadow: 0 10px 26px rgba(165,111,91,.18);
  cursor: pointer;
}
.cbcc-ref-btn-v672:hover {
  background: linear-gradient(135deg,#f8cfd8,#fff1c8);
  color: #765642 !important;
}
.cbcc-ref-link-v672 {
  display: inline-flex;
  margin-left: 12px;
  color: #765642;
  font-weight: 900;
  text-decoration: none;
}

/* avatar card */
.cbcc-ref-reader-v672 {
  border-radius: 28px;
  padding: 24px;
}
.cbcc-ref-profile-v672 {
  display: grid;
  grid-template-columns: 86px 1fr;
  gap: 16px;
  align-items: center;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(121,88,66,.10);
}
.cbcc-ref-avatar-v672 {
  position: relative;
  width: 82px;
  height: 96px;
  animation: cbccRefAvatarV672 5.5s ease-in-out infinite;
}
@keyframes cbccRefAvatarV672 {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 -5px; }
}
.cbcc-ref-avatar-v672:before {
  content: "";
  position: absolute;
  left: 15px;
  top: 8px;
  width: 54px;
  height: 46px;
  border-radius: 50% 50% 44% 44%;
  background: #3a2016;
  box-shadow: -10px 8px 0 #3a2016, 10px 8px 0 #3a2016;
}
.cbcc-ref-avatar-v672:after {
  content: "";
  position: absolute;
  left: 28px;
  top: 34px;
  width: 28px;
  height: 32px;
  border-radius: 50%;
  background: #bd744f;
  box-shadow: 0 38px 0 16px #fff1c8;
}
.cbcc-ref-pill-v672 {
  display: inline-flex;
  width: fit-content;
  margin-top: 8px;
  border-radius: 999px;
  padding: 7px 10px;
  background: #fff4d5;
  color: #765642;
  font-weight: 900;
  font-size: 12px;
}
.cbcc-ref-mini-stats-v672 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 16px;
}
.cbcc-ref-mini-stats-v672 div {
  padding: 10px;
  border-radius: 16px;
  background: rgba(255,255,255,.64);
}
.cbcc-ref-mini-stats-v672 strong { display: block; font-size: 20px; }
.cbcc-ref-mood-v672 {
  display: grid;
  grid-template-columns: 70px 1fr;
  gap: 14px;
  align-items: center;
  margin-top: 16px;
}
.cbcc-ref-gradient-v672 {
  border-radius: 16px;
  aspect-ratio: 1;
  background: linear-gradient(135deg, #f8cfd8, #fff1c8, #bfeef2);
}

/* snapshot strip */
.cbcc-ref-strip-v672 {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, .55fr);
  gap: 16px;
  align-items: center;
  border-radius: 24px;
  padding: 18px 22px;
  margin-bottom: 18px;
}
.cbcc-ref-strip-v672 p { margin: 0; color: #715b50; }
.cbcc-ref-stat-v672 { display: flex; gap: 10px; align-items: center; }
.cbcc-ref-stat-v672 i,
.cbcc-ref-row-icon-v672,
.cbcc-ref-world-icon-v672 {
  font-style: normal;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(248,207,216,.78), rgba(255,241,200,.72));
}
.cbcc-ref-stat-v672 i { width: 38px; height: 38px; }
.cbcc-ref-stat-v672 strong { display: block; font-size: 20px; }

/* world grid */
.cbcc-ref-world-v672 {
  border-radius: 28px;
  padding: 28px;
  margin-bottom: 14px;
}
.cbcc-ref-world-v672 h2 {
  font-family: Georgia, serif;
  font-size: clamp(30px, 3vw, 44px);
  line-height: .96;
  margin: 0 0 8px;
}
.cbcc-ref-world-v672 p { margin: 0 0 18px; color: #715b50; }
.cbcc-ref-world-grid-v672 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.cbcc-ref-world-card-v672 {
  display: grid;
  grid-template-columns: 52px 1fr 20px;
  gap: 14px;
  align-items: center;
  min-height: 88px;
  padding: 16px;
  border-radius: 22px;
  background: rgba(255,255,255,.70);
  cursor: pointer;
  border: 0;
  color: inherit;
  text-align: left;
}
.cbcc-ref-world-card-v672:hover {
  background: linear-gradient(135deg, rgba(248,207,216,.85), rgba(255,241,200,.80));
}
.cbcc-ref-world-icon-v672 { width: 52px; height: 52px; font-size: 20px; background: rgba(255,255,255,.70); }
.cbcc-ref-world-card-v672 strong,
.cbcc-ref-row-v672 strong { display: block; margin-bottom: 4px; }
.cbcc-ref-world-card-v672 small,
.cbcc-ref-row-v672 small { color: #715b50; line-height: 1.35; }
.cbcc-ref-world-card-v672:after { content: "›"; color: #765642; font-size: 24px; }

/* rows */
.cbcc-ref-row-v672 {
  display: grid;
  grid-template-columns: 46px 1fr auto;
  gap: 16px;
  align-items: center;
  width: 100%;
  border-radius: 22px;
  padding: 15px 20px;
  margin-bottom: 8px;
  cursor: pointer;
  border: 1px solid rgba(255,255,255,.84);
  color: inherit;
  text-align: left;
}
.cbcc-ref-row-v672:hover {
  background: linear-gradient(135deg, rgba(248,207,216,.78), rgba(255,241,200,.72));
}
.cbcc-ref-row-icon-v672 { width: 42px; height: 42px; }
.cbcc-ref-row-action-v672,
.cbcc-ref-view-all-v672 {
  border: 1px solid rgba(155,109,87,.22);
  color: #765642;
  background: rgba(255,255,255,.70);
  border-radius: 999px;
  padding: 9px 13px;
  font-size: 12px;
  font-weight: 900;
  white-space: nowrap;
  text-decoration: none;
}

/* rec rail */
.cbcc-ref-recs-v672 {
  border-radius: 26px;
  padding: 20px 22px;
  margin: 18px 0 20px;
}
.cbcc-ref-recs-head-v672 { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.cbcc-ref-recs-head-v672 h2 { margin: 0; font-size: 20px; }
.cbcc-ref-view-all-v672 { margin-left: auto; }
.cbcc-ref-book-row-v672 {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  padding-bottom: 8px;
}
.cbcc-ref-book-v672 {
  flex: 0 0 92px;
  text-decoration: none;
  color: #382a24;
}
.cbcc-ref-cover-v672 {
  width: 92px;
  aspect-ratio: 2/3;
  border-radius: 12px;
  background-size: cover;
  background-position: center;
  box-shadow: 0 12px 26px rgba(65,45,35,.14);
  margin-bottom: 8px;
}
.cbcc-ref-book-v672 strong { display: block; font-size: 12px; line-height: 1.15; }

/* bottom */
.cbcc-ref-bottom-v672 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.cbcc-ref-bottom-card-v672 {
  border-radius: 26px;
  padding: 24px;
  min-height: 250px;
}
.cbcc-ref-bottom-card-v672 h2 {
  font-family: Georgia, serif;
  font-size: 32px;
  line-height: .95;
  margin: 0 0 12px;
}
.cbcc-ref-bottom-card-v672 p,
.cbcc-ref-bottom-card-v672 li { color: #715b50; }
.cbcc-ref-bottom-card-v672 ul { padding-left: 18px; }
.cbcc-ref-footer-v672 { margin-top: 18px; font-size: 12px; color: rgba(113,91,80,.72); }

.cbcc-original-myspace-removed-v672 { display: none !important; }

@media (max-width: 900px) {
  .cbcc-ref-private-v672 { width: calc(100% - 18px); padding: 18px 14px 24px; }
  .cbcc-ref-hero-v672,
  .cbcc-ref-strip-v672,
  .cbcc-ref-world-grid-v672,
  .cbcc-ref-bottom-v672 { grid-template-columns: 1fr; }
  .cbcc-ref-row-v672 { grid-template-columns: 42px 1fr; }
  .cbcc-ref-row-action-v672 { grid-column: 2; justify-self: start; }
  .cbcc-ref-nav-v672 { overflow-x: auto; }
}


/* v6.7.3 Button + Recommendation Image Reference Fix */

/* Match the reference hover/button colours more closely */
.cbcc-ref-private-v672 {
  --cbcc-btn-nude: #C7A27C;
  --cbcc-btn-nude-hover: #B8946F;
  --cbcc-btn-pink: #dca4b6;
  --cbcc-btn-soft: rgba(255,255,255,.74);
  --cbcc-text-brown: #382a24;
  --cbcc-warm-brown: #765642;
}

/* Main CTA buttons */
.cbcc-ref-btn-v672 {
  background: linear-gradient(135deg, var(--cbcc-btn-nude), var(--cbcc-btn-pink)) !important;
  color: #fff !important;
  border: 0 !important;
  box-shadow: 0 12px 28px rgba(165,111,91,.20) !important;
  transition: transform .22s ease, box-shadow .22s ease, background .22s ease !important;
}

.cbcc-ref-btn-v672:hover,
.cbcc-ref-btn-v672:focus {
  background: linear-gradient(135deg, var(--cbcc-btn-nude-hover), #d796aa) !important;
  color: #fff !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 18px 36px rgba(165,111,91,.26) !important;
}

/* Reference row action pills */
.cbcc-ref-row-action-v672,
.cbcc-ref-view-all-v672 {
  border: 1px solid rgba(199,162,124,.48) !important;
  color: var(--cbcc-warm-brown) !important;
  background: rgba(255,255,255,.82) !important;
  box-shadow: 0 8px 18px rgba(121,88,66,.055) !important;
  transition: transform .22s ease, box-shadow .22s ease, background .22s ease, color .22s ease !important;
}

.cbcc-ref-row-v672:hover .cbcc-ref-row-action-v672,
.cbcc-ref-view-all-v672:hover {
  background: linear-gradient(135deg, var(--cbcc-btn-nude), var(--cbcc-btn-pink)) !important;
  color: #fff !important;
  transform: translateY(-1px) !important;
}

/* Full row hover should stay soft, not flat white */
.cbcc-ref-row-v672:hover,
.cbcc-ref-world-card-v672:hover {
  background:
    radial-gradient(circle at 10% 20%, rgba(248,207,216,.62), transparent 36%),
    linear-gradient(135deg, rgba(255,255,255,.88), rgba(255,241,200,.56)) !important;
}

/* Nav active/hover to match prior soft button style */
.cbcc-ref-nav-v672 a:hover,
.cbcc-ref-nav-v672 a.is-active {
  background: linear-gradient(135deg, rgba(199,162,124,.28), rgba(220,164,182,.26)) !important;
  color: var(--cbcc-warm-brown) !important;
}

/* Fix username/email overflow in hero */
.cbcc-ref-welcome-v672 h1 {
  overflow-wrap: normal !important;
  word-break: normal !important;
}

.cbcc-ref-profile-v672 strong {
  display: block !important;
  max-width: 170px !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
}

/* Recommendation rail image recovery visuals */
.cbcc-ref-book-row-v672 {
  align-items: flex-start !important;
}

.cbcc-ref-book-v672 {
  flex: 0 0 100px !important;
  width: 100px !important;
  min-width: 100px !important;
}

.cbcc-ref-cover-v672 {
  width: 100px !important;
  max-width: 100px !important;
  border-radius: 14px !important;
  background-color: rgba(255,255,255,.62) !important;
  background-size: cover !important;
  background-position: center center !important;
}

.cbcc-ref-cover-v672:not([style*="background-image"]) {
  background:
    radial-gradient(circle at 25% 20%, rgba(255,255,255,.46), transparent 28%),
    linear-gradient(135deg, #f8cfd8 0%, #fff1c8 50%, #bfeef2 100%) !important;
}

.cbcc-ref-cover-v672:not([style*="background-image"])::after {
  content: "Cover";
  display: grid;
  place-items: center;
  height: 100%;
  color: rgba(118,86,66,.65);
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .08em;
}

/* Mobile */
@media (max-width: 900px) {
  .cbcc-ref-profile-v672 strong {
    max-width: 100% !important;
  }
}


/* v6.7.4 Visual Match Rebuild */

/* overall spacing + proportions */
.cbcc-ref-private-v672{
  width:min(1220px, calc(100% - 40px))!important;
  padding:34px 36px 40px!important;
  border-radius:38px!important;
}

/* softer leaves like reference */
.cbcc-ref-leaf-v672{
  width:120px!important;
  height:44px!important;
  opacity:.55!important;
  filter:blur(.2px)!important;
  background:rgba(180,210,165,.32)!important;
}
.cbcc-ref-leaf-v672.one{
  top:18px!important;
  left:140px!important;
}
.cbcc-ref-leaf-v672.two{
  top:12px!important;
  right:180px!important;
}
.cbcc-ref-leaf-v672.three{
  top:10px!important;
  right:72px!important;
}

/* nav */
.cbcc-ref-nav-v672{
  padding:14px 18px!important;
  border-radius:999px!important;
  background:rgba(255,255,255,.70)!important;
}
.cbcc-ref-nav-v672 a{
  font-size:13px!important;
  padding:10px 14px!important;
}
.cbcc-ref-nav-v672 a:hover,
.cbcc-ref-nav-v672 a.is-active{
  background:linear-gradient(135deg, rgba(248,207,216,.92), rgba(255,241,200,.88))!important;
  color:#7a5a48!important;
}

/* proper icons instead of emoji feel */
.cbcc-ref-nav-icons-v672 span{
  width:34px!important;
  height:34px!important;
  border-radius:50%!important;
  background:rgba(255,255,255,.82)!important;
  box-shadow:0 6px 16px rgba(121,88,66,.06)!important;
  font-size:14px!important;
}

/* hero */
.cbcc-ref-hero-v672{
  grid-template-columns:minmax(0,1fr) 360px!important;
  gap:30px!important;
}
.cbcc-ref-welcome-v672{
  min-height:360px!important;
  padding:42px!important;
}
.cbcc-ref-welcome-v672 h1{
  max-width:520px!important;
  font-size:clamp(54px,6vw,78px)!important;
}
.cbcc-ref-reader-v672{
  padding:28px!important;
}
.cbcc-ref-profile-v672{
  grid-template-columns:96px 1fr!important;
}

/* buttons back to blush pink */
.cbcc-ref-btn-v672{
  background:linear-gradient(135deg,#d7a08a,#e2a7c0)!important;
}
.cbcc-ref-btn-v672:hover{
  background:linear-gradient(135deg,#e2a7c0,#f8d9df)!important;
  color:#6d4d3c!important;
}

/* larger softer option cards */
.cbcc-ref-world-card-v672{
  min-height:108px!important;
  border-radius:24px!important;
  padding:18px!important;
  background:rgba(255,255,255,.80)!important;
}
.cbcc-ref-world-card-v672:hover{
  background:linear-gradient(135deg, rgba(248,207,216,.70), rgba(255,241,200,.72))!important;
}
.cbcc-ref-world-icon-v672{
  width:58px!important;
  height:58px!important;
}

/* action rows */
.cbcc-ref-row-v672{
  padding:18px 22px!important;
  border-radius:24px!important;
  margin-bottom:10px!important;
  background:rgba(255,255,255,.78)!important;
}
.cbcc-ref-row-v672:hover{
  background:linear-gradient(135deg, rgba(248,207,216,.58), rgba(255,241,200,.60))!important;
}
.cbcc-ref-row-action-v672,
.cbcc-ref-view-all-v672{
  background:rgba(255,255,255,.88)!important;
}
.cbcc-ref-row-v672:hover .cbcc-ref-row-action-v672,
.cbcc-ref-view-all-v672:hover{
  background:linear-gradient(135deg,#d7a08a,#e2a7c0)!important;
  color:#fff!important;
}

/* recommendations */
.cbcc-ref-recs-v672{
  padding:24px!important;
}
.cbcc-ref-book-row-v672{
  gap:18px!important;
}
.cbcc-ref-book-v672{
  flex:0 0 110px!important;
  width:110px!important;
}
.cbcc-ref-cover-v672{
  width:110px!important;
  border-radius:16px!important;
  box-shadow:0 18px 34px rgba(65,45,35,.18)!important;
}
.cbcc-ref-book-v672 strong{
  font-size:13px!important;
}

/* bottom cards */
.cbcc-ref-bottom-v672{
  gap:22px!important;
}
.cbcc-ref-bottom-card-v672{
  min-height:290px!important;
  padding:28px!important;
}

/* softer polish */
.cbcc-ref-card-v672,
.cbcc-ref-world-v672,
.cbcc-ref-strip-v672,
.cbcc-ref-recs-v672,
.cbcc-ref-bottom-card-v672{
  background:rgba(255,255,255,.76)!important;
  backdrop-filter:blur(10px)!important;
}


/* v6.7.5 Strict Reference Layout Fix */

/* prevent the old blur/glow overlays from washing over content */
.cbcc-ref-private-v672::before,
.cbcc-ref-private-v672::after,
.cbcc-ref-card-v672::before,
.cbcc-ref-card-v672::after,
.cbcc-ref-welcome-v672::before,
.cbcc-ref-welcome-v672::after,
.cbcc-ref-row-v672::before,
.cbcc-ref-row-v672::after,
.cbcc-ref-recs-v672::before,
.cbcc-ref-recs-v672::after {
  content: none !important;
  display: none !important;
  filter: none !important;
  backdrop-filter: none !important;
}

/* overall reference proportions */
.cbcc-ref-private-v672 {
  width: min(1180px, calc(100% - 42px)) !important;
  padding: 30px 34px 34px !important;
  border-radius: 36px !important;
  overflow: visible !important;
  background:
    radial-gradient(circle at 10% 3%, rgba(248,207,216,.34), transparent 27%),
    radial-gradient(circle at 94% 5%, rgba(179,211,165,.30), transparent 28%),
    linear-gradient(180deg,#fff8f2 0%, #fffafb 54%, #fff7f4 100%) !important;
}

/* leaf shape/placement closer to reference */
.cbcc-ref-leaf-v672 {
  width: 120px !important;
  height: 46px !important;
  border-radius: 85% 25% 85% 25% !important;
  background: rgba(165, 199, 151, .30) !important;
  opacity: .75 !important;
  filter: none !important;
  z-index: 0 !important;
}
.cbcc-ref-leaf-v672.one { top: 6px !important; left: 190px !important; transform: rotate(-76deg) !important; }
.cbcc-ref-leaf-v672.two { top: 4px !important; right: 170px !important; transform: rotate(-76deg) !important; }
.cbcc-ref-leaf-v672.three { top: 8px !important; right: 70px !important; transform: rotate(-76deg) !important; }

/* nav with real icon feel */
.cbcc-ref-nav-v672 {
  position: relative !important;
  z-index: 2 !important;
  margin-bottom: 24px !important;
  padding: 12px 16px !important;
  background: rgba(255,255,255,.72) !important;
  box-shadow: 0 10px 34px rgba(121,88,66,.055) !important;
}
.cbcc-ref-nav-icons-v672 span {
  color: transparent !important;
  position: relative !important;
  font-size: 0 !important;
}
.cbcc-ref-nav-icons-v672 span:nth-child(1)::before { content: "⌕"; }
.cbcc-ref-nav-icons-v672 span:nth-child(2)::before { content: "♧"; }
.cbcc-ref-nav-icons-v672 span:nth-child(3)::before { content: ""; }
.cbcc-ref-nav-icons-v672 span::before {
  color: #382a24 !important;
  font-size: 17px !important;
  line-height: 1 !important;
}
.cbcc-ref-nav-icons-v672 span:nth-child(3) {
  background:
    radial-gradient(circle at 50% 38%, #bd744f 0 18%, transparent 19%),
    radial-gradient(circle at 50% 82%, #fff1c8 0 28%, transparent 29%),
    #fff !important;
}

/* hero must not clip text */
.cbcc-ref-hero-v672 {
  grid-template-columns: minmax(0, 1fr) 340px !important;
  gap: 28px !important;
  overflow: visible !important;
}
.cbcc-ref-welcome-v672 {
  min-height: 345px !important;
  padding: 36px 40px !important;
  overflow: visible !important;
}
.cbcc-ref-welcome-v672 h1 {
  font-size: clamp(52px, 5.3vw, 72px) !important;
  max-width: 520px !important;
  overflow: visible !important;
  white-space: normal !important;
  word-break: normal !important;
  overflow-wrap: normal !important;
  line-height: .93 !important;
}
.cbcc-ref-welcome-v672 p {
  max-width: 470px !important;
}
.cbcc-ref-reader-v672 {
  padding: 26px !important;
  min-height: 345px !important;
}

/* cards should be crisp, not blurred */
.cbcc-ref-card-v672,
.cbcc-ref-world-v672,
.cbcc-ref-strip-v672,
.cbcc-ref-recs-v672,
.cbcc-ref-bottom-card-v672 {
  background: rgba(255,255,255,.78) !important;
  border: 1px solid rgba(255,255,255,.86) !important;
  backdrop-filter: none !important;
  filter: none !important;
}

/* snapshot bar spacing */
.cbcc-ref-strip-v672 {
  padding: 18px 24px !important;
  margin: 0 0 18px !important;
  border-radius: 24px !important;
}

/* world card more like reference */
.cbcc-ref-world-v672 {
  padding: 28px 30px !important;
  margin-bottom: 16px !important;
  border-radius: 28px !important;
}
.cbcc-ref-world-grid-v672 {
  gap: 16px !important;
}
.cbcc-ref-world-card-v672 {
  min-height: 98px !important;
  padding: 17px 18px !important;
  background: rgba(255,255,255,.76) !important;
  box-shadow: 0 10px 24px rgba(121,88,66,.045) !important;
}

/* rows */
.cbcc-ref-row-v672 {
  margin-bottom: 10px !important;
  padding: 16px 20px !important;
  background: rgba(255,255,255,.80) !important;
  box-shadow: 0 9px 28px rgba(121,88,66,.045) !important;
  filter: none !important;
}
.cbcc-ref-row-v672 * {
  filter: none !important;
}

/* recommendation images: force visible image element if generated */
.cbcc-ref-book-row-v672 {
  gap: 16px !important;
  overflow-x: auto !important;
  padding: 4px 0 10px !important;
}
.cbcc-ref-book-v672 {
  flex: 0 0 110px !important;
  width: 110px !important;
  min-width: 110px !important;
}
.cbcc-ref-cover-v672 {
  width: 110px !important;
  max-width: 110px !important;
  aspect-ratio: 2/3 !important;
  border-radius: 14px !important;
  background-size: cover !important;
  background-position: center center !important;
  background-repeat: no-repeat !important;
  background-color: rgba(255,255,255,.65) !important;
  box-shadow: 0 14px 28px rgba(65,45,35,.16) !important;
}
.cbcc-ref-cover-v672 img {
  width: 100% !important;
  height: 100% !important;
  display: block !important;
  object-fit: cover !important;
  border-radius: 14px !important;
}

/* only use gradient when truly no cover */
.cbcc-ref-cover-v672.cbcc-no-cover-v675 {
  background: linear-gradient(135deg,#f8cfd8 0%,#fff1c8 50%,#bfeef2 100%) !important;
}

/* bottom cards closer to image 1 */
.cbcc-ref-bottom-v672 {
  gap: 20px !important;
}
.cbcc-ref-bottom-card-v672 {
  min-height: 280px !important;
}

/* keep button hover as approved */
.cbcc-ref-btn-v672,
.cbcc-ref-row-v672:hover .cbcc-ref-row-action-v672,
.cbcc-ref-view-all-v672:hover {
  background: linear-gradient(135deg,#d7a08a,#e2a7c0) !important;
  color: #fff !important;
}
.cbcc-ref-btn-v672:hover {
  background: linear-gradient(135deg,#e2a7c0,#f8d9df) !important;
  color: #6d4d3c !important;
}


/* v6.7.6 Custom Icon System + Recommendation Binding Polish */

/* Final typography balance */
.cbcc-ref-welcome-v672 h1 {
  font-size: clamp(46px, 4.7vw, 64px) !important;
  line-height: .94 !important;
  max-width: 540px !important;
  margin-bottom: 18px !important;
}

.cbcc-ref-welcome-v672 {
  min-height: 340px !important;
  padding: 38px 42px !important;
}

/* Custom SVG icon containers */
.cbcc-svg-icon-v676 {
  width: 19px !important;
  height: 19px !important;
  display: block !important;
  stroke: currentColor !important;
  fill: none !important;
  stroke-width: 2.1 !important;
  stroke-linecap: round !important;
  stroke-linejoin: round !important;
}

/* Top nav icons: replace character/emoji feel */
.cbcc-ref-nav-icons-v672 span {
  color: #765642 !important;
  font-size: 0 !important;
  width: 36px !important;
  height: 36px !important;
  border-radius: 50% !important;
  background: rgba(255,255,255,.82) !important;
  box-shadow: 0 8px 20px rgba(121,88,66,.07) !important;
  display: grid !important;
  place-items: center !important;
}

.cbcc-ref-nav-icons-v672 span::before,
.cbcc-ref-nav-icons-v672 span::after {
  content: none !important;
}

.cbcc-ref-nav-icons-v672 span svg {
  width: 18px !important;
  height: 18px !important;
  color: #765642 !important;
}

/* Profile chip */
.cbcc-ref-profile-chip-v676 {
  width: auto !important;
  min-width: 92px !important;
  padding: 4px 8px 4px 4px !important;
  border-radius: 999px !important;
  display: inline-flex !important;
  gap: 7px !important;
  align-items: center !important;
  background: rgba(255,255,255,.86) !important;
  box-shadow: 0 8px 20px rgba(121,88,66,.07) !important;
  color: #765642 !important;
  font-size: 12px !important;
  font-weight: 900 !important;
}

.cbcc-ref-profile-dot-v676 {
  width: 28px !important;
  height: 28px !important;
  border-radius: 50% !important;
  background:
    radial-gradient(circle at 50% 38%, #bd744f 0 19%, transparent 20%),
    radial-gradient(circle at 50% 86%, #fff1c8 0 30%, transparent 31%),
    #3a2016 !important;
  flex: 0 0 auto !important;
}

/* Row/world icon system */
.cbcc-ref-row-icon-v672,
.cbcc-ref-world-icon-v672,
.cbcc-ref-stat-v672 i {
  color: #765642 !important;
  background: linear-gradient(135deg, rgba(248,207,216,.78), rgba(255,241,200,.76)) !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.70), 0 8px 18px rgba(121,88,66,.06) !important;
}

.cbcc-ref-row-icon-v672 svg,
.cbcc-ref-world-icon-v672 svg,
.cbcc-ref-stat-v672 i svg {
  width: 19px !important;
  height: 19px !important;
}

/* Button/hover colours locked to approved blush nude */
.cbcc-ref-row-v672:hover,
.cbcc-ref-world-card-v672:hover {
  background: linear-gradient(135deg, rgba(248,207,216,.72), rgba(255,241,200,.70)) !important;
}

.cbcc-ref-row-v672:hover .cbcc-ref-row-action-v672,
.cbcc-ref-view-all-v672:hover,
.cbcc-ref-btn-v672:hover {
  background: linear-gradient(135deg, #d8a5b7, #f3cbd4) !important;
  color: #6d4d3c !important;
}

/* Recommendation rail corrected visual size */
.cbcc-ref-recs-v672 {
  overflow: hidden !important;
}

.cbcc-ref-book-row-v672 {
  min-height: 178px !important;
  align-items: flex-start !important;
}

.cbcc-ref-book-v672 {
  flex: 0 0 106px !important;
  width: 106px !important;
  min-width: 106px !important;
}

.cbcc-ref-cover-v672 {
  width: 106px !important;
  max-width: 106px !important;
  aspect-ratio: 2 / 3 !important;
  border-radius: 15px !important;
  overflow: hidden !important;
  background-size: cover !important;
  background-position: center center !important;
  background-color: transparent !important;
}

.cbcc-ref-cover-v672 img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  display: block !important;
  border-radius: 15px !important;
}

.cbcc-ref-book-v672 strong {
  font-size: 12.5px !important;
  line-height: 1.18 !important;
}

/* Better no-cover fallback, only when no real image exists */
.cbcc-ref-cover-v672.cbcc-no-cover-v676 {
  background:
    radial-gradient(circle at 28% 18%, rgba(255,255,255,.52), transparent 28%),
    linear-gradient(135deg, #f8cfd8 0%, #fff1c8 52%, #bfeef2 100%) !important;
}

.cbcc-ref-cover-v672.cbcc-no-cover-v676::after {
  content: "Cover";
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  color: rgba(118,86,66,.62);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

/* Card polish */
.cbcc-ref-card-v672,
.cbcc-ref-world-v672,
.cbcc-ref-strip-v672,
.cbcc-ref-recs-v672,
.cbcc-ref-bottom-card-v672 {
  box-shadow: 0 16px 44px rgba(121,88,66,.07) !important;
}

.cbcc-ref-row-v672 {
  box-shadow: 0 10px 28px rgba(121,88,66,.055) !important;
}


/* Exact glossy icon correction layer */
.cbg-nav img,
.cb-nav img {
	width: 48px !important;
	height: 48px !important;
	object-fit: contain !important;
	filter: drop-shadow(0 10px 18px rgba(255, 47, 114, .22)) !important;
}

.cbg-top-actions img,
.cb-top-actions img {
	width: 72px !important;
	height: 72px !important;
	object-fit: contain !important;
}

.cbg-hub-row img,
.cb-hub-grid img,
.cbg-mood-stats img,
.cbg-private-list img,
.cb-private img {
	object-fit: contain !important;
	filter: drop-shadow(0 12px 22px rgba(255, 47, 114, .18)) !important;
}

.cbg-hub-row img,
.cb-hub-grid img {
	width: 92px !important;
	height: 92px !important;
}

.cbg-mood-head img,
.cbg-goals > img,
.cb-goals > img {
	width: 128px !important;
	height: 128px !important;
	object-fit: contain !important;
	filter: drop-shadow(0 16px 30px rgba(255, 47, 114, .20)) !important;
}

.cbg-private-list img,
.cb-private img {
	width: 64px !important;
	height: 64px !important;
}

.cbg-mood-stats img,
.cb-metrics img {
	width: 68px !important;
	height: 68px !important;
}
