/* 240px WebP copies of sejong-reference-v1.webp and duel-card-back-v1.webp;
   original artwork is unchanged. Combined transfer size: 38,572 bytes. */
.cards-page .access-gate{position:relative;overflow:hidden;max-width:600px;margin:36px auto 64px;padding:34px 24px 38px;border:1px solid #c9ad70;background:radial-gradient(ellipse at 50% 26%,#296157 0,#123d38 50%,#092d2d 100%);color:#fff8e3;box-shadow:0 14px 36px #123d3818}
.access-gate .gate-kicker{font-size:12px;font-weight:800;letter-spacing:.18em;color:#e7ca88;margin:0 0 8px}
.access-gate .gate-art{position:relative;width:min(100%,310px);height:248px;margin:0 auto 16px}
.gate-art .loading-card{position:absolute;width:112px;aspect-ratio:2/3;top:46px;left:calc(50% - 56px);border:2px solid #d8b575;border-radius:9px;overflow:hidden;background:#f9f2dd;box-shadow:0 10px 18px #001b2860;transform-origin:50% 90%}
.gate-art .loading-card img{display:block;width:100%;height:100%;object-fit:contain}
.gate-art .loading-card:first-child{transform:translateX(-67px) rotate(-18deg)}
.gate-art .loading-card:last-child{transform:translateX(67px) rotate(18deg)}
.gate-art .loading-card.is-front{width:130px;left:calc(50% - 65px);top:22px;z-index:1;display:flex;flex-direction:column;border-width:3px;box-shadow:0 12px 28px #001b2870}
.loading-card.is-front b{flex:none;text-align:center;padding:5px 0;color:#543d24;background:linear-gradient(100deg,#edd393,#fff0c6,#dec080);font-size:13px;line-height:1.2;border-bottom:1px solid #b3945d}
.loading-card.is-front img{flex:1;min-height:0}
.cards-page .access-gate h1{margin:6px 0 12px;font-size:clamp(22px,4vw,28px);line-height:1.45;word-break:keep-all;text-wrap:balance;color:#fff8e3}
.cards-page .access-gate p:not(.gate-kicker){color:#c4d9d1;font-size:14px;margin:0 0 24px;word-break:keep-all}
.gate-loading-dots{display:none;justify-content:center;gap:7px;margin:0 0 18px}
.gate-loading-dots i{width:6px;height:6px;border-radius:50%;background:#e8c783;animation:card-loading-dot 1.5s ease-in-out infinite}
.gate-loading-dots i:nth-child(2){animation-delay:.2s}.gate-loading-dots i:nth-child(3){animation-delay:.4s}
.access-gate[data-state=loading] .gate-loading-dots{display:flex}
.access-gate[data-state=loading] .loading-card.is-front{animation:card-loading-float 2.8s ease-in-out infinite}
.access-gate .primary,.access-gate .secondary{background:#f4d899;color:#173f38;border:1px solid #e3c482}
@keyframes card-loading-float{50%{transform:translateY(-7px)}}
@keyframes card-loading-dot{50%{opacity:.35;transform:translateY(-3px)}}
@media(prefers-reduced-motion:reduce){.access-gate[data-state=loading] .loading-card.is-front,.gate-loading-dots i{animation:none}}
@media(max-width:380px){.cards-page .access-gate{padding-inline:16px}.gate-art .loading-card:first-child{transform:translateX(-59px) rotate(-16deg)}.gate-art .loading-card:last-child{transform:translateX(59px) rotate(16deg)}}
