/* cp-entry-staging-v2 */
.cp-entry-aside{min-width:0;align-self:start}
.cp-entry-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.cp-entry-card{position:relative;display:block;aspect-ratio:2.2;min-width:0;isolation:isolate;overflow:hidden;background:#080c10;border:1px solid #1b2028;border-radius:10px;color:#f4f8fa;text-decoration:none}
.cp-entry-card img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:-2}
.cp-entry-card:after{position:absolute;content:'';inset:0;background:linear-gradient(115deg,rgba(4,8,11,.25),transparent 65%);z-index:-1;pointer-events:none}
.cp-entry-label{position:absolute;left:12px;top:12px;right:8px;font-family:Arial,Helvetica,sans-serif;font-size:12px;font-weight:700;line-height:1.25;letter-spacing:0;text-shadow:0 1px 4px #08090c,0 0 10px #08090c}
.cp-entry-arrow{position:absolute;right:11px;bottom:8px;font-family:Arial,sans-serif;font-size:23px;line-height:1;color:#fff;text-shadow:0 1px 4px #000}
.cp-entry-card:hover{border-color:#46505d}.cp-entry-card:focus-visible{outline:2px solid #63f5c5;outline-offset:3px}
.archive-commandbar .archive-live{display:flex;align-items:center;gap:6px;font-family:Arial,Helvetica,sans-serif;letter-spacing:.04em;font-size:9px}
.archive-live .cp-total-item{display:inline-block}.archive-live .cp-total-divider{font-style:normal;color:#59616e}
@media(min-width:1100px){.rx-hero-grid{grid-template-columns:minmax(0,1.65fr) minmax(440px,1fr)}}
@media(max-width:700px){
 .cp-entry-grid{gap:8px}.cp-entry-label{top:10px;left:10px;font-size:11px}.cp-entry-arrow{font-size:19px;right:9px;bottom:7px}
 .archive-commandbar .global-search-wrap{min-width:0}.archive-commandbar .global-search-wrap input{width:0;min-width:0}
 .archive-commandbar .archive-live{display:flex;flex-direction:column;align-items:flex-end;gap:3px;flex-shrink:0;font-size:8px;letter-spacing:0}
 .archive-commandbar .archive-live>span,.archive-live .cp-total-divider{display:none}
}

/* cp-cinema-staging-v3 */
.cp-entry-grid .cp-entry-card{container-type:inline-size}
.cp-entry-grid .cp-entry-card:after{
 background:linear-gradient(0deg,rgba(0,0,0,.62) 0%,rgba(0,0,0,.23) 32%,transparent 68%),linear-gradient(90deg,rgba(0,0,0,.24),transparent 70%);
}
.cp-entry-grid .cp-entry-card .cp-entry-label{
 top:auto;bottom:14px;left:14px;right:36px;display:flex;flex-direction:column;gap:1px;
 color:#fff;font-family:Arial,Helvetica,sans-serif;font-weight:800;letter-spacing:0;
 text-shadow:0 2px 4px rgba(0,0,0,.8),0 0 12px rgba(0,0,0,.2);
}
.cp-entry-sub{display:block;font-size:14px;font-size:clamp(10px,4cqw,18px);line-height:1.08;font-weight:800;letter-spacing:.015em}
.cp-entry-title{display:block;font-size:28px;font-size:clamp(15px,8.2cqw,38px);line-height:.96;font-weight:900;letter-spacing:-.025em}
.cp-entry-grid .cp-entry-arrow{bottom:13px;right:12px;font-size:22px;text-shadow:0 2px 4px #000}
@media(max-width:700px){
 .cp-entry-grid .cp-entry-card .cp-entry-label{left:10px;bottom:11px;right:25px;gap:2px}
 .cp-entry-grid .cp-entry-arrow{bottom:10px;right:8px;font-size:18px}
}

/* cp-scene-staging-v4: live HTML typography */
.cp-entry-grid .cp-entry-card,.lens-grid .cp-theme-card{container-type:inline-size}
.cp-entry-grid .cp-entry-card .cp-entry-label{
 top:auto;bottom:14px;left:14px;right:10px;gap:0;color:#fff;
 font-family:Arial,Helvetica,sans-serif;transform:perspective(700px) rotateX(5deg);transform-origin:left bottom;
 text-shadow:0 1px 0 #d1d1d1,0 2px 0 #8a8a8a,0 3px 0 #404040,1px 5px 5px rgba(0,0,0,.85),3px 9px 14px rgba(0,0,0,.55);
}
.cp-entry-grid .cp-entry-sub{display:flex;align-items:center;gap:.2em;font-size:clamp(10px,4cqw,18px);font-weight:800;line-height:.9;letter-spacing:-.02em;margin:0 0 .12em}
.cp-entry-grid .cp-entry-title{font-size:clamp(17px,8.4cqw,40px);font-weight:900;line-height:.88;letter-spacing:-.035em;white-space:nowrap}
.cp-entry-grid .cp-entry-the{display:inline-block;writing-mode:vertical-rl;transform:rotate(180deg);font-size:.39em;line-height:1;font-weight:900;letter-spacing:.01em;text-shadow:0 1px 2px #000}
.cp-entry-grid .cp-entry-arrow{display:none}
.lens-grid .cp-theme-card{border-color:#1b2028}
.lens-grid .cp-theme-card:after{background:linear-gradient(0deg,rgba(0,0,0,.66),rgba(0,0,0,.12) 48%,transparent 78%)}
.lens-grid .cp-theme-card .cp-theme-name{
 position:absolute;top:auto;bottom:12px;left:10px;right:8px;padding:0;margin:0;
 color:#fff;font-family:Arial,Helvetica,sans-serif;font-weight:900;
 font-size:20px;font-size:clamp(13px,11cqw,32px);line-height:.94;letter-spacing:-.035em;white-space:nowrap;
 transform:perspective(700px) rotateX(5deg);transform-origin:left bottom;
 text-shadow:0 1px 0 #ccc,0 2px 0 #666,0 3px 0 #303030,1px 5px 5px rgba(0,0,0,.85),2px 8px 12px rgba(0,0,0,.5);
}
.lens-grid .cp-theme-card .cp-theme-count{display:none}
@media(max-width:700px){
 .cp-entry-grid .cp-entry-card .cp-entry-label{left:10px;bottom:12px;right:8px;gap:0}
 .lens-grid .cp-theme-card .cp-theme-name{bottom:11px;left:10px}
}

/* cp-approved-scene-v5 — approved HTML preview, isolated selectors */
.cp-entry-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.cp-s5-card{position:relative;container-type:inline-size;isolation:isolate;aspect-ratio:2.2;overflow:hidden;border:1px solid #263039;border-radius:12px;background:#080c10}
.cp-s5-background{position:absolute;width:100%;height:100%;inset:0;object-fit:cover;z-index:0}
.cp-s5-shade{position:absolute;inset:0;z-index:1;background:linear-gradient(0deg,#0009,transparent 55%)}
.cp-s5-copy{position:absolute;z-index:2;bottom:8%;left:4%;right:3%;font-family:Arial,Helvetica,sans-serif;font-weight:900;color:#fff}
.cp-s5-sub{display:flex;align-items:center;gap:.18em;font-size:4.05cqw;line-height:1;letter-spacing:-.025em;margin-bottom:0;text-shadow:0 1px 1px #000}
.cp-s5-title{display:block;font-size:8.5cqw;line-height:.94;letter-spacing:-.045em;white-space:nowrap;text-shadow:0 1px 0 #bababa,0 2px 0 #646464,0 3px 0 #222,1px 5px 3px #000b}
.cp-s5-the{writing-mode:vertical-rl;transform:rotate(180deg);font-size:.42em;line-height:1;letter-spacing:0}
.cp-s5-foreground{position:absolute;z-index:3;width:57.604%;height:95.64%;left:33.333%;top:-1.835%;object-fit:contain;pointer-events:none}
.cp-s5-collection .cp-s5-copy{bottom:8%;}
.cp-s5-collection .cp-s5-title{font-size:8.1cqw}
.cp-s5-theme{aspect-ratio:1.65}
.cp-s5-theme .cp-s5-copy{bottom:9%;left:6%;right:4%}
.cp-s5-theme .cp-s5-title{font-size:11.2cqw;line-height:1;letter-spacing:-.035em;text-shadow:0 1px 0 #999,0 2px 0 #333,1px 4px 3px #000b}
.cp-s5-card{display:block;min-width:0;min-height:0;padding:0;margin:0;text-decoration:none;color:#fff;box-sizing:border-box;box-shadow:none}
.cp-s5-card *{box-sizing:border-box}
.cp-s5-card:focus-visible{outline:2px solid #63f5c5;outline-offset:3px}
.cp-s5-card:hover{border-color:#46505d}
.cp-s5-card .cp-s5-background{max-width:none;margin:0;filter:none;border:0;border-radius:0}
.cp-s5-copy{font-style:normal;text-transform:none}
@media(max-width:520px){.cp-entry-grid{gap:8px}.cp-s5-card{border-radius:8px}.cp-s5-title{text-shadow:0 1px 0 #777,0 2px 0 #292929,0 3px 3px #000a}.cp-s5-sub{font-size:4.4cqw}}

/* cp-art-staging-v6 */
/* Identical upper-left fade across all four entry tiles, under live text. */
.cp-entry-grid .cp-s5-shade{background:linear-gradient(135deg,rgba(3,8,14,.93) 0%,rgba(3,8,14,.64) 24%,rgba(3,8,14,.20) 53%,rgba(3,8,14,0) 78%),linear-gradient(0deg,rgba(0,0,0,.36),transparent 37%)}

/* cp-mobile-staging-v7 */
@media(max-width:700px){
 .cp-entry-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
 .cp-entry-grid .cp-s5-card{aspect-ratio:1.65}
 .cp-entry-grid .cp-s5-copy{left:6%;right:4%;bottom:9%}
 .cp-entry-grid .cp-s5-title{font-size:11.6cqw;line-height:.96;letter-spacing:-.045em;white-space:nowrap}
 .cp-entry-grid .cp-s5-sub{font-size:clamp(10px,5.4cqw,11px);line-height:1.05;margin-bottom:2px;letter-spacing:-.025em}
 .cp-entry-grid .cp-s5-the{font-size:.48em}
 .cp-entry-grid a[href="/collection/"] .cp-s5-background{object-position:64% center}
 .cp-entry-grid a[href="/atlas/"] .cp-s5-background{object-position:78% center}
 .cp-entry-grid a[href="/exchange/"] .cp-s5-background{object-position:72% center}
 .cp-entry-grid a[href="/wanted/"] .cp-s5-background{object-position:78% center}
 .archive-commandbar{background:#0d0f14;backdrop-filter:none;-webkit-backdrop-filter:none}
}

/* cp-the-staging-v8 */
/* Scale the vertical word to fit inside BROWSE capital height, all viewports. */
.cp-entry-grid .cp-s5-sub .cp-s5-the{
 font-size:.32em;line-height:1;letter-spacing:0;font-weight:900;
 display:inline-block;writing-mode:vertical-rl;transform:rotate(180deg);
 flex:none;align-self:center;height:auto;max-height:2.2em;overflow:hidden;
 margin:0;padding:0;text-shadow:none;
}

/* cp-the-mobile-v9 */
@media(max-width:700px){
 .cp-entry-grid a[href="/atlas/"] .cp-s5-sub{align-items:baseline}
 .cp-entry-grid .cp-s5-sub .cp-s5-the{
  position:relative;display:inline-block;flex:none;align-self:auto;
  font-size:inherit;writing-mode:horizontal-tb;transform:none;
  height:.69em;height:1cap;max-height:none;width:.25em;width:.353cap;
  line-height:0;overflow:hidden;vertical-align:baseline;
  color:transparent;text-shadow:none;margin:0;padding:0;
 }
 .cp-entry-grid .cp-s5-sub .cp-s5-the::before{
  content:"";position:absolute;inset:0;
  background-image:url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAxNDA5IDM5OTMiPjxwYXRoIGZpbGw9IndoaXRlIiB0cmFuc2Zvcm09Im1hdHJpeCgwIC0xIC0xIDAgMTQwOSA0MDE2KSIgZD0iTTc3MyAxMTgxVjBINDc4VjExODFIMjNWMTQwOUgxMjI5VjExODFaTTIyOTcgMFY2MDRIMTY4M1YwSDEzODhWMTQwOUgxNjgzVjg0OEgyMjk3VjE0MDlIMjU5MlYwWk0yODY3IDBWMTQwOUgzOTc1VjExODFIMzE2MlY4MjdIMzkxNFY1OTlIMzE2MlYyMjhINDAxNlYwWiIvPjwvc3ZnPg==");background-repeat:no-repeat;
  background-size:100% 100%;background-position:center;
 }
}

/* cp-layout-staging-v10 */
/* THE is removed from both HTML renderers; reset its former mobile alignment. */
.cp-entry-grid a[href="/atlas/"] .cp-s5-sub{align-items:center}
@media(min-width:1201px){
 .rx-hero .rx-hero-grid{grid-template-columns:repeat(8,minmax(0,1fr));column-gap:8px;align-items:start}
 .rx-hero-grid>.cp-page-header{grid-column:1 / span 4;min-width:0;container-type:inline-size;padding-right:16px}
 .rx-hero-grid>.cp-entry-aside{grid-column:5 / span 4;min-width:0}
 .rx-hero-grid>.cp-entry-aside .cp-entry-grid{gap:8px}
 .rx-hero-grid>.cp-page-header .cp-home-title{font-size:clamp(26px,8cqw,76px);max-width:100%}
}
