/* Lucas2 Alesta: guide art, quest panels and dungeon scenes */
.system-story.has-source-guide .story-media,
.system-story.has-source-guide:nth-child(even) .story-media{
  width:min(100%,1160px);margin:0 auto 36px;padding:0;border:0;outline:0;background:transparent;box-shadow:none;overflow:visible
}
.system-story.has-source-guide .psd-guide-title{
  width:min(100%,1080px);margin:0 auto 32px;padding:0 0 20px;border:0;border-bottom:1px solid #7b5c3990;
  color:#f5e8d2;text-align:left;font-size:clamp(31px,3.5vw,56px);line-height:1.12;letter-spacing:-.035em
}
.system-story.has-source-guide .psd-guide-title:after{display:none}
.system-story.has-source-guide .psd-guide-scene,
.system-story.has-source-guide .psd-guide-image-frame{
  width:min(100%,1080px);margin:24px auto 0;padding:0;border:1px solid #80603c;background:#100d0a;
  box-shadow:0 16px 42px #0009;overflow:hidden
}
.system-story.has-source-guide .psd-guide-scene img,
.system-story.has-source-guide .psd-guide-image-frame img{display:block;width:100%;height:auto;object-fit:contain}
.system-story.has-source-guide .psd-guide-subheading{margin-top:45px}
.system-story.has-source-guide .psd-guide-copy{border:0;border-left:3px solid #b98c54;background:linear-gradient(90deg,#32231588,#16110c 75%);font-size:15px;line-height:1.8}
.system-story.has-source-guide .psd-guide-table{margin-top:24px}

/* The three stages use their original guide artwork. */
.journey-visual{isolation:isolate;min-height:420px;align-items:end;justify-content:flex-start;padding:30px;overflow:hidden}
.journey-visual:before,.journey-visual:after{display:none}
.journey-stage-image{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center;filter:saturate(.9);z-index:-3}
.journey-stage-shade{position:absolute;inset:0;z-index:-2;background:linear-gradient(0deg,#100b08e8 0%,#100b0855 43%,#100b0810 75%),linear-gradient(90deg,#100b0855,transparent 70%)}
.journey-visual .journey-visual-logo{z-index:2;width:124px;height:auto;top:20px;left:25px}
#journey-visual-mark{z-index:2;font-size:clamp(52px,5vw,82px);color:#f2d09a;text-shadow:0 5px 20px #000;line-height:1}
.journey-panel{border-color:#775735;background:#17110e;box-shadow:0 24px 55px #0007}
.journey-detail{border-left:1px solid #6b4d2d;background:linear-gradient(130deg,#21170f,#100d0a)}

/* Biologist quest book */
.system-story[data-source-asset="biyolog"] .biolog-demo{margin-top:36px}
.biolog-demo{border-color:#9b764c;background:#100d0a}
.biolog-layout{grid-template-columns:minmax(205px,.34fr) minmax(0,1fr);gap:0;padding:0;min-height:520px}
.biolog-task-list{max-height:520px;gap:0;overflow:auto;border-right:1px solid #6b5136;background:#120f0b}
.biolog-task-list button{display:grid;grid-template-columns:70px 1fr;align-items:center;gap:11px;min-height:56px;padding:9px 15px;border:0;border-bottom:1px solid #5a422c;background:transparent;color:#e7d0ad;text-align:left}
.biolog-task-list button:hover,.biolog-task-list button.is-active{background:linear-gradient(90deg,#76512e80,#25190f);border-color:#ac8053}
.biolog-task-list button strong{font-size:11px;font-weight:700;line-height:1.3}
.biolog-level{display:grid;place-items:center;min-height:28px;border:1px solid #997044;background:#281b10;color:#e6b774;font:900 10px var(--body);white-space:nowrap}
.biolog-task-detail{min-height:520px;padding:0 0 25px;border:0;background:#15110c}
.biolog-quest-scene{position:relative;display:grid;grid-template-columns:180px 1fr;align-items:center;min-height:210px;border-bottom:1px solid #6a4f34;background:linear-gradient(90deg,#0c0908f5,#130d0aca 62%,#0c090870),url('../img/psd-tr/embedded/biyolog.webp') center/cover;overflow:hidden}
.biolog-portrait{height:100%;min-height:210px;background:url('../img/model-fallbacks/chagirap.png') center 10%/auto 118% no-repeat;filter:drop-shadow(0 7px 20px #000)}
.biolog-quest-copy{padding:22px 28px 22px 0;position:relative;z-index:1}
.biolog-quest-copy small,.biolog-reward span{color:#d5a261;font:900 10px var(--body);letter-spacing:.11em}
.biolog-quest-copy h3{margin:10px 0;color:#f4dfb9;font:800 clamp(19px,2vw,27px) var(--display)}
.biolog-quest-copy p{margin:0;max-width:540px;color:#ddc8a8;font:500 12px/1.7 var(--body)}
.biolog-info{display:grid;grid-template-columns:54px minmax(0,1fr) auto;align-items:center;gap:8px 14px;margin:22px 25px 0;padding:16px;border:1px solid #715336;background:#20170f}
.biolog-item-icon{grid-row:span 2;display:grid;place-items:center;width:52px;height:52px;border:1px solid #926c40;background:#342113;color:#e0ac68;font-size:21px}
.biolog-item-copy{color:#f0d8b2;font:800 14px var(--body)}
.biolog-wait{color:#bd9f77;font:700 11px var(--body)}
.biolog-progress{grid-column:2/-1;height:9px;margin:4px 0 0}
.biolog-info>small{grid-column:2/-1;color:#af9471;font-size:10px}
.biolog-reward{display:flex;justify-content:space-between;align-items:center;gap:14px;margin:16px 25px 0;padding:15px 17px;border-left:3px solid #c49a61;background:#33231675}
.biolog-reward strong{color:#f3d8ad;text-align:right;font:800 13px var(--body)}
.biolog-hand-in{margin:21px 25px 0}
.biolog-status{margin:12px 25px 0;color:#bba27e}

/* A separate stage for each dungeon; the model mount is reserved for its game boss GLB. */
#sistem-zindanlar .psd-guide-image-frame{display:none}
#sistem-zindanlar .psd-guide-scene,
#sistem-yeniharitalar .psd-guide-scene,
#sistem-yeniharitalar .psd-guide-image-frame,
#sistem-yeniharitalar .system-supplement{display:none}
#sistem-zindanlar .psd-guide-subheading:nth-of-type(-n+2){display:none}
#sistem-zindanlar .dungeon-route{width:min(100%,1080px);margin:30px auto 0;padding:0;border:1px solid #735636;background:#120f0b;box-shadow:0 25px 55px #0009}
#sistem-zindanlar .dungeon-route-head{padding:22px 25px 0}
.dungeon-route-stages{padding:0 25px}
.dungeon-boss-scene{position:relative;display:grid;grid-template-columns:minmax(0,.42fr) minmax(0,.58fr);align-items:end;min-height:360px;margin:0 25px 18px;border:1px solid #7c5b39;background:linear-gradient(90deg,#080a0cf2 0%,#0c0b0bd8 45%,#0c0b0c7a),var(--boss-scene) center 45%/cover;overflow:hidden}
.dungeon-boss-scene:after{content:"";position:absolute;inset:auto 0 0;height:36%;background:linear-gradient(0deg,#0a0808c9,transparent);pointer-events:none}
.dungeon-boss-copy{position:relative;z-index:2;align-self:end;padding:28px}
.dungeon-boss-kicker{color:#e5b67e;font:900 10px var(--body);letter-spacing:.15em}
.dungeon-boss-copy h4{margin:8px 0 9px;color:#fff0d6;font:800 clamp(22px,2.6vw,34px)/1.12 var(--display);text-shadow:0 4px 12px #000}
.dungeon-boss-copy p{margin:0 0 9px;color:#efd2a7;font:800 14px var(--body)}
.dungeon-boss-copy small{color:#d6c1a4;font:600 11px/1.5 var(--body)}
.dungeon-boss-art{position:absolute;z-index:1;right:-20%;bottom:-9%;width:110%;height:auto;max-width:none;max-height:none;object-fit:contain;clip-path:polygon(40% 0,68% 0,73% 100%,27% 100%);mask-image:radial-gradient(ellipse 20% 78% at 50% 53%,#000 58%,transparent 100%);filter:drop-shadow(0 8px 22px #000a)}
.dungeon-boss-model[hidden]{display:none}
.dungeon-route-stops{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;overflow:visible;scroll-snap-type:none;margin:0 25px;padding-bottom:15px}
.dungeon-route-stop{min-width:0;min-height:106px;flex:none;scroll-snap-align:none;border-color:#665037;background:#1a140e}
.dungeon-route-stop:after{display:none}
.dungeon-route-detail{margin:0;padding:18px 25px;border:0;border-top:1px solid #624c32;background:#1d160f}

/* New maps use their own in-game captures, with live map and boss labels. */
#sistem-yeniharitalar .psd-guide-subheading{display:none}
.map-explorer{width:min(100%,1080px);margin:24px auto 35px;border:1px solid #735636;background:#120f0b;box-shadow:0 25px 55px #0009}
.map-explorer-head{padding:23px 25px 8px}
.map-explorer-head h3{margin:7px 0 10px;color:#f4dfbb;font:800 clamp(22px,2.5vw,32px) var(--display)}
.map-explorer-stages{display:flex;flex-wrap:wrap;gap:7px;padding:0 25px 18px}
.map-explorer-stages button{padding:10px 15px;border:1px solid #65492b;background:#1c150e;color:#ddc39b;font:800 11px var(--body);cursor:pointer}
.map-explorer-stages button.is-active{border-color:#e4b879;background:#b5894d;color:#170f08}
.map-explorer-scene{position:relative;height:clamp(280px,33vw,405px);margin:0 25px;border:1px solid #80603d;background:#16120e;overflow:hidden}
.map-explorer-image{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center;transform:scale(1.46);filter:saturate(1.16) contrast(1.07)}
.map-explorer-scene:after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,#090908e8 0%,#0909089a 33%,transparent 70%),linear-gradient(0deg,#090908b0,transparent 40%);pointer-events:none}
.map-explorer-scene-copy{position:absolute;z-index:1;left:clamp(18px,3vw,36px);bottom:clamp(18px,3vw,32px);max-width:55%}
.map-explorer-chip{display:inline-block;padding:7px 10px;border:1px solid #ba8b4c;background:#130e0bda;color:#e8bd7d;font:800 10px var(--body);letter-spacing:.08em}
.map-explorer-scene-copy h4{margin:12px 0 0;color:#fff0d6;font:800 clamp(26px,4vw,48px)/1.05 var(--display);text-shadow:0 5px 17px #000}
.map-explorer-choices{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin:17px 25px}
.map-explorer-choice{display:flex;min-width:0;min-height:81px;flex-direction:column;align-items:flex-start;justify-content:center;gap:5px;padding:12px;border:1px solid #614930;background:#21170f;text-align:left;cursor:pointer}
.map-explorer-choice small{color:#ce9e62;font:800 9px var(--body);letter-spacing:.08em}
.map-explorer-choice strong{color:#f0d9b7;font:800 12px/1.3 var(--body)}
.map-explorer-choice:hover,.map-explorer-choice.is-active{border-color:#e0af71;background:#3a2819}
.map-explorer-detail{padding:18px 25px 23px;border-top:1px solid #624c32;background:#1c150f}
.map-explorer-bosses{display:flex;flex-wrap:wrap;gap:7px;margin-top:12px}
.map-explorer-bosses span{padding:7px 10px;border:1px solid #795a37;background:#2e2115;color:#ecd1a7;font:700 11px var(--body)}

/* Interface previews: clear navigation and recognisable game icons. */
.game-showcase{border:1px solid #6e5030;background:#100d0b;box-shadow:0 22px 48px #0008}
.game-showcase .feature-list{padding:12px;border-right:1px solid #60472d;background:#17110c}
.game-showcase .feature-tab{grid-template-columns:40px 1fr auto;align-items:center;gap:4px 13px;min-height:92px;padding:14px;border:1px solid transparent;border-bottom-color:#56402a}
.game-showcase .feature-tab>i{display:grid;place-items:center;grid-column:1;grid-row:1/3;width:39px;height:39px;border:1px solid #745534;background:#2f2114;color:#d8ab6f;font-size:16px}
.game-showcase .feature-tab span{grid-column:2;grid-row:1}
.game-showcase .feature-tab strong{grid-column:2;grid-row:2}
.game-showcase .feature-tab b{grid-column:3;grid-row:1/3}
.game-showcase .feature-tab.is-active{border-color:#a77945;background:linear-gradient(90deg,#54371d,#2b1b0e 68%)}
.game-preview-deck{min-width:0}
.market-item-art{display:grid;place-items:center}
.market-item-art:before,.market-item-art:after{display:none}
.market-item-art img{max-width:65%;max-height:65%;object-fit:contain;image-rendering:pixelated;filter:drop-shadow(0 4px 7px #000)}
.market-item-art i{color:#d9ae71;font-size:33px;filter:drop-shadow(0 4px 8px #000)}
.market-detail-art{display:grid;place-items:center}
.market-detail-art img{max-width:75%;max-height:75%;object-fit:contain;image-rendering:pixelated}
.market-detail-art i{color:#e7b873;font-size:23px}
.quick-grid a{gap:5px}
.quick-grid a:before{content:"";display:block;width:32px;height:32px;background:#d9a56518;border:1px solid #9c7045}
.quick-grid a i{position:absolute;top:27px;left:24px;color:#dfb477;font-size:15px}
.pass-stage-art{display:grid;place-items:center;transform:none}
.pass-stage-art i{color:#f1c683;font-size:25px}
.bonus-panel-art{align-items:center}
.bonus-panel-art>img{max-width:65px;max-height:65px;object-fit:contain;image-rendering:pixelated}

/* Equipment, transformation and skill systems use Lucas2 workshop UI instead of flat reference artwork. */
#sistem-evrimsistemi .psd-guide-image-frame,
#sistem-farmhasar .psd-guide-scene,
#sistem-pasifyetenekler .psd-guide-scene,
#sistem-kadimsilah .psd-guide-scene,
#sistem-pvmdonusumler .psd-guide-scene,
#sistem-pvp2evrimler .psd-guide-scene{display:none}
.workshop-demo{width:min(100%,1080px);margin:30px auto 0;padding:25px;border:1px solid #765636;background:radial-gradient(circle at 50% 0,#51351e70,transparent 44%),linear-gradient(145deg,#17100c,#0d0a08);box-shadow:0 26px 62px #000a;overflow:hidden}
.workshop-head{display:flex;align-items:end;justify-content:space-between;gap:20px;padding:0 0 18px;border-bottom:1px solid #64492e}
.workshop-head small,.workshop-detail small{color:#deb170;font:900 10px var(--body);letter-spacing:.14em}.workshop-head h3{margin:0;color:#f5e2c4;font:800 clamp(23px,3vw,36px)/1.05 var(--display)}
.workshop-choices{display:grid;grid-template-columns:repeat(auto-fit,minmax(140px,1fr));gap:8px;margin:18px 0}.workshop-choices button{display:flex;align-items:center;gap:11px;min-height:62px;padding:12px;border:1px solid #63482d;background:#20160f;color:#ead1aa;text-align:left;cursor:pointer}.workshop-choice-icon{width:34px;height:34px;padding:3px;border:1px solid #9d7140;background:#352112;image-rendering:pixelated;object-fit:contain}.workshop-choices button strong{font:800 12px var(--body)}.workshop-choices button:hover,.workshop-choices button.is-active{border-color:#e3b36e;background:linear-gradient(110deg,#633b1a,#26170d)}
.workshop-focal{position:relative;display:grid;place-items:center;gap:12px;min-height:210px;border:1px solid #7a5935;background:radial-gradient(circle,#7e4a1f5e 0,transparent 41%),linear-gradient(90deg,#0c0a09,#24170d,#0c0a09);overflow:hidden}.workshop-focal:before{content:"";position:absolute;width:176px;height:176px;border:1px solid #bf8a4b;transform:rotate(45deg);opacity:.5}.workshop-icon,.workshop-focal strong{position:relative;z-index:1}.workshop-icon{width:82px;height:82px;padding:10px;border:1px solid #dca457;border-radius:50%;background:#25160c;image-rendering:pixelated;object-fit:contain;box-shadow:0 0 0 10px #b87b2d18,0 0 38px #c781315e}.workshop-focal strong{color:#fff0d4;font:800 22px var(--display);text-shadow:0 3px 10px #000}
.workshop-flow{display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:12px;margin:16px 0;padding:13px;border:1px solid #5e442b;background:#160f0b}.workshop-flow span{color:#e8c796;font:800 12px var(--body);text-align:center}.workshop-flow i{color:#e6af67}.workshop-detail{padding:15px 17px;border-left:3px solid #b98549;background:#2d1d1170}.workshop-detail p{margin:7px 0 0;color:#d7bea0;font:600 12px/1.65 var(--body)}.workshop-action{margin-top:16px;padding:12px 17px;border:1px solid #dbac67;background:#d2a15d;color:#19100a;font:900 11px var(--body);letter-spacing:.07em;cursor:pointer}.workshop-status{min-height:18px;margin:11px 0 0;color:#bca17d;font:600 11px var(--body)}.workshop-demo.is-processing .workshop-icon{animation:workshop-pulse .85s ease-in-out 2}.workshop-demo.is-processing .workshop-flow i{animation:workshop-arrow .8s ease-in-out 2}
@keyframes workshop-pulse{50%{transform:scale(1.16);box-shadow:0 0 0 18px #d8943d20,0 0 54px #e69c3e}}@keyframes workshop-arrow{50%{transform:translateX(12px);color:#fff0ba}}

@media(max-width:800px){
  .biolog-layout{grid-template-columns:1fr}.biolog-task-list{max-height:none;display:flex;flex-direction:row;overflow-x:auto;border-right:0;border-bottom:1px solid #6b5136}.biolog-task-list button{min-width:175px;min-height:72px;border-right:1px solid #5a422c}
  .journey-panel{grid-template-columns:1fr}.journey-visual{min-height:330px}.journey-detail{border-left:0;border-top:1px solid #6b4d2d}
  .dungeon-route-stops{grid-template-columns:repeat(2,minmax(0,1fr))}
  .map-explorer-choices{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:650px){
  .system-story.has-source-guide .psd-guide-title{font-size:clamp(28px,8vw,39px);margin-bottom:20px;padding-bottom:14px}
  .system-story.has-source-guide .psd-guide-scene,.system-story.has-source-guide .psd-guide-image-frame{margin-top:18px}
  .journey-visual{min-height:245px;padding:20px}.journey-visual .journey-visual-logo{width:90px;left:15px;top:13px}#journey-visual-mark{font-size:54px}
  .biolog-quest-scene{grid-template-columns:105px 1fr;min-height:205px}.biolog-portrait{min-height:205px;background-size:auto 100%}.biolog-quest-copy{padding:15px}.biolog-quest-copy h3{font-size:18px}.biolog-quest-copy p{font-size:10px}.biolog-info{grid-template-columns:43px 1fr;margin:13px;padding:11px}.biolog-item-icon{width:42px;height:42px}.biolog-wait{grid-column:2}.biolog-reward{margin:12px 13px 0;align-items:flex-start;flex-direction:column}.biolog-reward strong{text-align:left}.biolog-hand-in{margin-left:13px}.biolog-status{margin-left:13px}
  #sistem-zindanlar .dungeon-route-head{padding:17px 16px 0}.dungeon-route-stages{padding:0 16px}.dungeon-boss-scene{display:block;min-height:390px;margin:0 15px 15px}.dungeon-boss-copy{position:absolute;left:0;right:0;bottom:0;padding:18px;background:linear-gradient(0deg,#0b0909f5,#0b0909bc 75%,transparent)}.dungeon-boss-art{right:-12%;bottom:22%;width:124%;mask-image:radial-gradient(ellipse 24% 78% at 50% 53%,#000 58%,transparent 100%)}.dungeon-route-stops{margin:0 15px}.dungeon-route-detail{padding:15px}
  .dungeon-route-stops{grid-template-columns:repeat(2,minmax(0,1fr))}.dungeon-route-stop{padding:10px;min-height:97px}.dungeon-route-stop strong{font-size:11px}
  .map-explorer-head{padding:18px 15px 5px}.map-explorer-stages{padding:0 15px 15px}.map-explorer-scene{height:330px;margin:0 15px}.map-explorer-image{transform:scale(1.8)}.map-explorer-scene-copy{max-width:88%;left:15px;bottom:20px}.map-explorer-choices{margin:13px 15px;gap:6px}.map-explorer-choice{min-height:71px;padding:9px}.map-explorer-choice strong{font-size:10px}.map-explorer-detail{padding:15px}
  .game-showcase .feature-list{padding:5px;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));border-right:0}.game-showcase .feature-tab{grid-template-columns:28px 1fr;gap:3px 8px;min-height:76px;padding:8px}.game-showcase .feature-tab>i{width:27px;height:27px;font-size:11px}.game-showcase .feature-tab strong{font-size:11px}.game-showcase .feature-tab span{font-size:7px}.game-showcase .feature-tab b{display:none}
  .workshop-demo{padding:16px}.workshop-head{display:block}.workshop-head h3{margin-top:7px}.workshop-focal{min-height:174px}.workshop-focal:before{width:130px;height:130px}.workshop-flow{gap:6px}.workshop-flow span{font-size:10px}.workshop-detail{padding:12px}
}
