/* Cipherspire: brass, cipherlight and an impossible tower. */
.cipherspire-feature{position:relative;isolation:isolate;overflow:hidden;min-height:340px;border:1px solid #93805b;border-radius:12px;margin:28px 0;background:#061422;box-shadow:inset 0 0 0 4px #08151d,0 14px 32px #0004;color:#eff7f5;scroll-margin-top:150px}.cipherspire-feature::before{content:'';position:absolute;inset:0;z-index:-1;background:linear-gradient(90deg,#03101af7 0%,#03101adc 38%,#03101a50 68%,#03101a08 100%)}.cipherspire-feature::after{content:'';position:absolute;inset:6px;border:1px solid #cfb47c55;border-radius:7px;pointer-events:none}.cipherspire-key-art{position:absolute;inset:0;z-index:-2;width:100%;height:100%;max-width:none;object-fit:cover;object-position:65% center}.cipherspire-banner-copy{position:relative;padding:32px 30px;max-width:69%}.cipherspire-eyebrow{font:700 9px/1.5 system-ui,sans-serif;letter-spacing:3px;color:#a4e3db;margin:0 0 18px}.cipherspire-logo{display:flex;align-items:center;gap:12px}.cipherspire-logo>img{flex:none;width:46px;height:60px;filter:drop-shadow(0 0 9px #5eede733)}.cipherspire-logo h2{font:600 clamp(30px,3.7vw,53px)/1 Georgia,serif!important;letter-spacing:.035em;text-transform:uppercase;color:#f7dfaf!important;margin:0!important;text-shadow:0 3px 8px #000,0 0 22px #d8b47733}.cipherspire-tagline{color:#a9dedc!important;font:600 9px/1.6 system-ui,sans-serif!important;text-transform:uppercase;letter-spacing:3px;margin:9px 0 0!important}.cipherspire-intro{max-width:40ch;color:#c7d9df;font:13px/1.75 system-ui,sans-serif;margin:20px 0 16px}.cipherspire-features{list-style:none;display:flex;flex-wrap:wrap;gap:7px 15px;padding:0;margin:0 0 22px;color:#e6d5b0;font:10px/1.6 system-ui,sans-serif}.cipherspire-features li{white-space:nowrap}.cipherspire-features li::before{content:'◆';color:#74d7c9;font-size:7px;vertical-align:middle;margin-right:6px}.cipherspire-launch{display:inline-flex;align-items:center;justify-content:center;gap:22px;min-height:46px;padding:12px 21px;color:#18282c!important;background:linear-gradient(#f0d8a3,#c5a169);border:1px solid #f4dda8;border-radius:5px;box-shadow:0 3px 0 #635037;font:750 12px/1.5 system-ui,sans-serif;text-decoration:none;transition:filter .15s,transform .15s}.cipherspire-launch:hover{filter:brightness(1.08);transform:translateY(-1px)}.cipherspire-launch:focus-visible{outline:3px solid #a1f7ef;outline-offset:4px}.cipherspire-save-note{font:10px/1.6 system-ui,sans-serif;color:#afc5cf;margin:13px 0 0}
.rift-shell.rift-hall .rift-intro{min-height:220px;background:linear-gradient(90deg,#061521ee,#061521bd 50%,#06152122),url('/cipherspire/banner.webp') 65% center/cover;border:1px solid #9d865d}.rift-shell.rift-hall .rift-intro h1{font-family:Georgia,serif;letter-spacing:.05em;color:#f6dfb1}.rift-shell.rift-hall .rift-intro h1::before{content:'';display:inline-block;vertical-align:middle;width:35px;height:47px;margin-right:10px;background:url('/cipherspire/mark.svg') center/contain no-repeat}
@media(max-width:1100px){.cipherspire-banner-copy{max-width:80%}.cipherspire-logo h2{font-size:clamp(28px,4.4vw,46px)!important}.cipherspire-logo>img{width:37px;height:50px}.cipherspire-banner-copy{padding:28px 24px}.cipherspire-feature::before{background:linear-gradient(90deg,#03101af7,#03101add 48%,#03101a33)}}
@media(max-width:600px){.cipherspire-feature{min-height:445px;scroll-margin-top:170px}.cipherspire-key-art{object-position:72% top;object-fit:cover;opacity:.9}.cipherspire-feature::before{background:linear-gradient(0deg,#03101afc 0%,#03101af2 42%,#03101a55 100%)}.cipherspire-banner-copy{max-width:none;width:100%;padding:155px 20px 24px}.cipherspire-eyebrow{font-size:8px;margin-bottom:12px;letter-spacing:2px}.cipherspire-logo h2{font-size:clamp(27px,7.5vw,42px)!important}.cipherspire-logo{gap:9px}.cipherspire-logo>img{width:33px;height:44px}.cipherspire-tagline{font-size:8px!important;letter-spacing:2px;margin-top:7px!important}.cipherspire-intro{font-size:12px;margin-top:16px}.cipherspire-features{gap:7px 12px;font-size:9px;margin-bottom:19px}.cipherspire-launch{width:100%;gap:20px}.cipherspire-save-note{font-size:9px;text-align:center}}
@media(prefers-reduced-motion:reduce){.cipherspire-feature *{animation:none!important;transition:none!important}}html[data-cs-reduce-motion] .cipherspire-feature *{animation:none!important;transition:none!important}

/* Slow perimeter light keeps loading legible without hiding usable controls. */
.rift-loading{padding:clamp(16px,4vw,42px);border:1px solid #987842;background:radial-gradient(ellipse at 50% 0,#163844,#081421 70%);border-radius:8px;min-height:560px;color:#eee4cb}
.rift-loading-heading{text-align:center;margin:0 auto 28px;max-width:600px}.rift-loading-heading>img{display:block;margin:0 auto 12px}.rift-loading-heading h1{font-family:Georgia,serif;color:#ffe2a3;font-size:clamp(26px,4vw,40px)}.rift-loading-heading p{color:#d0e1df}
.rift-loading-region,.rift-shell .rift-art-loading{animation:cipherspire-loading-glow 2.8s ease-in-out infinite;border-color:#b3955f!important}
.rift-loading-preview{height:230px;border:1px solid;border-radius:6px;background:linear-gradient(120deg,#102a36,#081521);padding:20px;position:relative;display:flex;justify-content:space-between;gap:24px}.rift-loading-preview>span{width:34%;height:13px;background:#bba16a35;border-radius:4px}.rift-loading-preview>i{position:absolute;width:68px;height:100px;left:calc(50% - 34px);top:76px;border:1px solid #668d91;background:linear-gradient(135deg,#31545e,#10232c);clip-path:polygon(50% 0,100% 30%,100% 75%,50% 100%,0 75%,0 30%)}
.rift-loading-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-top:14px}.rift-loading-grid>div{height:82px;border:1px solid;border-radius:6px;background:linear-gradient(110deg,#132932,#0b1823)}.rift-loading-grid>div:nth-child(2){animation-delay:.3s}.rift-loading-grid>div:nth-child(3){animation-delay:.6s}
@keyframes cipherspire-loading-glow{0%,100%{box-shadow:inset 0 0 0 1px #bb945b25,0 0 3px #d9b36915;border-color:#917748}50%{box-shadow:inset 0 0 15px #68d8df24,0 0 15px #e4b75c38;border-color:#e5c586}}
@media(prefers-reduced-motion:reduce){.rift-loading-region,.rift-shell .rift-art-loading{animation:none!important}}
html[data-cs-reduce-motion] .rift-loading-region,html[data-cs-reduce-motion] .rift-art-loading{animation:none!important}

.rift-hall .rift-intro{background-image:linear-gradient(90deg,#061521ee,#061521bd 50%,#06152122),url('/cipherspire/banner.webp'),url('/assets/previews/cipherspire.webp')}
