/* /explore/characters: "The cast", interactive posters (assets/js/library.js renderCast). */
.is-cast .cast, .is-cast .cast-intros { display: none; }
.cs { --o: #ff6a2b; --o2: #e8642d; --line: rgba(170,190,220,.08); --line2: rgba(170,190,220,.17); --mu: rgba(225,232,245,.58); --ease: cubic-bezier(.22,1,.36,1); position: relative; display: block; color: #fff; overflow-x: clip; padding-bottom: 80px; }
.cs[hidden] { display: none !important; }
.cs button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
.cs h1, .cs h2, .cs h3, .cs p { margin: 0; }
.cs-wrap { width: min(calc(100% - 56px), 1040px); margin-inline: auto; }
.cs-k { color: #ff7a45; font-size: .72rem; font-weight: 800; letter-spacing: .24em; text-transform: uppercase; }
.cs-rv { opacity: 0; transform: translateY(22px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.cs-rv.in { opacity: 1; transform: none; }
.cs-hero { position: relative; padding-top: 40px; }
.cs-hero::before { content: ""; position: absolute; z-index: -1; left: 50%; top: -80px; width: min(1100px, 100vw); height: 700px; transform: translateX(-50%); background: radial-gradient(closest-side, rgba(255,106,43,.13), transparent); pointer-events: none; }
.cs-hd { display: flex; justify-content: space-between; align-items: flex-end; gap: 30px; }
.cs-hd h1 { margin-top: 10px; font-size: 4.6rem; font-weight: 800; letter-spacing: -.06em; line-height: .92; }
.cs-hd h1 span:not(.sr-only) { color: var(--o); }
.cs-hd > p { max-width: 340px; color: var(--mu); text-align: right; line-height: 1.5; }
.cs-fl { display: flex; align-items: center; gap: 8px; margin-top: 22px; }
.cs-fl button { padding: 8px 14px; border: 1px solid var(--line2); border-radius: 99px; font-size: .8rem; font-weight: 700; color: rgba(255,255,255,.8); transition: .2s; }
.cs-fl button.on { background: #fff; color: #0b0c0f; border-color: #fff; }
.cs-fl button:hover:not(.on) { border-color: rgba(255,255,255,.4); }
.cs-fl span { margin-left: auto; color: var(--mu); font-size: .84rem; }
.cs-line { display: flex; gap: 8px; height: 600px; margin-top: 16px; }
.cs-dr { position: relative; flex: 1 1 0; min-width: 0; overflow: hidden; isolation: isolate; border: 1px solid rgba(255,255,255,.12); border-radius: 22px; cursor: pointer; outline: none; transition: flex-grow .75s var(--ease), opacity .4s, border-color .3s; }
.cs-dr:focus-visible { border-color: #ff8a55; }
.cs-dr.big { flex-grow: 2.3; border-color: rgba(255,106,43,.45); box-shadow: 0 40px 90px rgba(0,0,0,.5); }
.cs-dr.off { display: none; }
.cs-bg { position: absolute; inset: 0; z-index: -2; background: #16171a; }
.cs-bg img, .cs-bg video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.06); transition: opacity 1s, transform 6s linear; }
.cs-bg .on { opacity: 1; transform: scale(1); }
.cs-dr::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(11,12,15,.95), rgba(11,12,15,.2) 50%, transparent 70%); }
.cs-gl { position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity .3s; background: radial-gradient(420px circle at var(--mx,50%) var(--my,50%), rgba(255,255,255,.1), transparent 45%); }
.cs-tx { position: absolute; z-index: 2; left: 22px; right: 22px; bottom: 22px; }
.cs-no { color: #ffb070; font-size: .72rem; font-weight: 800; letter-spacing: .2em; text-transform: uppercase; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cs-dr h2 { margin-top: 6px; font-size: 2.2rem; font-weight: 800; letter-spacing: -.05em; line-height: 1; transition: font-size .6s var(--ease); }
.cs-dr.big h2 { font-size: 3.8rem; }
.cs-sb { margin-top: 6px; color: rgba(255,255,255,.8); font-size: .9rem; }
.cs-more { display: grid; grid-template-rows: 0fr; opacity: 0; transition: grid-template-rows .6s var(--ease), opacity .4s; }
.cs-dr.big .cs-more { grid-template-rows: 1fr; opacity: 1; }
.cs-more > div { overflow: hidden; }
.cs-q { max-width: 440px; margin-top: 10px; color: rgba(255,255,255,.88); font-style: italic; line-height: 1.5; }
.cs-th { display: flex; gap: 6px; margin-top: 12px; }
.cs-th img { width: 46px; height: 58px; border: 1px solid rgba(255,255,255,.25); border-radius: 9px; object-fit: cover; }
.cs-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 14px; }
.cs-pr { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; }
.cs-pr b { font-size: 1.3rem; }
.cs-ex { display: inline-flex; padding: 5px 10px; border: 1px solid rgba(167,139,250,.4); border-radius: 99px; background: rgba(167,139,250,.14); color: #d8ccff; font-size: .66rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; white-space: nowrap; }
.cs-fr { display: inline-flex; padding: 4px 10px; border: 1px solid rgba(74,222,128,.4); border-radius: 99px; color: #86efac; font-size: .7rem; font-weight: 800; }
.cs-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 42px; padding: 0 20px; border-radius: 99px; background: var(--o2); color: #fff; font-weight: 800; white-space: nowrap; text-decoration: none; box-shadow: 0 12px 30px rgba(232,100,45,.35); transition: transform .25s var(--ease); }
.cs-btn:hover { transform: translateY(-2px); }
.cs-btn i { font-style: normal; }
.cs-btn.is-w { background: #fff; color: #0b0c0f; box-shadow: none; }
.cs-go { opacity: 0; transform: translateY(6px); transition: opacity .4s var(--ease), transform .4s var(--ease); }
.cs-dr.big .cs-go { opacity: 1; transform: none; }
.cs-dr:not(.big) .cs-go { display: none; }
.cs-vb { position: absolute; z-index: 2; top: 16px; right: 16px; padding: 5px 10px; border-radius: 99px; background: rgba(0,0,0,.5); backdrop-filter: blur(6px); font-size: .72rem; font-weight: 700; }
.cs-seg { position: absolute; z-index: 2; top: 16px; left: 16px; display: flex; gap: 4px; width: 120px; opacity: 0; transition: opacity .4s; }
.cs-dr.big .cs-seg { opacity: 1; }
.cs-seg i { flex: 1; height: 3px; overflow: hidden; border-radius: 3px; background: rgba(255,255,255,.3); }
.cs-seg i b { display: block; width: 0; height: 100%; background: #fff; }
.cs-seg i.d b { width: 100%; }
.cs-seg i.r b { animation: csfill 3s linear forwards; }
@keyframes csfill { to { width: 100%; } }
.cs-hint { display: flex; justify-content: center; align-items: center; gap: 10px; margin-top: 18px; }
.cs-hint button { position: relative; width: 34px; height: 4px; padding: 0 !important; overflow: hidden; border-radius: 4px; background: rgba(255,255,255,.18) !important; }
.cs-hint button[hidden] { display: none; }
.cs-hint button i { position: absolute; inset: 0; width: 0; background: var(--o); }
.cs-hint button.on i { width: 100%; }
.cs-hint small { margin-left: 10px; color: var(--mu); font-size: .8rem; }
.cs-sec { position: relative; margin-top: 64px; padding-top: 64px; }
.cs-sec::before { content: ""; position: absolute; top: 0; left: calc(50% - 50vw); right: calc(50% - 50vw); height: 1px; background: linear-gradient(90deg, transparent, rgba(170,190,220,.1) 20%, rgba(255,122,69,.45) 50%, rgba(170,190,220,.1) 80%, transparent); }
.cs-h2 { margin: 10px 0 24px !important; font-size: 2.2rem; font-weight: 800; letter-spacing: -.045em; }
.cs-h2 span { color: var(--o); }
.cs-why { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.cs-why div { padding: 22px; border: 1px solid var(--line2); border-radius: 20px; background: #0e0f12; transition: transform .35s var(--ease), border-color .3s; }
.cs-why div:hover { transform: translateY(-4px); border-color: rgba(255,106,43,.45); }
.cs-why i { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: rgba(255,106,43,.12); color: #ff8a55; font-style: normal; font-weight: 800; }
.cs-why b { display: block; margin-top: 10px; font-size: 1.05rem; }
.cs-why p { margin-top: 6px; color: var(--mu); font-size: .88rem; line-height: 1.55; }
/* your own character */
.cs-own { position: relative; display: grid; grid-template-columns: minmax(0,1fr) minmax(0,.95fr); gap: 30px; align-items: center; padding: 44px; overflow: hidden; isolation: isolate; border: 1px solid rgba(255,106,43,.55); border-radius: 30px; color: #fff; text-decoration: none; background: radial-gradient(60% 120% at 100% 50%, rgba(255,106,43,.28), transparent 60%), radial-gradient(50% 80% at 0 0, rgba(167,139,250,.12), transparent 60%), linear-gradient(110deg, #1b100b, #0f1013 55%); box-shadow: 0 40px 100px rgba(0,0,0,.5), 0 0 90px rgba(255,106,43,.16); transition: transform .4s var(--ease), box-shadow .4s, opacity .9s var(--ease); }
.cs-own.in:hover { transform: translateY(-4px); box-shadow: 0 50px 110px rgba(0,0,0,.55), 0 0 120px rgba(255,106,43,.25); }
.cs-own:not(:has(.cs-ov)) { grid-template-columns: 1fr; }
.cs-shine { position: absolute; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.cs-shine::before { content: ""; position: absolute; top: -50%; left: -30%; width: 25%; height: 200%; background: linear-gradient(90deg, transparent, rgba(255,200,170,.12), transparent); transform: rotate(20deg); animation: csshine 6s ease-in-out infinite; }
@keyframes csshine { 0%, 55% { left: -30%; } 100% { left: 130%; } }
.cs-own h2 { margin-top: 12px; font-size: 3.4rem; font-weight: 800; letter-spacing: -.055em; line-height: .98; }
.cs-own h2 span { color: var(--o); }
.cs-ol { max-width: 470px; margin-top: 14px !important; color: rgba(255,235,225,.78); font-size: 1.02rem; line-height: 1.6; }
.cs-steps { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.cs-steps span { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px 7px 7px; border: 1px solid rgba(255,255,255,.14); border-radius: 99px; background: rgba(0,0,0,.25); font-size: .82rem; font-weight: 700; }
.cs-steps i { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--o2); font-size: .7rem; font-style: normal; }
.cs-oc { display: flex; align-items: center; gap: 22px; margin-top: 26px; }
.cs-big { height: 56px; padding: 0 28px; font-size: 1.02rem; }
.cs-op[hidden] { display: none; }
.cs-op small { display: block; color: var(--mu); font-size: .74rem; }
.cs-op b { color: #ff8a55; font-size: 1.6rem; font-weight: 800; letter-spacing: -.03em; }
.cs-ov { position: relative; display: flex; align-items: center; justify-content: center; gap: 14px; height: 340px; }
.cs-ref { position: relative; flex: none; width: 130px; padding: 5px; border-radius: 18px; background: #fff; transform: rotate(-5deg); box-shadow: 0 20px 40px rgba(0,0,0,.5); }
.cs-ref img { display: block; width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 14px; }
.cs-ref em { position: absolute; left: 50%; bottom: -12px; transform: translateX(-50%); padding: 4px 10px; border: 1px solid var(--line2); border-radius: 99px; background: #0f1013; color: #fff; font-style: normal; font-size: .62rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; white-space: nowrap; }
.cs-arr { color: #ff8a55; font-size: 1.8rem; font-weight: 800; animation: csarr 1.6s ease-in-out infinite; }
@keyframes csarr { 50% { transform: translateX(6px); } }
.cs-fan { position: relative; width: 230px; height: 300px; }
.cs-fan img { position: absolute; left: 50%; top: 10px; width: 160px; height: 220px; margin-left: -80px; border: 2px solid rgba(255,255,255,.85); border-radius: 16px; object-fit: cover; box-shadow: 0 24px 50px rgba(0,0,0,.55); transition: transform .6s var(--ease); }
.cs-fan img:nth-child(1) { transform: rotate(-12deg) translateX(-46px); }
.cs-fan img:nth-child(2) { z-index: 2; transform: translateY(20px); }
.cs-fan img:nth-child(3) { transform: rotate(12deg) translateX(46px); }
.cs-own:hover .cs-fan img:nth-child(1) { transform: rotate(-16deg) translateX(-70px) translateY(-6px); }
.cs-own:hover .cs-fan img:nth-child(2) { transform: translateY(8px) scale(1.04); }
.cs-own:hover .cs-fan img:nth-child(3) { transform: rotate(16deg) translateX(70px) translateY(-6px); }
.cs-sm { position: absolute; bottom: 6px; right: 20%; padding: 6px 12px; border: 1px solid rgba(255,106,43,.4); border-radius: 99px; background: rgba(11,12,15,.8); color: #fff; font-style: normal; font-size: .76rem; font-weight: 700; }
@media (max-width: 1000px) {
  .cs-hd { flex-direction: column; align-items: flex-start; }
  .cs-hd > p { text-align: left; }
  .cs-hd h1 { font-size: 3.2rem; }
  .cs-line { height: auto; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; gap: 10px; padding-bottom: 4px; }
  .cs-dr, .cs-dr.big { flex: 0 0 82%; height: 520px; scroll-snap-align: center; }
  .cs-dr h2, .cs-dr.big h2 { font-size: 2.6rem; }
  .cs-more { grid-template-rows: 1fr; opacity: 1; }
  .cs-dr:not(.big) .cs-go { display: inline-flex; }
  .cs-go { opacity: 1; transform: none; }
  .cs-seg { opacity: 1; }
  .cs-why { grid-template-columns: 1fr; }
  .cs-own { grid-template-columns: 1fr; padding: 28px; }
  .cs-own h2 { font-size: 2.5rem; }
  .cs-ov { height: 280px; }
  .cs-oc { flex-wrap: wrap; }
}
@media (max-width: 560px) {
  .cs-wrap { width: calc(100% - 24px); }
  .cs-fl { flex-wrap: wrap; }
  .cs-fl span { width: 100%; margin: 6px 0 0; }
  .cs-ref { width: 96px; }
  .cs-ov { gap: 6px; }
  .cs-fan { width: 170px; }
  .cs-fan img { width: 120px; height: 165px; margin-left: -60px; }
  .cs-fan img:nth-child(1) { transform: rotate(-10deg) translateX(-26px); }
  .cs-fan img:nth-child(3) { transform: rotate(10deg) translateX(26px); }
  .cs-sm { right: auto; left: 50%; transform: translateX(-50%); white-space: nowrap; }
  .cs-big { width: 100%; }
}
@media (prefers-reduced-motion: reduce) { .cs-rv { opacity: 1; transform: none; } .cs-bg img, .cs-bg video { transition: none; } }
/* Five characters and more: the closed posters become narrow spines with the name upright, the open one keeps its width. */
@media (min-width: 1001px) {
  .cs-line.is-many { overflow-x: auto; scrollbar-width: none; }
  .cs-line.is-many::-webkit-scrollbar { display: none; }
  .cs-line.is-many .cs-dr { min-width: 66px; }
  .cs-line.is-many .cs-dr.big { flex: 0 0 min(440px, 46%); }
  .cs-line.is-many .cs-dr:not(.big) .cs-no, .cs-line.is-many .cs-dr:not(.big) .cs-sb, .cs-line.is-many .cs-dr:not(.big) .cs-row, .cs-line.is-many .cs-dr:not(.big) .cs-vb { display: none; }
  .cs-line.is-many .cs-dr:not(.big) .cs-tx { left: 0; right: 0; bottom: 18px; display: flex; justify-content: center; }
  .cs-line.is-many .cs-dr:not(.big) h2 { margin: 0 auto; line-height: 1; font-size: 1.7rem; writing-mode: vertical-rl; transform: rotate(180deg); white-space: nowrap; }
}

/* Hover effects only with a real pointer: on a phone they made the first tap show them and only the second open the card. */
@media (hover: hover) {
  .cs-dr:hover .cs-gl { opacity: 1; }
}
