.evolution-preview{display:flex;justify-content:space-between;align-items:center;gap:15px;padding:9px max(24px,calc((100vw - 1180px)/2));background:#190532;color:#e9dcff;font-size:11px;font-weight:800;letter-spacing:.03em}.evolution-preview a{color:#ffc926;text-underline-offset:4px;white-space:nowrap}
.evolution .game-hero{min-height:650px}.evolution .section-top p{max-width:390px}.evolution .experience-section{background:#fff9e9}.experience-layout{display:grid;grid-template-columns:1fr 1.12fr;gap:60px;align-items:center;margin-top:42px}.experience-steps{display:grid;gap:12px}.experience-steps>button{display:flex;align-items:center;gap:20px;width:100%;text-align:left;padding:22px 20px;background:none;border:1px solid #decfe9;border-radius:18px;color:#2d0c57;cursor:pointer;font-family:inherit;transition:background .18s,transform .18s}.experience-steps>button[aria-selected=true]{background:#2d0c57;color:#fff9e9;border-color:#2d0c57;transform:translateX(10px);box-shadow:0 5px 0 #ffc926}.experience-steps .step-index{font-family:Baloo,sans-serif;font-size:25px;font-weight:800;opacity:.65}.experience-steps strong{display:block;font-family:Baloo,sans-serif;font-size:25px;line-height:1.1}.experience-steps small{display:block;font-size:13px;line-height:1.5;margin-top:6px;opacity:.85}.experience-steps>button>span:last-child{margin-left:auto}.experience-demo{position:relative;background:#2d0c57;padding:18px;border-radius:30px;box-shadow:9px 12px 0 #dac3f6;transform:rotate(1deg)}.demo-label{display:block;text-align:center;padding:0 6px 13px;color:#e4d4fb;font-size:11px;font-weight:800}.demo-screen{background:#fff9e9;border-radius:20px;padding:28px;color:#2d0c57;min-height:475px}.demo-screen[hidden]{display:none}.demo-top{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:22px;font-size:11px;font-weight:800}.demo-pill{display:inline-block;padding:7px 10px;background:#e8dcff;border-radius:6px;letter-spacing:.05em;font-size:10px;font-weight:1000}.demo-stars{font-size:23px;color:#6410dc}.demo-screen h3{font-family:Baloo,sans-serif;font-size:40px;line-height:1.05;margin:0 0 20px;font-weight:800;letter-spacing:-.02em}.chapter-preview{display:flex;position:relative;align-items:center;gap:12px;background:#f0e4ff;border-radius:18px;padding:24px 12px 24px 20px;min-height:190px;overflow:hidden}.chapter-preview>div{width:61%;position:relative;z-index:1}.chapter-preview strong{display:block;font-family:Baloo,sans-serif;font-size:28px;margin:8px 0 5px}.chapter-preview p{font-size:14px;line-height:1.45;margin:0}.chapter-preview img{position:absolute;right:-20px;bottom:-8px;width:175px;height:175px;object-fit:contain}.chapter-preview .eyebrow{font-size:9px}.resource-chips{display:flex;gap:9px;margin-top:18px;flex-wrap:wrap}.resource-chips span{padding:8px 13px;border:1px solid #cab3e8;border-radius:8px;font-size:12px;font-weight:900}.demo-caption{font-size:12px!important;line-height:1.6!important;color:#5d4a71;margin:16px 0 0!important}.demo-options{display:grid;gap:10px;margin-top:20px}.demo-options>span{display:flex;align-items:center;gap:12px;border:1px solid #cebfdf;border-radius:12px;padding:10px 12px;font-size:15px;font-weight:800}.demo-options b{width:26px;height:26px;background:#eee3fa;border-radius:7px;display:grid;place-items:center}.demo-options .demo-answer{border:2px solid #56a843;background:#edf7df}.demo-answer i{margin-left:auto;font-style:normal}.explanation-preview{padding:24px;background:#edf7df;border-left:5px solid #8bc83f;border-radius:0 15px 15px 0}.explanation-preview strong{font-size:18px}.explanation-preview p{font-size:15px;line-height:1.6;margin:10px 0 0}.demo-guide{display:flex;align-items:center;gap:15px;margin-top:25px}.demo-guide img{width:65px;height:65px;border-radius:50%;border:3px solid #ffc926}.demo-guide p{font-size:14px;line-height:1.5;font-weight:800;margin:0}.review-preview{display:flex;align-items:center;gap:20px;padding:24px 0}.review-preview>span{font-size:70px;color:#6410dc;line-height:1}.review-preview strong{font-size:19px}.review-preview p{font-size:15px;line-height:1.5;margin:8px 0}.demo-screen .button{margin-top:22px;font-size:15px;padding:15px 20px}.experience-bottom{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-top:35px}.experience-bottom>span{font-size:13px;color:#69537f}
.avatar-feature{display:grid;grid-template-columns:1fr 1fr;gap:65px;align-items:center;margin-top:95px}.avatar-feature h2{font-size:46px;line-height:1.05}.avatar-feature p{max-width:420px;line-height:1.7}.avatar-picker{border-radius:24px;background:radial-gradient(ellipse at 50% 20%,#7221dc,#2d0c57 70%);color:#fff9e9;padding:30px;text-align:center;box-shadow:0 8px 0 #d4baf4}.profile-orbit{width:160px;height:160px;position:relative;padding:8px;border:3px solid #ffc926;border-radius:50%;box-shadow:0 0 0 8px #ffc9261c;margin:0 auto 22px}.profile-orbit img{width:100%;height:100%;border-radius:50%;object-fit:cover}.profile-preview .eyebrow{color:#cbb2ef;font-size:10px}.profile-preview h3{font-family:Baloo,sans-serif;font-size:40px;line-height:1;margin:10px 0}.profile-preview p{margin:0 auto 22px;color:#e4d5fa;font-size:14px}.avatar-choices{display:flex;justify-content:center;gap:9px;flex-wrap:wrap}.avatar-choices button{width:48px;height:48px;padding:3px;border-radius:50%;border:2px solid transparent;background:transparent;cursor:pointer;transition:transform .16s,border-color .16s}.avatar-choices button[aria-pressed=true]{border-color:#ffc926;transform:translateY(-5px)}.avatar-choices img{display:block;width:100%;height:100%;object-fit:cover;border-radius:50%}.avatar-note{display:block;color:#d4bdf2;font-size:11px;line-height:1.6;margin-top:18px}.evolution .shop-currency{font-size:11px;font-weight:850}.evolution .item-detail .shop-currency{font-size:14px}.evolution .shop-item{min-height:265px}.evolution .social-progress{background:#f0e6ff}.social-progress-grid{display:grid;grid-template-columns:1fr 1fr;gap:80px;align-items:center}.social-progress h2{font-size:52px;line-height:1.05}.social-progress p{max-width:430px;line-height:1.7}.progress-story{display:grid;gap:24px}.progress-story article{display:flex;gap:20px;align-items:center;padding:25px 0;border-bottom:1px solid #cfb6e6}.progress-story article>img{width:130px;height:130px;object-fit:contain;flex-shrink:0}.progress-story h3{font-size:27px;line-height:1.1;margin:0 0 10px}.progress-story p{font-size:15px;line-height:1.6;margin:0}.progress-story a{display:block;font-size:12px;font-weight:850;margin-top:15px;text-underline-offset:4px}.friend-avatars{display:flex;width:130px;flex-shrink:0;align-items:center}.friend-avatars img{width:78px;height:78px;border:4px solid #fff9e9;border-radius:50%;object-fit:cover}.friend-avatars img+img{margin-left:-26px;transform:translateY(23px)}
.evolution .support-section{background:#f0e6ff}.support-list{display:grid;gap:25px}.support-list article{display:flex;gap:20px;align-items:flex-start;padding-bottom:25px;border-bottom:1px solid #d5c0e8}.support-list article>span{display:grid;place-items:center;background:#6410dc;color:#fff9e9;border-radius:14px;min-width:60px;height:60px;font-size:27px;font-weight:900}.support-list h3{font-size:26px;line-height:1.1;margin:0 0 10px}.support-list p{line-height:1.7;margin:0}.support-character{display:block;width:200px;height:200px;object-fit:contain;margin-top:18px}.catalog-note{background:#2d0c57;color:#fff9e9;padding:35px;border-radius:22px;box-shadow:7px 7px 0 #ffc926}.catalog-note h3{font-size:35px;line-height:1.1;margin:15px 0}.catalog-note ol{padding-left:22px;line-height:1.75}.catalog-note li{padding:10px 0}.catalog-note a{color:#ffc926;font-size:14px}.evolution-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:45px}.evolution-grid article{border-top:2px solid #d9c2ee;padding-top:28px}.evolution-grid img{width:110px;height:110px;object-fit:contain;margin-bottom:15px}.evolution-grid article:last-child img{border-radius:50%}.evolution-grid h3{font-size:28px;margin:0 0 15px}.evolution-grid p{line-height:1.75;margin:0}.evolution .notice p{margin-bottom:0}.evolution .section a:focus-visible,.evolution .section button:focus-visible{outline:3px solid #e69000;outline-offset:5px}.evolution .roster-section a:focus-visible,.evolution .avatar-choices button:focus-visible{outline-color:#ffc926}.evolution .section [role=tabpanel]:focus-visible{outline:3px solid #ffc926;outline-offset:3px}
@media(max-width:1000px){.experience-layout{gap:30px;grid-template-columns:1fr 1fr}.experience-steps>button{gap:12px;padding:19px 14px}.experience-steps strong{font-size:22px}.experience-steps small{font-size:12px}.demo-screen{padding:22px;min-height:470px}.demo-screen h3{font-size:36px}.avatar-feature{gap:35px}.avatar-feature h2,.social-progress h2{font-size:42px}.social-progress-grid{gap:35px}.evolution-grid{gap:25px}.progress-story article>img,.friend-avatars{width:90px}.friend-avatars img{width:60px;height:60px}.chapter-preview img{width:140px;height:140px}}
@media(max-width:700px){.evolution-preview{padding:9px 18px;font-size:10px}.evolution .game-hero{min-height:0}.evolution .section{padding-top:65px;padding-bottom:65px}.experience-layout{grid-template-columns:1fr;gap:30px;margin-top:25px}.experience-steps{grid-template-columns:1fr 1fr;gap:10px}.experience-steps>button{padding:14px 10px;gap:8px;align-items:flex-start;border-radius:12px;min-height:105px}.experience-steps>button[aria-selected=true]{transform:none}.experience-steps strong{font-size:20px}.experience-steps .step-index{font-size:17px}.experience-steps>button>span:last-child{display:none}.experience-steps small{font-size:11px;line-height:1.4}.experience-demo{padding:12px;border-radius:22px;transform:none;box-shadow:5px 6px 0 #dac3f6}.demo-screen{padding:20px;min-height:470px}.demo-screen h3{font-size:36px}.demo-top{gap:6px;font-size:10px}.demo-label{font-size:9px;padding-bottom:10px}.chapter-preview{padding:20px 12px;min-height:185px}.chapter-preview img{width:142px;height:142px;right:-17px}.chapter-preview strong{font-size:25px}.chapter-preview p{font-size:13px}.experience-bottom{align-items:flex-start;flex-direction:column;gap:15px}.experience-bottom>span{font-size:12px}.avatar-feature{grid-template-columns:1fr;gap:30px;margin-top:70px}.avatar-feature h2,.social-progress h2{font-size:39px}.avatar-picker{padding:28px 18px}.avatar-choices{gap:6px}.avatar-choices button{width:44px;height:44px}.avatar-note{font-size:10px}.social-progress-grid{grid-template-columns:1fr;gap:20px}.progress-story article{gap:18px}.progress-story h3{font-size:25px}.progress-story p{font-size:14px}.progress-story article>img{width:90px;height:90px}.evolution-grid{grid-template-columns:1fr;gap:30px}.evolution-grid article{display:grid;grid-template-columns:80px 1fr;gap:0 20px}.evolution-grid img{width:80px;height:80px;grid-row:span 2}.evolution-grid h3{font-size:25px}.evolution-grid p{font-size:14px}.catalog-note{padding:26px}.catalog-note h3{font-size:31px}.support-list article{gap:15px}.support-list article>span{min-width:45px;height:45px;font-size:21px}.support-list h3{font-size:24px}.support-list p{font-size:15px}.evolution .content-columns{gap:35px}.evolution .shop-item{min-height:225px}}
@media(prefers-reduced-motion:reduce){.experience-steps>button,.avatar-choices button{transition:none}}
.catalog-availability{padding-top:20px;border-top:1px solid #decfe9;color:#69537f;font-size:12px;line-height:1.7;margin-top:25px}.catalog-availability a{font-weight:850;text-underline-offset:3px}@media(max-width:700px){.evolution .section-top{display:flex;flex-direction:column;align-items:flex-start;gap:18px}.evolution .section-top p{max-width:none}}

/* A current location is readable text, not a link that reloads the page. */
.nav-links .current-page {
  color:var(--yellow);font-size:15px;font-weight:900;white-space:nowrap;
  text-decoration:underline;text-underline-offset:7px;text-decoration-thickness:2px;
}
.nav-links a[aria-current="location"] { color:var(--cyan); }
.footer-grid .current-page { display:block;font-size:14px;margin:9px 0;color:var(--yellow);font-weight:900; }
@media(max-width:1100px) { .nav-links .current-page { font-size:14px; } }

:root .fzs-frame-preview {
  position: relative;
  display: grid;
  place-items: center;
  width: 88px;
  height: 94px;
  border: 6px solid #4fa877;
  border-radius: 29px;
  background: #b3e8ad;
  box-shadow:
    inset 0 0 0 2px #efffbd,
    0 5px 0 #326f64,
    0 9px 17px #523f5930;
  transform: rotate(-4deg);
}
:root .fzs-frame-preview > * {
  transform: rotate(4deg);
}
:root .fzs-frame-preview .avatar {
  width: 72px;
  height: 77px;
  border-radius: 21px;
  box-shadow: none;
  border: 2px solid #483258;
}
:root .fzs-frame-preview[data-art="ocean"] {
  border-color: #3bc8d3;
  background: #a5fbef;
  box-shadow:
    inset 0 0 0 2px #eafffb,
    0 5px 0 #337aab,
    0 9px 17px #523f5930;
  transform: rotate(4deg);
}
:root .fzs-frame-preview[data-art="ocean"] > * {
  transform: rotate(-4deg);
}
:root .fzs-frame-preview[data-art="sunset"] {
  border-color: #ffcf56;
  background: #fff4a1;
  box-shadow:
    inset 0 0 0 2px #fff9e3,
    0 5px 0 #cc913e,
    0 9px 17px #523f5930;
}
:root .fzs-frame-preview[data-art="galaxy"] {
  border-color: #a76feb;
  background: #f3c2ff;
  box-shadow:
    inset 0 0 0 2px #fcedff,
    0 5px 0 #6944a5,
    0 9px 17px #523f5930;
  transform: rotate(4deg);
}
:root .fzs-frame-preview[data-art="galaxy"] > * {
  transform: rotate(-4deg);
}
:root .fzs-frame-preview[data-art="gold"] {
  border-color: #ebaf31;
  background: #ffefa5;
  box-shadow:
    inset 0 0 0 2px #fff9df,
    0 5px 0 #a77929,
    0 0 0 3px #fff4a3,
    0 9px 17px #523f5930;
}
:root .fzs-frame-preview:before,
:root .fzs-frame-preview:after {
  content: "✦";
  position: absolute;
  z-index: 2;
  color: #fff5cb;
  font-size: 27px;
  text-shadow: 0 2px 0 #6d5187;
}
:root .fzs-frame-preview:before {
  left: -17px;
  top: 7px;
}
:root .fzs-frame-preview:after {
  right: -13px;
  bottom: 5px;
  font-size: 19px;
}
:root .fzs-frame-preview .avatar {
  display: grid;
  place-items: center;
  width: 72px;
  height: 77px;
  flex-shrink: 0;
  border: 2px solid #483258;
  border-radius: 21px;
  overflow: hidden;
  background: radial-gradient(circle at 25% 10%, #bb87dc, #6d418f);
  box-shadow: none;
  color: #fff4d9;
  font: 800 24px/1 var(--fz-font-display);
}
:root .fzs-frame-preview .avatar img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* One soft reflection over 2 seconds, then 6 seconds of rest. */
:root .fzs-frame-preview {
  --frame-reflection-width: 6px;
}
:root .fzs-frame-preview[data-art] > .frame-reflection,
:root .avatar[data-frame] > .frame-reflection {
  position: absolute;
  inset: calc(-1 * var(--frame-reflection-width, 3px));
  z-index: 3;
  display: block;
  padding: var(--frame-reflection-width, 3px);
  border-radius: inherit;
  overflow: hidden;
  pointer-events: none;
  transform: none;
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask-composite: exclude;
}
.frame-reflection::before {
  content: "";
  position: absolute;
  inset: -50%;
  background: linear-gradient(115deg, transparent 38%, #fff8 46%, #fff 50%, #fff8 54%, transparent 62%);
  opacity: 0;
  transform: translate3d(-80%, 0, 0);
  animation: frame-reflection-pass 8s cubic-bezier(.4, 0, .2, 1) infinite;
  animation-delay: var(--frame-reflection-delay, .6s);
}
:root .avatar[data-frame] {
  position: relative;
  overflow: visible;
  --frame-reflection-width: 3px;
}
:root .avatar[data-frame] > .frame-reflection { inset: -5px; }
:root .avatar[data-frame] > img { border-radius: inherit; }
[data-art="ocean"], [data-frame="ocean"] { --frame-reflection-delay: 1.7s; }
[data-art="sunset"], [data-frame="sunset"] { --frame-reflection-delay: 2.8s; }
[data-art="galaxy"], [data-frame="galaxy"] { --frame-reflection-delay: 3.9s; }
[data-art="gold"], [data-frame="gold"] { --frame-reflection-delay: 5s; }
:root .ranking-page .reference-photo-frame {
  --frame-reflection-width: clamp(3px, 1cqw, 7px);
}
:root .ranking-page .ranking-place-portrait .reference-photo-frame {
  --frame-reflection-width: 2px;
}
@keyframes frame-reflection-pass {
  0% { transform: translate3d(-80%, 0, 0); opacity: 0; }
  4% { opacity: .82; }
  21% { opacity: .82; }
  25%, 100% { transform: translate3d(80%, 0, 0); opacity: 0; }
}
@media (prefers-reduced-motion: reduce), print {
  .frame-reflection::before { animation: none; opacity: 0; }
}

/* Keep the approved app artwork legible in the site's existing shop cards. */
.shop-item .item-art { height:160px; }
.shop-item .item-art > img { width:170px;height:160px; }
:root .fzs-frame-preview .avatar img { filter:none;transform:none; }
:root .shop-item:hover .fzs-frame-preview .avatar img { transform:none; }
@media(max-width:600px) {
  .shop-item .item-art { height:140px; }
  .shop-item .item-art > img { width:150px;height:140px; }
}
