/* Affiliation: page-specific blocks on top of the storefront theme. */
.playnest-site .pn-aff-hero { min-height: 580px; }
.playnest-site .pn-aff-hero h1 em { font-style: normal; color: #3d5ee8; }
.playnest-site .pn-aff-hero .pn-lead strong { color: #202e43; }
.playnest-site .pn-aff-you { display: inline-flex; align-items: center; gap: 9px; margin-top: 22px; padding: 9px 15px; border-radius: 999px; background: #fff; border: 1px solid #e1e3e6; font-size: 12px; color: #657080; box-shadow: 0 8px 30px #202e4309; }
.playnest-site .pn-aff-you > span { color: #e98770; }
.playnest-site .pn-aff-you strong { color: #3d5ee8; }

.playnest-site .pn-aff-art { position: relative; min-height: 460px; display: flex; align-items: center; justify-content: center; isolation: isolate; }
.playnest-site .pn-aff-art .pn-orbit { top: 10px; left: 50%; transform: translateX(-50%); }
.playnest-site .pn-aff-card { position: relative; z-index: 1; width: min(390px, 100%); padding: 24px; background: #fff; border-radius: 18px; box-shadow: 0 25px 55px #425c8924; transform: rotate(-2deg); animation: pn-aff-float 6s ease-in-out infinite; }
.playnest-site .pn-aff-card-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.playnest-site .pn-aff-card-top strong { font-size: 15px; color: #334461; }
.playnest-site .pn-aff-card-top span { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px; background: #e8f2ee; color: #477c72; font-size: 11px; font-weight: 700; }
.playnest-site .pn-aff-card-top i { width: 6px; height: 6px; border-radius: 50%; background: currentColor; animation: pn-aff-pulse 1.6s ease-in-out infinite; }
.playnest-site .pn-aff-card-total { margin: 18px 0 16px; font-size: 22px; font-weight: 700; color: #202e43; }
.playnest-site .pn-aff-card-total b { font-size: 46px; letter-spacing: -2px; font-variant-numeric: tabular-nums; }
.playnest-site .pn-aff-card-total small { display: block; font: 600 10px ui-monospace, monospace; letter-spacing: 1px; color: #8c9db6; text-transform: uppercase; margin-top: 4px; }
.playnest-site .pn-aff-card ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.playnest-site .pn-aff-card li { display: grid; grid-template-columns: 34px 1fr auto; align-items: center; gap: 11px; padding: 10px; border-radius: 12px; background: #f7f8fb; opacity: 0; animation: pn-aff-in .6s ease forwards; }
.playnest-site .pn-aff-card li:nth-child(2) { animation-delay: .25s; }
.playnest-site .pn-aff-card li:nth-child(3) { animation-delay: .5s; }
.playnest-site .pn-aff-card li strong { display: block; font-size: 12px; color: #334461; }
.playnest-site .pn-aff-card li small { font-size: 10px; color: #8c9db6; }
.playnest-site .pn-aff-card li em { font-style: normal; font-weight: 750; font-size: 13px; color: #477c72; }
.playnest-site .pn-aff-avatar { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: #edf1fb; color: #3d5ee8; font-weight: 800; font-size: 13px; }
.playnest-site .pn-aff-avatar.is-coral { background: #fcebe5; color: #d0634b; }
.playnest-site .pn-aff-avatar.is-green { background: #e8f2ee; color: #477c72; }
.playnest-site .pn-aff-card-foot { margin: 16px 0 0; padding-top: 13px; border-top: 1px dashed #e1e5ec; font: 600 10px ui-monospace, monospace; letter-spacing: 1px; color: #748ca6; text-transform: uppercase; }
.playnest-site .pn-aff-note { right: 2%; left: auto; bottom: 22px; }

/* Tiers */
.playnest-site .pn-aff-tiers { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; align-items: stretch; }
.playnest-site .pn-aff-tier { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 12px; padding: 28px; text-align: left; font: inherit; color: inherit; background: #fff; border: 1.5px solid #e1e3e6; border-radius: 18px; cursor: pointer; transition: transform .25s, box-shadow .25s, border-color .25s; }
.playnest-site .pn-aff-tier:hover { transform: translateY(-4px); box-shadow: 0 16px 50px #202e4312; }
.playnest-site .pn-aff-tier[aria-checked="true"] { border-color: #3d5ee8; box-shadow: 0 0 0 4px #3d5ee81f, 0 16px 50px #202e4312; }
.playnest-site .pn-aff-tier.is-featured { background: linear-gradient(160deg, #202e43, #2b45b5); border-color: #202e43; color: #fff; }
.playnest-site .pn-aff-tier.is-featured[aria-checked="true"] { border-color: #8198f0; box-shadow: 0 0 0 4px #8198f040, 0 22px 60px #2b45b540; }
.playnest-site .pn-aff-tier-tag { font: 650 9px/1.6 ui-monospace, monospace; letter-spacing: 1.4px; text-transform: uppercase; padding: 4px 10px; border-radius: 999px; background: #f2f4f8; color: #7c8390; }
.playnest-site .pn-aff-tier.is-featured .pn-aff-tier-tag { background: #e98770; color: #fff; }
.playnest-site .pn-aff-tier-rate { font-size: 26px; font-weight: 750; color: #3d5ee8; line-height: 1; }
.playnest-site .pn-aff-tier-rate b { font-size: 72px; letter-spacing: -4px; }
.playnest-site .pn-aff-tier.is-featured .pn-aff-tier-rate { color: #fff; }
.playnest-site .pn-aff-tier-name { font-size: 17px; font-weight: 750; color: #202e43; }
.playnest-site .pn-aff-tier.is-featured .pn-aff-tier-name { color: #fff; }
.playnest-site .pn-aff-tier-bar { width: 100%; height: 6px; border-radius: 999px; background: #edf0f5; overflow: hidden; }
.playnest-site .pn-aff-tier.is-featured .pn-aff-tier-bar { background: #ffffff26; }
.playnest-site .pn-aff-tier-bar i { display: block; height: 100%; width: 0; border-radius: inherit; background: linear-gradient(90deg, #3d5ee8, #8198f0); transition: width 1.1s cubic-bezier(.2, .8, .2, 1) .15s; }
.playnest-site .pn-aff-tier.is-featured .pn-aff-tier-bar i { background: linear-gradient(90deg, #e98770, #f2b69a); }
.playnest-site .pn-aff-tier.is-visible .pn-aff-tier-bar i, .playnest-site .pn-aff-tier:not(.pn-aff-reveal) .pn-aff-tier-bar i { width: var(--fill); }
.playnest-site .pn-aff-tier-text { font-size: 13px; line-height: 1.75; color: #697485; }
.playnest-site .pn-aff-tier.is-featured .pn-aff-tier-text { color: #d6ddf3; }
.playnest-site .pn-aff-tier-current { position: absolute; top: 18px; right: 18px; font-size: 10px; font-weight: 750; color: #477c72; background: #e8f2ee; padding: 4px 9px; border-radius: 999px; }

/* Simulator */
.playnest-site .pn-aff-sim { display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: center; padding-top: 60px; padding-bottom: 60px; margin-top: 30px; margin-bottom: 30px; background: #edf1fb; border-radius: 28px; }
.playnest-site .pn-aff-sim h2 { font-size: clamp(30px, 3.4vw, 44px); line-height: 1.08; letter-spacing: -2px; margin: 0 0 28px; color: #202e43; }
.playnest-site .pn-aff-sim-switch { display: inline-flex; gap: 6px; padding: 6px; background: #fff; border-radius: 14px; margin-bottom: 30px; box-shadow: 0 8px 30px #202e4309; }
.playnest-site .pn-aff-sim-switch button { border: 0; background: transparent; padding: 10px 18px; border-radius: 10px; font: 750 16px Inter, Arial, sans-serif; color: #657080; cursor: pointer; transition: background .2s, color .2s; }
.playnest-site .pn-aff-sim-switch button small { display: block; font-size: 10px; font-weight: 600; opacity: .75; }
.playnest-site .pn-aff-sim-switch button[aria-checked="true"] { background: #3d5ee8; color: #fff; }
.playnest-site .pn-aff-range { display: block; margin-bottom: 26px; }
.playnest-site .pn-aff-range > span { display: flex; align-items: baseline; gap: 8px; font-size: 13px; font-weight: 650; color: #4b5668; margin-bottom: 12px; }
.playnest-site .pn-aff-range output { margin-left: auto; font-size: 20px; font-weight: 800; color: #202e43; font-variant-numeric: tabular-nums; }
.playnest-site .pn-aff-range small { font-size: 11px; color: #8c9db6; }
.playnest-site .pn-aff-range input { -webkit-appearance: none; appearance: none; width: 100%; height: 8px; border-radius: 999px; background: linear-gradient(90deg, #3d5ee8 var(--progress, 0%), #d6ddf3 var(--progress, 0%)); outline: none; cursor: pointer; }
.playnest-site .pn-aff-range input::-webkit-slider-thumb { -webkit-appearance: none; width: 24px; height: 24px; border-radius: 50%; background: #fff; border: 4px solid #3d5ee8; box-shadow: 0 4px 12px #3d5ee840; transition: transform .15s; }
.playnest-site .pn-aff-range input::-moz-range-thumb { width: 18px; height: 18px; border-radius: 50%; background: #fff; border: 4px solid #3d5ee8; box-shadow: 0 4px 12px #3d5ee840; }
.playnest-site .pn-aff-range input:active::-webkit-slider-thumb { transform: scale(1.15); }
.playnest-site .pn-aff-range input:focus-visible { outline: 3px solid #de745d; outline-offset: 6px; }
.playnest-site .pn-aff-sim-result { background: #fff; border-radius: 22px; padding: 34px; box-shadow: 0 25px 55px #425c891f; }
.playnest-site .pn-aff-sim-label { margin: 0; font: 650 10px ui-monospace, monospace; letter-spacing: 1.4px; text-transform: uppercase; color: #8c9db6; }
.playnest-site .pn-aff-sim-big { margin: 8px 0 4px; font-size: 30px; font-weight: 750; color: #202e43; }
.playnest-site .pn-aff-sim-big b { font-size: clamp(54px, 6vw, 76px); letter-spacing: -4px; color: #3d5ee8; font-variant-numeric: tabular-nums; }
.playnest-site .pn-aff-sim-big small { font-size: 14px; color: #8c9db6; margin-left: 4px; }
.playnest-site .pn-aff-sim-year { margin: 0 0 20px; font-size: 14px; color: #657080; }
.playnest-site .pn-aff-sim-year strong { color: #202e43; font-variant-numeric: tabular-nums; }
.playnest-site .pn-aff-sim-gift { display: flex; gap: 14px; align-items: flex-start; padding: 16px 18px; border-radius: 14px; background: #fcf1ec; margin-bottom: 14px; }
.playnest-site .pn-aff-sim-gift > span { color: #e98770; font-size: 22px; line-height: 1; }
.playnest-site .pn-aff-sim-gift p { margin: 0; font-size: 13px; color: #4b5668; }
.playnest-site .pn-aff-sim-gift strong { color: #d0634b; }
.playnest-site .pn-aff-sim-gift small { display: block; font-size: 11px; color: #8c96a5; margin-top: 3px; }
.playnest-site .pn-aff-sim-hint { min-height: 20px; margin: 0 0 20px; font-size: 12px; color: #477c72; }
.playnest-site .pn-aff-sim-hint strong { color: #365f57; }
.playnest-site .pn-aff-sim-result .button { width: 100%; }
.playnest-site .pn-aff-sim-note { display: block; margin-top: 14px; font-size: 10px; line-height: 1.6; color: #9399a3; }

/* Perks */
.playnest-site .pn-aff-perks { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.playnest-site .pn-aff-perks article { padding: 28px; background: #fff; border: 1px solid #e1e3e6; border-radius: 18px; transition: transform .25s, box-shadow .25s; }
.playnest-site .pn-aff-perks article:hover { transform: translateY(-4px); box-shadow: 0 16px 50px #202e4312; }
.playnest-site .pn-aff-perks span { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 13px; background: #edf1fb; color: #3d5ee8; font-size: 20px; font-weight: 700; }
.playnest-site .pn-aff-perks article:nth-child(3n+2) span { background: #fcebe5; color: #d0634b; }
.playnest-site .pn-aff-perks article:nth-child(3n) span { background: #e8f2ee; color: #477c72; }
.playnest-site .pn-aff-perks h3 { margin: 20px 0 8px; font-size: 18px; color: #202e43; letter-spacing: -.4px; }
.playnest-site .pn-aff-perks p { margin: 0; font-size: 13px; line-height: 1.75; color: #697485; }

/* Reveal */
.playnest-site .pn-aff-reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease, box-shadow .25s, border-color .25s; }
.playnest-site .pn-aff-reveal.is-visible { opacity: 1; transform: none; }
.playnest-site .pn-aff-reveal.is-visible:hover { transform: translateY(-4px); }
.playnest-site .pn-aff-tiers .pn-aff-reveal:nth-child(2), .playnest-site .pn-aff-perks .pn-aff-reveal:nth-child(3n+2) { transition-delay: .1s, .1s, 0s, 0s; }
.playnest-site .pn-aff-tiers .pn-aff-reveal:nth-child(3), .playnest-site .pn-aff-perks .pn-aff-reveal:nth-child(3n) { transition-delay: .2s, .2s, 0s, 0s; }

@keyframes pn-aff-float { 0%, 100% { transform: rotate(-2deg) translateY(0); } 50% { transform: rotate(-1deg) translateY(-10px); } }
@keyframes pn-aff-pulse { 0%, 100% { opacity: 1; } 50% { opacity: .3; } }
@keyframes pn-aff-in { from { opacity: 0; transform: translateX(14px); } to { opacity: 1; transform: none; } }

@media (max-width: 1000px) {
    .playnest-site .pn-aff-tiers, .playnest-site .pn-aff-perks { grid-template-columns: 1fr 1fr; }
    .playnest-site .pn-aff-tiers .pn-aff-tier.is-featured { grid-column: 1 / -1; }
    .playnest-site .pn-aff-sim { grid-template-columns: 1fr; gap: 32px; }
}
@media (max-width: 720px) {
    .playnest-site .pn-aff-art { min-height: 400px; }
    .playnest-site .pn-aff-note { right: 0; bottom: 0; }
    .playnest-site .pn-aff-tiers, .playnest-site .pn-aff-perks { grid-template-columns: 1fr; }
    .playnest-site .pn-aff-tier { padding: 24px; }
    .playnest-site .pn-aff-tier-rate b { font-size: 60px; }
    .playnest-site .pn-aff-sim { border-radius: 0; padding-top: 42px; padding-bottom: 42px; }
    .playnest-site .pn-aff-sim-switch { display: flex; }
    .playnest-site .pn-aff-sim-switch button { flex: 1; padding: 10px 8px; }
    .playnest-site .pn-aff-sim-result { padding: 24px; }
}
