/* Five deliberate choices, with the original artwork and protected proportions. */
.five-back-pick{padding-top:8px;padding-bottom:16px}
.five-back-pick>.eyebrow{margin-bottom:0;padding-block:2px}
.five-back-pick h1{font-size:24px;line-height:1.2;margin-bottom:2px}
.five-back-pick>.quiet{margin:2px auto 8px;padding-block:2px;min-height:25px}
.five-back-pick .spread{gap:3px;margin:8px auto 0;width:min(100%,600px,calc((100svh - 168px)*.592593))}
.five-back-pick .card-back{position:relative;background:#081d29;perspective:600px;transition:box-shadow 160ms}
.five-back-pick .card-back:disabled{opacity:1}
.five-back-pick .sealed-choice{border:1px solid #c2a45c;background:#102b4070;box-shadow:inset 0 0 12px #e5c46f24}
.five-back-pick .sealed-choice img{visibility:hidden}
.five-back-pick .sealed-choice>span{position:absolute;inset:0;display:grid;place-items:center;color:#fff0b5;font:22px/1 Georgia,serif;text-shadow:0 0 8px #e9c66b88}
.five-back-pick .choice-saving{outline:2px solid #f7d98c;outline-offset:1px;box-shadow:0 0 15px #efc56a8c}
.five-back-pick .choice-saving::after{content:'';position:absolute;inset:3px;border:1px solid #fff0a8;border-radius:4px;animation:choice-wait 1s ease-in-out infinite alternate}
@keyframes choice-wait{to{opacity:.3}}
.welcome-sequence{max-width:900px;padding-top:12px;padding-bottom:32px}
.welcome-sequence h1{margin-bottom:6px;min-height:34px}
.welcome-sequence-stage{position:relative;isolation:isolate;display:grid;place-items:center;height:440px;width:min(100%,620px);margin:0 auto 6px}
.welcome-sequence-stage::before{content:'';position:absolute;inset:0 -12px;z-index:-1;background:url('/assets/master-bg.jpg') center/cover;mask-image:radial-gradient(ellipse at center,#000 35%,transparent 73%);opacity:.9;pointer-events:none}
.welcome-sequence .cosmic-table{--table-card-height:112px;width:min(100%,440px);height:100%;margin:0;row-gap:6px;column-gap:18px;padding:12px;align-content:center}
.welcome-sequence .cosmic-table::before{content:none}
.welcome-sequence .table-card{position:relative;background:#0d2430;border:0;max-width:calc(var(--table-card-height)*.592593);height:var(--table-card-height);border-radius:7px;box-shadow:0 5px 20px #06101c99}
.welcome-sequence .table-card:disabled{opacity:1;cursor:default}
.welcome-sequence .table-card[data-presenting="true"]{visibility:hidden}
.welcome-sequence .table-card img{object-fit:contain}
.welcome-missing-face{display:flex;align-items:center;justify-content:center;height:100%;padding:6px;border:1px solid #d6b35e;border-radius:6px;color:#fff1c6;font:13px/1.3 Georgia,serif;text-wrap:balance;overflow-wrap:anywhere}
.welcome-sequence .table-slot p{font-size:13px;line-height:18px;margin-top:4px}
.sealed-ordinal{position:absolute;bottom:5px;left:50%;transform:translateX(-50%);width:23px;height:23px;border:1px solid #e5c46f;border-radius:50%;background:#092330e8;color:#fff2c4;font:16px/21px Georgia,serif}
.welcome-sequence-hero{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;pointer-events:none;perspective:1200px;background:radial-gradient(ellipse at center,#071725cc,transparent 68%)}
.welcome-sequence-hero>img{display:block;height:400px;max-height:100%;width:auto;max-width:90%;object-fit:contain;border-radius:13px;box-shadow:0 12px 38px #06101caa;transform-origin:center;backface-visibility:hidden}
.welcome-sequence-copy{position:relative;isolation:isolate;max-width:500px;margin:0 auto 14px;padding:8px 16px;min-height:92px}
.welcome-sequence-copy::before{content:'';position:absolute;inset:-8px -8px;z-index:-1;background:linear-gradient(90deg,transparent,#06121de8 18%,#06121de8 82%,transparent);mask-image:linear-gradient(transparent,#000 25%,#000 75%,transparent);filter:blur(7px);pointer-events:none}
.welcome-sequence-copy>.eyebrow{margin:0 0 4px;color:#f6d98e;font-size:15px}
#welcome-sequence-meaning{margin:0;font:17px/1.5 Georgia,serif;text-wrap:pretty;text-shadow:0 1px 3px #02080d}
.welcome-sequence-actions{min-height:48px}
.welcome-sequence-actions>.gold-button:only-child,.welcome-sequence-actions>.gold-button[hidden]+.gold-button{grid-column:1/-1;width:min(100%,260px);justify-self:center}
.welcome-sequence-actions:has(>#welcome-sequence-next[hidden])>#welcome-sequence-more{grid-column:1/-1;width:min(100%,260px);justify-self:center}
#welcome-sequence-next[aria-busy="true"]{box-shadow:0 0 16px #e4c26c66;opacity:1;cursor:wait}
#welcome-sequence-status{min-height:22px;margin:8px auto;font:14px/22px Arial,sans-serif;text-shadow:0 1px 3px #02080d}
#welcome-sequence-complete{margin-top:4px}
@media(max-width:500px){.welcome-sequence{padding-inline:12px}.welcome-sequence-stage{height:380px}.welcome-sequence .cosmic-table{--table-card-height:96px;column-gap:14px;padding:8px}.welcome-sequence-hero>img{height:356px}.welcome-sequence-copy{min-height:92px}.welcome-sequence h1{font-size:26px}}
@media(max-height:650px){.welcome-sequence-stage{height:300px}.welcome-sequence .cosmic-table{--table-card-height:76px;row-gap:4px;padding:6px}.welcome-sequence-hero>img{height:288px}.welcome-sequence-copy{min-height:70px}.welcome-sequence h1{font-size:24px}.five-back-pick h1{font-size:22px}}
@media(prefers-reduced-motion:reduce){.five-back-pick .card-back{transition:none}.five-back-pick .choice-saving::after{animation:none}}
