/* The existing Noir palette and surrounding pages stay unchanged. */
.latest-carousel{position:relative;min-width:0;overflow:hidden;border:1px solid #ffffff18;border-radius:18px;background:#131316;color:#f4f4f7;isolation:isolate}
.latest-heading{position:absolute;top:0;inset-inline:0;z-index:3;display:flex;justify-content:space-between;gap:12px;padding:18px 24px;background:linear-gradient(#09090bb3,transparent);pointer-events:none;font-size:12px}
.latest-heading>span,.latest-heading>a{display:flex;align-items:center;gap:7px}.latest-heading>a{pointer-events:auto;font-size:11px;color:#e6e6ef}.latest-heading svg{width:15px;height:15px}
.latest-stage{display:grid;grid-template-columns:minmax(0,1fr);position:relative;min-height:440px;overflow:hidden;touch-action:pan-y pinch-zoom;cursor:grab}.latest-carousel.is-dragging .latest-stage{cursor:grabbing;user-select:none}
.latest-slide{grid-area:1/1;min-width:0;position:relative;min-height:440px;overflow:hidden;isolation:isolate}.latest-slide[hidden]{display:none!important}.latest-slide.is-active{animation:none}
.latest-art,.latest-shade{position:absolute;inset:0;z-index:-1;pointer-events:none}.latest-art{background:#16161c;overflow:hidden}.latest-art img{width:100%;height:100%;object-fit:cover;object-position:center 27%;display:block}.latest-demo-art{right:28%}.latest-demo-art>.cover{position:absolute;inset:auto 0 auto auto;top:50%;width:100%;height:auto;aspect-ratio:2/3;transform:translateY(-50%);border-radius:0}
.latest-shade{background:linear-gradient(270deg,#09090bf5 5%,#09090bcc 40%,#09090b22 85%),linear-gradient(0deg,#09090bd9,transparent 70%)}
.latest-no-cover{display:grid;place-items:center;height:100%;padding-right:45%;font-size:90px;color:#ffffff25}
.latest-copy{width:58%;max-width:620px;padding:110px 30px 30px;position:relative}.latest-kicker{font-size:11px;color:#e1e1e8;display:inline-flex;border:1px solid #ffffff30;background:#ffffff10;padding:4px 12px;border-radius:20px}.latest-copy h2{font-size:clamp(27px,3.2vw,42px);line-height:1.5;margin:12px 0 9px;color:#fff;overflow-wrap:anywhere}.latest-copy h2{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.latest-copy h2 a{color:inherit}.latest-copy>p{font-size:13px;line-height:1.9;color:#e0e0e6;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;margin:14px 0 12px;max-width:420px}
.latest-genres{display:flex;flex-wrap:wrap;gap:6px}.latest-genres>span{font-size:10px;border:1px solid #ffffff15;border-radius:20px;background:#ffffff12;padding:3px 10px}.latest-genres>span:empty{display:none}
.latest-release{font-size:11px;display:flex;gap:7px;align-items:center;color:#c9c9d4;min-height:24px}.latest-release>svg{width:14px;height:14px}.latest-release>span{color:#b9b9c5}
.latest-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:20px}.latest-actions .button{font-size:12px;min-height:44px;padding:10px 18px;border-radius:26px}.latest-carousel .latest-actions .primary{background:#eeeef1;color:#141418}.latest-carousel .latest-actions .outline{background:#ffffff0d;border-color:#ffffff35;color:#fff}
.latest-favorite{position:absolute;z-index:2;left:24px;top:67px;background:#09090b99;border-color:#ffffff35;color:#fff;border-radius:50%;width:38px;height:38px}.latest-favorite.saved{background:#eeeef1;color:#151519}
.latest-controls{border-top:1px solid #ffffff12;display:flex;align-items:center;gap:8px;padding:10px 18px;background:#111115;min-height:58px}.latest-controls[hidden]{display:none!important}.latest-controls .icon-button{flex:none;width:36px;height:36px;min-width:36px;background:transparent;color:#ededf4;border:1px solid #ffffff20;border-radius:50%;padding:8px}.latest-controls .icon-button:hover{background:#ffffff10}.latest-arrow svg{width:16px;height:16px}.latest-arrow[data-latest-prev] svg{rotate:180deg}.latest-dots{display:flex;align-items:center;gap:1px;min-width:0}.latest-dots button{width:27px;height:36px;border:0;border-radius:6px;background:none;padding:10px 5px;display:grid;place-items:center;color:#ddd}.latest-dots button>span{height:5px;width:5px;border-radius:8px;background:#777783;transition:width .25s,background .25s}.latest-dots button[aria-pressed=true]>span{width:20px;background:#eeeef4}.latest-count{font-size:10px;color:#8c8c99;margin-inline-start:auto;white-space:nowrap;font-variant-numeric:tabular-nums}.latest-count b{font-size:13px;font-weight:400;color:#efeff6}.latest-pause{font-size:14px;line-height:1}.latest-pause[hidden]{display:none!important}.latest-carousel :focus-visible{outline:2px solid #fff;outline-offset:3px}.latest-carousel .latest-controls button:focus-visible{outline-offset:-2px}
.public-home>.v2-home-links{margin-top:18px}.public-home .feature-layout{align-items:stretch}
/* Short page entrances and tactile navigation; the reader keeps its own motion. */
#app>.page{animation:riwaq-page-enter .24s cubic-bezier(.22,.75,.12,1)}
.mobile-nav>a,.mobile-nav>button{transition:background-color .22s ease,color .18s ease,transform .18s ease}
.mobile-nav svg{transition:transform .22s cubic-bezier(.22,.75,.12,1)}
.mobile-nav .active svg,.mobile-nav [aria-expanded=true] svg{transform:translateY(-2px)}
.mobile-nav [aria-expanded=true]{color:var(--text);background:var(--surface-2,#202025)}
@keyframes riwaq-page-enter{from{opacity:.65;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}
@media(max-width:1000px){.latest-copy{width:65%;padding-inline:24px}.latest-copy h2{font-size:32px}}
@media(max-width:680px){
 .latest-carousel{border-radius:18px}.latest-heading{padding:16px 19px;font-size:11px}.latest-heading>a{font-size:10px}.latest-stage,.latest-slide{min-height:470px}.latest-stage{height:470px}.latest-slide{height:100%}
 .latest-art img{object-position:center 20%}.latest-demo-art{right:0}.latest-demo-art>.cover{top:0;transform:none}.latest-shade{background:linear-gradient(0deg,#09090bfa 0%,#09090be8 25%,#09090b99 47%,#09090b05 85%)}
 .latest-copy{width:auto;max-width:none;padding:0;position:absolute;bottom:24px;left:21px;right:21px}.latest-kicker{font-size:9px;padding:3px 10px}.latest-copy h2{font-size:29px;line-height:1.5;margin:8px 0}.latest-copy>p{font-size:11px;line-height:1.9;margin:10px 0 8px}.latest-genres>span{font-size:9px;padding:2px 9px}.latest-release{font-size:10px;gap:5px}.latest-release>svg{width:12px}.latest-actions{margin-top:15px;gap:9px}.latest-actions .button{font-size:11px;padding:9px 17px}
 .latest-favorite{top:58px;left:18px;width:34px;height:34px;padding:8px}.latest-controls{padding:8px 11px;gap:4px;min-height:55px}.latest-controls .icon-button{width:32px;min-width:32px;height:32px;padding:7px}.latest-dots button{width:23px;height:35px;padding-inline:3px}.latest-dots button[aria-pressed=true]>span{width:16px}.latest-count{font-size:9px}.latest-count b{font-size:11px}.public-home>.v2-home-links{margin:16px 0 0}
}
@media(max-width:360px){.latest-count{display:none}.latest-copy{left:17px;right:17px}.latest-copy h2{font-size:26px}.latest-actions .button{padding-inline:14px}.latest-dots button{width:21px}.latest-controls{padding-inline:8px;gap:2px}}
@media(prefers-reduced-motion:reduce){.latest-slide.is-active,.latest-carousel *{animation:none!important;transition:none!important}}
html[data-reduce-motion=true] .latest-carousel *,html[data-reduce-motion=true] .latest-slide.is-active{animation:none!important;transition:none!important}

html[data-reduce-motion=true] #app>.page,html[data-reduce-motion=true] .mobile-nav *{animation:none!important;transition:none!important;transform:none!important}

/* A genuinely empty catalog keeps the existing palette and page structure. */
.public-home .feature-layout-single{grid-template-columns:minmax(0,1fr)}
.library-waiting{min-width:0;display:grid;place-items:center;min-height:270px;border:1px solid var(--line);border-radius:18px;background:var(--surface)}
.library-waiting .empty-state{padding:36px 20px;margin:0;border:0;background:transparent}
.library-waiting h2{font-size:clamp(20px,4vw,28px);line-height:1.6}
