/* Game landing follows the approved light Riftery homepage. */
.site-theme.game-landing-page{--bg:#fefdfb;--paper:#fff;--ink:#000;--muted:#000;--line:#dfcdbb;--orange:#b97455;--ui-panel:#fff;position:relative;isolation:isolate;min-height:100vh;background-color:#fefdfb;background-image:url('assets/riftery-transition-pattern.svg?v=lattice-20261014'),url('assets/riftery-home-warm-pattern.svg'),linear-gradient(180deg,#fae6db 0,#fcf1e9 120px,#fdf8f3 290px,#fefdfb 560px,#fefdfb 100%);background-size:100% 520px,440px 505px,100% 100%;background-repeat:no-repeat,repeat,no-repeat;color:#000;font:14px/1.6 system-ui,-apple-system,'Segoe UI',sans-serif}
.site-theme.game-landing-page #sectionmain{max-width:1320px;width:calc(100% - clamp(48px,14vw,280px));margin:auto;padding:24px 0 0}
.site-theme.game-landing-page.game-theme-3 :is(h1,h2,h3,p,a,button,span,strong,small){color:#000}
.site-theme.game-landing-page .sxs-back{display:inline-flex;align-items:center;gap:8px;padding:5px 0;font-size:14px;font-weight:600;color:#000;margin:0 0 17px}
.site-theme.game-landing-page .sxs-back:hover{text-decoration:underline;text-underline-offset:4px}
.site-theme.game-landing-page.game-theme-3 .sxs-game-hub{border:1px solid #dfc8ac;border-radius:18px;overflow:hidden;background:#fff;box-shadow:0 6px 20px #7854410d;margin:0 0 35px}
.site-theme.game-landing-page.game-theme-3 .sxs-game-cover{min-height:340px;background:#f8eee3;display:flex;align-items:center;isolation:isolate}
.site-theme.game-landing-page.game-theme-3 .sxs-world-art{width:100%;height:100%;object-fit:cover;object-position:50% 32%;opacity:1}
.site-theme.game-landing-page.game-theme-3 .sxs-game-cover:after{background:linear-gradient(90deg,#fffaf4fa 0%,#fffaf4ec 19%,#fffaf4ad 37%,#fffaf43b 55%,transparent 75%)}
.site-theme.game-landing-page.game-theme-3 .sxs-game-copy{max-width:54%;padding:35px 38px}
.site-theme.game-landing-page.game-theme-3 .sxs-eyebrow{display:block;font-size:12px;font-weight:650;letter-spacing:.7px;margin-bottom:12px}
.site-theme.game-landing-page.game-theme-3 .sxs-game-copy h1{font-size:43px;line-height:1.15;letter-spacing:-1.2px;margin:0 0 14px;font-weight:800}
.site-theme.game-landing-page.game-theme-3 .sxs-game-copy p{font-size:17px;line-height:1.65;margin:0;max-width:350px}
.site-theme.game-landing-page.game-theme-3 .sword-hub-bottom{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:14px 22px;background:linear-gradient(110deg,#faf5ed,#fffdf9);border-top:1px solid #e1d2bf;font-size:14px}
.site-theme.game-landing-page.game-theme-3 .sword-hub-bottom a{display:inline-flex;align-items:center;justify-content:center;gap:12px;min-height:42px;padding:9px 15px;background:#fff;border:1px solid #dfc8ac;border-radius:10px;box-shadow:0 2px 8px #8c624008;font-size:15px;font-weight:650}
.site-theme.game-landing-page.game-theme-3 .sword-hub-bottom a:hover{background:#f4e7d6;border-color:#c6a787;box-shadow:none;transform:none}
.site-theme.game-landing-page .game-db-book{width:21px;height:21px;stroke:currentColor;fill:none;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.site-theme.game-landing-page.game-theme-3 .game-permanent-section{padding:0;margin:0 0 34px;border:0;border-radius:0;background:none;box-shadow:none}
.site-theme.game-landing-page.game-theme-3 .game-permanent-section>h2{display:flex;align-items:center;gap:12px;border:0;padding:0;margin:0 0 18px;font-size:24px;font-weight:750;line-height:1.3;letter-spacing:-.45px}
.site-theme.game-landing-page.game-theme-3 .game-permanent-section>h2:before{content:'';width:8px;height:8px;flex:0 0 8px;border-radius:2px;background:#c49a71;transform:rotate(45deg);box-shadow:0 0 0 4px #f6e7d6}
.site-theme.game-landing-page.game-theme-3 .game-permanent-section .sword-material-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));grid-auto-rows:auto;gap:19px;align-items:stretch}
.site-theme.game-landing-page.game-theme-3 .game-permanent-section .sword-picture-card{position:relative;display:flex;flex-direction:column;isolation:isolate;min-width:0;width:100%;height:auto;min-height:0;max-height:none;padding:0;margin:0;border:1px solid #dfc8ac;border-radius:14px;background:#fff;overflow:hidden;box-shadow:0 5px 16px #7854410d;text-align:left;transition:transform .2s,border-color .2s,box-shadow .2s}
.site-theme.game-landing-page.game-theme-3 .sword-picture-card:after{display:none}
.site-theme.game-landing-page.game-theme-3 .landing-card-cover{position:relative;width:100%;aspect-ratio:16/9;overflow:hidden;background:#f5eee5}
.site-theme.game-landing-page.game-theme-3 .landing-card-cover img{display:block;width:100%;height:100%;object-fit:cover;transition:transform .4s}
.site-theme.game-landing-page.game-theme-3 .sword-picture-copy{position:static;display:flex;align-items:center;flex:1;min-height:80px;padding:17px 45px 17px 18px;background:#fff}
.site-theme.game-landing-page.game-theme-3 .sword-picture-copy strong{display:block;font-size:18px;line-height:1.4;font-weight:700;text-shadow:none;overflow:visible;-webkit-line-clamp:unset}
.site-theme.game-landing-page.game-theme-3 .sword-picture-arrow{position:absolute;right:15px;bottom:25px;display:grid;place-items:center;width:27px;height:27px;border:1px solid #e1ccb4;border-radius:8px;background:#fffaf3;color:#000;font-size:18px}
.site-theme.game-landing-page.game-theme-3 .sword-picture-card:hover{transform:translateY(-3px);border-color:#be9877;box-shadow:0 10px 23px #7854411a}
.site-theme.game-landing-page.game-theme-3 .sword-picture-card:hover .landing-card-cover img{transform:scale(1.025)}
.site-theme.game-landing-page.game-theme-3 .empty{grid-column:1/-1;padding:25px;border:1px dashed #dfc8ac;border-radius:12px;background:#fffaf4;font-size:15px}
.site-theme.game-landing-page footer{display:flex;align-items:center;justify-content:space-between;gap:20px;margin:40px 0 0;padding:23px 0 26px;border:0;border-top:1px solid #e4d5c4;border-radius:0;background:none;box-shadow:none}
.site-theme.game-landing-page footer .footer-brand{display:inline-flex;align-items:center;gap:9px;font-size:22px;font-weight:750;color:#000}
.site-theme.game-landing-page footer .footer-brand img{width:28px;height:28px;object-fit:contain}
.site-theme.game-landing-page footer nav{display:flex;flex-wrap:wrap;gap:7px;margin-left:auto}
.site-theme.game-landing-page footer nav a{font-size:14px;padding:8px 11px;border-radius:9px;color:#000}
.site-theme.game-landing-page footer nav a:hover{background:#f4e8db}
.site-theme.game-landing-page .landing-background-chibis{position:absolute;inset:0;z-index:-1;pointer-events:none;overflow:hidden}
.site-theme.game-landing-page .landing-background-chibis>span{position:absolute;width:128px;height:145px;background:#bba58e;opacity:.13;-webkit-mask-image:url('assets/riftery-chibi-silhouettes.webp');mask-image:url('assets/riftery-chibi-silhouettes.webp');-webkit-mask-size:512px 512px;mask-size:512px 512px;-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat}
.site-theme.game-landing-page .landing-background-chibis>span:nth-child(1){top:180px;left:3%;-webkit-mask-position:0 0;mask-position:0 0;transform:rotate(-10deg)}
.site-theme.game-landing-page .landing-background-chibis>span:nth-child(2){top:40%;right:3%;-webkit-mask-position:-128px 0;mask-position:-128px 0;transform:rotate(9deg)}
.site-theme.game-landing-page .landing-background-chibis>span:nth-child(3){top:72%;left:5%;-webkit-mask-position:-384px 0;mask-position:-384px 0;transform:rotate(-7deg)}
.site-theme.game-landing-page .landing-background-chibis>span:nth-child(4){bottom:70px;right:5%;width:116px;height:105px;-webkit-mask-position:-125px -285px;mask-position:-125px -285px;transform:rotate(12deg)}
@media(min-width:1101px){body.site-theme.game-landing-page{zoom:.75}}
@media(max-width:1000px){.site-theme.game-landing-page #sectionmain{width:calc(100% - 48px)}.site-theme.game-landing-page.game-theme-3 .sxs-game-copy h1{font-size:36px}.site-theme.game-landing-page.game-theme-3 .game-permanent-section .sword-material-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:700px){.site-theme.game-landing-page{background-size:100% 420px,330px 379px,100% 100%}.site-theme.game-landing-page #sectionmain{width:calc(100% - 28px);padding-top:19px}.site-theme.game-landing-page.game-theme-3 .sxs-game-cover{min-height:265px}.site-theme.game-landing-page.game-theme-3 .sxs-game-copy{max-width:90%;padding:25px}.site-theme.game-landing-page.game-theme-3 .sxs-game-copy h1{font-size:33px}.site-theme.game-landing-page.game-theme-3 .sxs-game-copy p{font-size:15px;max-width:280px}.site-theme.game-landing-page.game-theme-3 .sxs-game-cover:after{background:linear-gradient(90deg,#fffaf4f5,#fffaf4b5 50%,#fffaf440)}.site-theme.game-landing-page.game-theme-3 .sword-hub-bottom{padding:13px 16px;gap:12px;font-size:13px}.site-theme.game-landing-page.game-theme-3 .sword-hub-bottom a{width:auto;min-height:40px;font-size:14px;padding:8px 12px}.site-theme.game-landing-page.game-theme-3 .game-permanent-section>h2{font-size:22px}.site-theme.game-landing-page.game-theme-3 .game-permanent-section .sword-material-grid{gap:14px}.site-theme.game-landing-page.game-theme-3 .sword-picture-copy{padding:14px 37px 14px 14px;min-height:78px}.site-theme.game-landing-page.game-theme-3 .sword-picture-copy strong{font-size:16px}.site-theme.game-landing-page.game-theme-3 .sword-picture-arrow{right:10px;bottom:23px;width:24px;height:24px;font-size:16px}.site-theme.game-landing-page .landing-background-chibis>span:nth-child(2),.site-theme.game-landing-page .landing-background-chibis>span:nth-child(4){display:none}}
@media(max-width:480px){.site-theme.game-landing-page.game-theme-3 .game-permanent-section .sword-material-grid{grid-template-columns:1fr}.site-theme.game-landing-page.game-theme-3 .sword-hub-bottom{flex-wrap:wrap}.site-theme.game-landing-page footer{flex-wrap:wrap}}
@media(prefers-reduced-motion:reduce){.site-theme.game-landing-page .sword-picture-card,.site-theme.game-landing-page .landing-card-cover img{transition:none;transform:none!important}}
