/* Canonical landscape world component. Page wrappers must not restyle its contents. */
.world-card.world-card{position:relative;display:block;width:100%;min-width:0;min-height:0;aspect-ratio:16/9;margin:0;padding:0;border:1px solid #47484a;border-radius:0;background:#141414;color:#ebeef5;font:14px/1.5 Lato,Arial,sans-serif;perspective:1400px;isolation:isolate;box-shadow:none;overflow:visible}
.world-card.world-card *{box-sizing:border-box}
.world-card.world-card:is(:hover,:focus-within){border-color:#82b9d9;transform:none;box-shadow:none}
.world-card.world-card::after{content:'';position:absolute;inset:-1px;border:1px solid #47484a;pointer-events:none;z-index:6}
.world-card.world-card:is(:hover,:focus-within)::after{border-color:#82b9d9}
.world-card.world-card .world-card-front,.world-card.world-card .world-card-back{position:absolute;inset:0;display:block;width:100%;height:100%;min-height:0;margin:0;border:0;backface-visibility:hidden;-webkit-backface-visibility:hidden;transition:transform .5s cubic-bezier(.22,.7,.25,1);transform-origin:center;overflow:hidden}
.world-card.world-card .world-card-front{transform:rotateY(0);isolation:isolate}
.world-card.world-card .world-card-back{display:flex;flex-direction:column;gap:12px;transform:rotateY(180deg);pointer-events:none;padding:32px 32px 94px;background:#141414;overflow:auto}
.world-card.world-card.is-flipped .world-card-front{transform:rotateY(-180deg);pointer-events:none}
.world-card.world-card.is-flipped .world-card-back{transform:rotateY(0);pointer-events:auto}
.world-card.world-card .world-card-art{position:absolute;inset:0;display:block;overflow:hidden;z-index:-1}
.world-card.world-card .world-card-art img{display:block;width:100%;height:100%;object-fit:cover;transition:transform .35s}
.world-card.world-card:hover .world-card-art img{transform:scale(1.04)}
.world-card.world-card .world-card-art::after{content:'';position:absolute;inset:0;background:linear-gradient(0deg,#0a0a0afa 0%,#0a0a0acd 22%,#0a0a0a66 53%,#0a0a0a08 78%);pointer-events:none}
.world-card.world-card .world-card-copy{position:absolute;top:56%;left:0;right:0;padding:0 20px}
.world-card.world-card h3{font:700 18px/1.25 Lato,Arial,sans-serif;color:#ebeef5;margin:0;padding:0;text-transform:none;letter-spacing:normal;text-shadow:none;border:0}
.world-card.world-card h3.world-card-title{font-size:20px;position:relative;isolation:isolate;display:block;width:fit-content;max-width:calc(100% + 20px);margin-left:-20px;padding:6px 32px 6px 20px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;background:transparent}
.world-card.world-card .world-card-title::before{content:'';position:absolute;inset:0 0 0 -100%;z-index:-1;background:#0a0a0a;transform:skewX(-15deg);transform-origin:right top;pointer-events:none}
/* Override inherited link hover colours without changing the image zoom or frame. */
.world-card.world-card :is(.world-card-title,.world-card-back h3) a,.world-card.world-card :is(.world-card-title,.world-card-back h3) a:is(:hover,:focus,:active){color:#ebeef5!important;background:transparent!important;text-decoration:none!important;border:0;box-shadow:none;filter:none;font:inherit}
.world-card.world-card .world-card-tags{display:flex;flex-wrap:nowrap;gap:6px;margin:8px 40px 0 0;padding:0;list-style:none;overflow-x:auto;scrollbar-width:thin}
.world-card.world-card .world-card-tags li{flex:none;margin:0;padding:2px 7px;border:1px solid #71727566;background:#222324a8;color:#e1e4eb;font:400 12px/1.5 Lato,Arial,sans-serif;white-space:nowrap}
.world-card.world-card .world-card-description{overflow-wrap:anywhere}
.world-card.world-card .world-card-description :is(img,video,iframe){max-width:100%;height:auto}
.world-card.world-card .world-card-read-more{display:flex;align-items:center;justify-content:center;width:100%;min-height:34px;margin-top:auto;padding:8px 12px;background:#2c2d2e;color:#ebeef5;font:700 14px/18px Lato,Arial,sans-serif;text-decoration:none;border:0}
/* Shared reverse-face actions override inherited blue link hover colours. */
.world-card.world-card .world-card-back .world-card-read-more:is(:hover,:focus-visible,:active),
.creator-profile .creator-card .creator-card-read-more:is(:hover,:focus-visible,:active){background:#47484a;color:#f4f1eb!important}
:is(.world-card.world-card,.creator-card.creator-card-article,.creator-card.creator-card-manuscript) .world-card-flip{position:absolute;bottom:12px;right:12px;z-index:7;display:flex;align-items:center;justify-content:center;width:24px;height:24px;min-height:24px;margin:0;padding:0;border:1px solid #82b9d988;border-radius:0;background:#1b1b1cc9;color:#ebeef5;font-size:14px;cursor:pointer;opacity:0;pointer-events:none}
:is(.world-card.world-card,.creator-card.creator-card-article,.creator-card.creator-card-manuscript):is(:hover,:focus-within) .world-card-flip{opacity:1;pointer-events:auto}
:is(.world-card.world-card,.creator-card.creator-card-article,.creator-card.creator-card-manuscript) .world-card-flip:hover{background:#213745;border-color:#82b9d9}
.world-card.world-card :focus-visible{outline:2px solid #82b9d9!important;outline-offset:-2px}
@media(hover:none),(pointer:coarse){:is(.world-card.world-card,.creator-card.creator-card-article,.creator-card.creator-card-manuscript) .world-card-flip{opacity:1;pointer-events:auto}}
@media(prefers-reduced-motion:reduce){.world-card.world-card .world-card-front,.world-card.world-card .world-card-back,.world-card.world-card .world-card-art img{transition:none}.world-card.world-card:hover .world-card-art img{transform:none}}

/* Article cards share the world control, including its glyph dimensions. */
:is(.creator-card.creator-card-article,.creator-card.creator-card-manuscript) .world-card-flip .creator-flip-icon{width:14px;height:14px;font-size:14px;line-height:1}

/* Hide reverse-face scrollbars while preserving native scrolling. */
:is(.world-card.world-card,.creator-card-immersive,.creator-card-manuscript) > .creator-card-back{scrollbar-width:none;-ms-overflow-style:none}
:is(.world-card.world-card,.creator-card-immersive,.creator-card-manuscript) > .creator-card-back::-webkit-scrollbar{display:none;width:0;height:0}

/* Freeform tags belong only to the reverse face, matching article badges. */
.world-card.world-card .world-card-back-tags{flex-shrink:0;flex-wrap:wrap;margin:14px 0;overflow:visible}
.world-card.world-card .world-card-back-tags li{white-space:normal;max-width:100%;overflow-wrap:anywhere;backdrop-filter:none;-webkit-backdrop-filter:none;backface-visibility:hidden;-webkit-backface-visibility:hidden}

/* Portfolio title ribbons remain opaque, with neutral interactive text. */
.creator-profile :is(.creator-card-manuscript,.creator-card-article,.creator-card-character) .creator-card-copy h3::before{background:#0a0a0a!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important}
.creator-profile :is(.creator-card-manuscript,.creator-card-article,.creator-card-character) .creator-card-copy h3 a:is(:hover,:focus-visible,:active){color:#f4f1eb!important;background:transparent!important;text-decoration:none!important}

/* Lower character titles while keeping the title and RPG label together. */
:is(#profile-theme-surface:not([data-profile-theme]),.browse-page,.campaign-public) .creator-profile .creator-card-immersive.creator-card-character .creator-card-copy,:is(#profile-theme-surface:not([data-profile-theme]),.browse-page,.campaign-public) .creator-profile .creator-card-immersive.creator-card-character[data-flip-card] .creator-card-copy{top:78%}

:is(#profile-theme-surface:not([data-profile-theme]),.browse-page,.campaign-public) .creator-profile .creator-card-immersive.creator-card-character .creator-card-copy h3{font-size:20px}
