body.stampd-cinematic {
 isolation: isolate;
 min-height: 100vh;
 background: #07171d;
}

.stampd-backdrop {
 position: fixed;
 inset: 0;
 z-index: -1;
 overflow: hidden;
 pointer-events: none;
 background: #07171d ;
}

.stampd-backdrop video {
 width: 100%;
 height: 100%;
 object-fit: cover;
 object-position: center;
}

.stampd-backdrop::after {
 content: "";
 position: absolute;
 inset: 0;
 background: linear-gradient(145deg, #080d19d9 4%, #07101873 52%, #080d19ba 100%);
}

body.stampd-cinematic header {
 background: linear-gradient(110deg, #091421e6, #10282b9c);
 border-bottom-color: #e9c58491;
}

body.stampd-cinematic main > section,
body.stampd-cinematic main .membership > article {
 background: linear-gradient(140deg, #0c1823cf, #14121acc);
 border-color: #e6c48387;
 box-shadow: inset 0 1px #ffedc931, 0 12px 42px #0005;
}

body.stampd-cinematic main.preview {
 background: transparent;
}

body.stampd-cinematic main.preview > section {
 background: color-mix(in srgb, var(--panel, #141720) 80%, transparent);
}

.stampd-motion {
 position: fixed;
 inset: auto max(1rem, env(safe-area-inset-right)) max(1rem, env(safe-area-inset-bottom)) auto;
 z-index: 5;
 padding: .5rem .8rem;
 border: 1px solid #edd0a68a;
 border-radius: 2rem;
 background: #101c28ee;
 color: #ffe5b8;
 font: 600 .82rem/1.2 system-ui, sans-serif;
 cursor: pointer;
}

.stampd-feature-links {
 display: grid;
 grid-template-columns: repeat(auto-fit, minmax(min(100%, 13rem), 1fr));
 gap: .7rem;
 margin: 1.4rem 0;
}

.stampd-feature-links a {
 display: grid;
 align-content: start;
 gap: .3rem;
 padding: .85rem 1rem;
 border: 1px solid #e9c58491;
 border-radius: .8rem;
 background: linear-gradient(155deg, #1f4246e0, #101722ec 70%);
 color: #ffe0a9;
 text-decoration: none;
 box-shadow: inset 0 1px #ffedc948;
}

.stampd-feature-links span {
 color: #fff3de;
 font-size: .9rem;
}

.stampd-feature-links a:hover,
.stampd-feature-links a:focus-visible,
.stampd-motion:focus-visible {
 outline: 2px solid #ffe5b8;
 outline-offset: 3px;
}

.stampd-cinematic .preview[data-theme="Onyx"] { --panel: #252423; }
.stampd-cinematic .preview[data-theme="Champagne"] { --panel: #372a1a; }
.stampd-cinematic .preview[data-theme="Amethyst"] { --panel: #382448; }

.world[data-scene="miami"] { --cinematic-scene: url('/stampdmeta/miami-skyline.webp'); }
.world[data-scene="rome"] { --cinematic-scene: url('/stampdmeta/rome-colosseum.webp'); }
.world[data-scene="club"] { --cinematic-scene: url('/stampdmeta/club.webp'); }
.world[data-scene="romance"] { --cinematic-scene: url('/stampdmeta/romance.webp'); }
.world[data-scene="vault"] { --cinematic-scene: url('/stampdmeta/vault.webp'); }
.world[data-scene="noir"] { --cinematic-scene: url('/stampdmeta/noir.webp'); }

.world-art {
 background: var(--scene-background), var(--cinematic-scene, none) center / cover, radial-gradient(ellipse at 40% 10%, hsl(var(--hue) 56% 32%), #100e18 75%);
}

.world:where([data-scene="miami"], [data-scene="rome"], [data-scene="club"], [data-scene="romance"], [data-scene="vault"], [data-scene="noir"]) .world-content img {
 border: 1px solid #ffe4a0ce;
 box-shadow: 0 0 1.5rem #f5c77857, 0 1rem 2.5rem #090b15ac;
}
.world:where([data-scene="miami"], [data-scene="rome"], [data-scene="club"], [data-scene="romance"], [data-scene="vault"], [data-scene="noir"]) .world-content {
 background: linear-gradient(transparent, #101019a8 48%, #0e0c14e8);
}

/* The video remains fixed while every profile section scrolls over it. */
body.stampd-cinematic .stampd-backdrop::after {
 background: linear-gradient(145deg, #07101894 4%, #07101838 52%, #080d198f 100%);
}
body.stampd-cinematic main.preview > section {
 background: color-mix(in srgb, var(--panel, #141720) 59%, transparent);
}
body.stampd-cinematic main.preview > section > :is(p, h2, form, article) {
 text-shadow: 0 1px 3px #090c12;
}
body.stampd-cinematic main.preview .world {
 background: none;
}
body.stampd-cinematic main.preview .world-art {
 background: none;
}
.stampd-youtube-preview {
 display: block;
 width: 100%;
 min-height: 200px;
 aspect-ratio: 16 / 9;
 border: 0;
 margin-block: .75rem;
}
.stampd-video-page {
 margin: 0;
 background: #090c12;
 color: #fff4df;
 font: 1rem/1.45 system-ui, sans-serif;
}
.stampd-video-page header {
 display: flex;
 gap: .5rem 1rem;
 justify-content: space-between;
 flex-wrap: wrap;
 padding: .75rem max(1rem, env(safe-area-inset-left));
}
.stampd-video-page a { color: #f9d695; }
.stampd-video-page iframe {
 display: block;
 width: 100%;
 height: max(200px, calc(100dvh - 3rem));
 border: 0;
}

body.stampd-cinematic main.preview {
 width: min(100%, 48rem);
 margin-inline: auto;
 padding-inline: clamp(.85rem, 4vw, 2rem);
 padding-top: clamp(2.25rem, 10vh, 7rem);
}
body.stampd-cinematic main.preview > section:first-of-type {
 background: linear-gradient(180deg, #07101a17 0%, #07101a35 40%, #0a111ccc 100%);
 border-color: #e6c48365;
}
body.stampd-cinematic main.preview > section#posts {
 background: color-mix(in srgb, var(--panel, #141720) 64%, transparent);
}
