.wp24h-shelf-page,
.wp24h-shelf-page .am-main { background: #07111f; color: #f3f8fd; }
.wp24h-shelf-page .am-page__header { display: none; }
.wp24h-shelf-page .am-page__content.am-shell { max-width: none; padding: 0; }
.wp24h-shelf {
	--shelf-bg: #07111f;
	--shelf-panel: #0c1b2e;
	--shelf-ink: #f3f8fd;
	--shelf-muted: #a9bad0;
	--shelf-line: rgb(191 218 242 / 18%);
	--shelf-accent: #62d9ef;
	--shelf-accent-ink: #07111f;
	max-width: 1240px;
	margin: 0 auto;
	padding: clamp(28px, 4vw, 52px) 24px clamp(64px, 8vw, 108px);
	color: var(--shelf-ink);
}
.wp24h-shelf [hidden] { display: none !important; }
.wp24h-shelf__hero {
	display: grid;
	grid-template-columns: minmax(0, 1.1fr) minmax(330px, .9fr);
	gap: clamp(24px, 4vw, 50px);
	align-items: end;
	margin-bottom: clamp(30px, 4vw, 48px);
	padding: clamp(26px, 4vw, 42px);
	border: 1px solid var(--shelf-line);
	border-radius: 18px;
	background: radial-gradient(circle at 90% 0%, rgb(98 217 239 / 14%), transparent 42%), linear-gradient(145deg, #0b1a2c, #081522);
	box-shadow: 0 24px 70px rgb(0 0 0 / 22%);
}
.wp24h-shelf__eyebrow,
.wp24h-book-card__topic { color: var(--shelf-accent); font-size: .75rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.wp24h-shelf__hero h1 { max-width: 18ch; margin: 12px 0 16px; color: var(--shelf-ink); font-size: clamp(2.2rem, 4.5vw, 4rem); letter-spacing: -.05em; line-height: 1.05; }
.wp24h-shelf__intro > p { max-width: 62ch; margin: 0; color: var(--shelf-muted); font-size: clamp(1rem, 1.7vw, 1.16rem); line-height: 1.65; }
.wp24h-shelf__stats { display: flex; flex-wrap: wrap; gap: 12px 24px; margin: 20px 0 0; padding: 0; list-style: none; color: var(--shelf-muted); font-size: .85rem; }
.wp24h-shelf__stats li { display: flex; align-items: baseline; gap: 6px; }
.wp24h-shelf__stats strong { color: var(--shelf-accent); font-size: 1.18rem; }
.wp24h-shelf__filters { display: grid; gap: 16px; padding: 22px; border: 1px solid var(--shelf-line); border-radius: 14px; background: rgb(7 17 31 / 62%); }
.wp24h-shelf__filters label { display: grid; gap: 7px; min-width: 0; }
.wp24h-shelf__filters label > span { color: var(--shelf-muted); font-size: .74rem; font-weight: 750; letter-spacing: .08em; text-transform: uppercase; }
.wp24h-shelf__filters input,
.wp24h-shelf__filters select { width: 100%; min-height: 46px; padding: 10px 13px; border: 1px solid rgb(191 218 242 / 28%); border-radius: 9px; background: #07111f; color: var(--shelf-ink); font: inherit; }
.wp24h-shelf__filters input::placeholder { color: #788ba3; }
.wp24h-shelf__filters input:focus,
.wp24h-shelf__filters select:focus { border-color: var(--shelf-accent); outline: 2px solid rgb(98 217 239 / 28%); outline-offset: 1px; }
.wp24h-shelf__groups { display: grid; grid-template-columns: repeat(3, 1fr); gap: 7px; }
.wp24h-shelf__groups button,
.wp24h-shelf__reset { min-height: 40px; padding: 8px 10px; border: 1px solid var(--shelf-line); border-radius: 8px; background: transparent; color: var(--shelf-muted); font: inherit; font-size: .8rem; font-weight: 750; cursor: pointer; }
.wp24h-shelf__groups button[aria-pressed="true"] { border-color: var(--shelf-accent); background: var(--shelf-accent); color: var(--shelf-accent-ink); }
.wp24h-shelf__facets { display: grid; grid-template-columns: 1fr 1fr; gap: 11px; }
.wp24h-shelf__reset,
.wp24h-shelf__reset:hover,
.wp24h-shelf__reset:focus { grid-column: 1 / -1; justify-self: start; min-height: auto; padding: 5px 0; border: 0 !important; background: transparent !important; color: var(--shelf-accent) !important; box-shadow: none !important; }
.wp24h-shelf__result-count { margin: 0; color: var(--shelf-muted); font-size: .8rem; }
.wp24h-shelf__empty { margin: 0 0 48px; padding: 28px; border: 1px dashed rgb(98 217 239 / 35%); border-radius: 12px; color: var(--shelf-muted); text-align: center; }
.wp24h-shelf__section { margin: 0 0 clamp(52px, 7vw, 82px); }
.wp24h-shelf__section-heading { display: grid; grid-template-columns: minmax(220px, .75fr) minmax(280px, 1fr); align-items: end; gap: 28px; margin-bottom: 24px; padding-bottom: 17px; border-bottom: 1px solid var(--shelf-line); }
.wp24h-shelf__section-heading h2 { margin: 0; color: var(--shelf-ink); font-size: clamp(1.75rem, 3vw, 2.65rem); letter-spacing: -.035em; }
.wp24h-shelf__section-heading p { margin: 0; color: var(--shelf-muted); font-size: 1rem; line-height: 1.6; }
.wp24h-shelf__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.wp24h-book-card { display: flex; min-width: 0; overflow: hidden; flex-direction: column; border: 1px solid var(--shelf-line); border-radius: 14px; background: var(--shelf-panel); box-shadow: 0 18px 44px rgb(0 0 0 / 18%); transition: transform 180ms ease, border-color 180ms ease; }
.wp24h-book-card:hover { border-color: rgb(98 217 239 / 42%); transform: translateY(-3px); }
.wp24h-book-card__cover { display: grid; aspect-ratio: 4 / 5; place-items: center; overflow: hidden; background: radial-gradient(ellipse at 50% 46%, rgb(98 217 239 / 12%), transparent 68%), var(--shelf-bg); }
.wp24h-book-card[data-group="author"] .wp24h-book-card__cover { aspect-ratio: 1 / 1; background: radial-gradient(circle at 50% 48%, rgb(98 217 239 / 16%), transparent 72%), #081522; }
.wp24h-book-card__cover img { display: block; box-sizing: border-box; width: 100%; height: 100%; object-fit: contain; padding: 12px; }
.wp24h-book-card[data-group="author"] .wp24h-book-card__cover img { object-fit: contain; padding: 8px; }
.wp24h-shelf__section[data-shelf-section="recommended"] { margin-top: clamp(60px, 8vw, 100px); }
.wp24h-shelf__section[data-shelf-section="recommended"] .wp24h-shelf__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.wp24h-shelf__section[data-shelf-section="recommended"] .wp24h-book-card { box-shadow: none; }
.wp24h-shelf__section[data-shelf-section="recommended"] .wp24h-book-card__body { padding: 16px; }
.wp24h-shelf__section[data-shelf-section="recommended"] .wp24h-book-card h3 { font-size: 1.05rem; }
.wp24h-shelf__section[data-shelf-section="recommended"] .wp24h-book-card__cover--placeholder { min-height: 72px; padding: 12px; }
.wp24h-book-card__cover--placeholder { aspect-ratio: auto; min-height: 120px; padding: 20px; border-bottom: 1px solid var(--shelf-line); }
.wp24h-book-card__cover:has(> span) { aspect-ratio: auto; min-height: 120px; }
.wp24h-book-card__cover span { max-width: 22ch; padding: 10px 14px; border: 1px solid var(--shelf-line); border-radius: 8px; color: var(--shelf-muted); font-size: .75rem; font-weight: 600; text-align: center; }
.wp24h-book-card__body { display: flex; flex: 1; align-items: flex-start; flex-direction: column; gap: 8px; padding: 20px; }
.wp24h-book-card__topic { font-size: .68rem; letter-spacing: .1em; }
.wp24h-book-card h3 { margin: 0; color: var(--shelf-ink); font-size: 1.25rem; letter-spacing: -.025em; line-height: 1.25; }
.wp24h-book-card__authors { margin: 0; color: var(--shelf-muted); font-size: .83rem; line-height: 1.45; }
.wp24h-book-card__heading { margin: 2px 0 10px; color: var(--shelf-ink); font-size: .9rem; font-weight: 600; line-height: 1.45; }
.wp24h-book-card__button { display: inline-flex; box-sizing: border-box; align-items: center; justify-content: center; min-height: 44px; margin-top: auto; padding: 10px 16px; border-radius: 8px; background: var(--shelf-accent); color: var(--shelf-accent-ink) !important; font-size: .85rem; font-weight: 800; text-decoration: none !important; }
.wp24h-book-card__button:hover { background: #8de6f5; color: var(--shelf-accent-ink) !important; }
.wp24h-book-card__button:focus-visible,
.wp24h-shelf button:focus-visible { outline: 3px solid #f5ad43; outline-offset: 3px; }
.wp24h-shelf__fine-print { margin: 6px 0 0; padding-top: 18px; border-top: 1px solid var(--shelf-line); color: #879ab1; font-size: .78rem; line-height: 1.55; }
@media (max-width: 980px) {
	.wp24h-shelf__hero { grid-template-columns: 1fr; align-items: start; }
	.wp24h-shelf__hero h1 { max-width: 17ch; }
	.wp24h-shelf__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.wp24h-shelf__section[data-shelf-section="recommended"] .wp24h-shelf__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 660px) {
	.wp24h-shelf { padding-inline: 16px; }
	.wp24h-shelf__hero { padding: 26px 20px; border-radius: 13px; }
	.wp24h-shelf__groups { grid-template-columns: 1fr; }
	.wp24h-shelf__facets,
	.wp24h-shelf__section-heading,
	.wp24h-shelf__grid { grid-template-columns: 1fr; }
	.wp24h-shelf__section[data-shelf-section="recommended"] .wp24h-shelf__grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
	.wp24h-book-card { transition: none; }
}
