/* Illustrated choice folio */
.forge-hero .hero-paint{inset:0;background-image:linear-gradient(90deg,#10151ddc 0%,#171822b0 22%,#181c221c 54%,#13192530 82%),linear-gradient(0deg,#1a1924a8,transparent 27%),var(--cover-art);background-position:50% 49%}
.forge-hero::after{display:none}.hero-inner{grid-template-columns:minmax(0,1fr) minmax(220px,27%);gap:40px;padding-block:26px;min-height:375px}.hero-text{max-width:550px}.hero h1{font-size:clamp(4.2rem,6.7vw,7rem);line-height:.86;letter-spacing:-.046em}.hero .hero-text p{max-width:442px;color:#fcf3df}.hero-text .eyebrow{font-size:.7rem}
.lineage-deck{width:100%;max-width:279px;justify-self:center;align-self:center;perspective:1050px;position:relative;padding:12px 10px 0;isolation:isolate}
.deck-stack{position:relative;transform:rotateY(-11deg) rotateX(5deg) rotateZ(2deg);transform-style:preserve-3d;filter:drop-shadow(9px 14px 10px #130f1aa1)}
.deck-front,.deck-back{border-radius:10px;background:linear-gradient(145deg,#d6bc86,#5d4034 18%,#d6b57a 49%,#5e4835 72%,#e8cc99);border:1px solid #f2d499;box-shadow:1px 1px #3d2929,2px 2px #967650,3px 3px #372d2d,4px 4px #b09162}
.deck-front{position:relative;padding:5px}.deck-back{position:absolute;inset:0;background:repeating-linear-gradient(45deg,transparent 0 13px,#cead6c40 14px 15px,transparent 16px 28px),repeating-linear-gradient(-45deg,#263532 0 13px,#ad937640 14px 15px,#293835 16px 28px);box-shadow:inset 0 0 0 5px #313b38,inset 0 0 0 7px #c09c68,2px 3px #705943}
.back-two{transform:translate(-14px,4px) rotate(-10deg)}.back-one{transform:translate(11px,0) rotate(7deg)}.deck-picture{border-radius:6px 6px 0 0;overflow:hidden;background:#2c292d}.deck-portrait{display:block;width:100%;height:auto}.deck-caption{padding:8px 9px;display:flex;align-items:center;justify-content:space-between;gap:6px;background:linear-gradient(#392f32,#251f27);border-top:1px solid #d6b57a;color:#ffebc9;border-radius:0 0 5px 5px}
.deck-caption h2{font-size:clamp(1.15rem,2.2vw,2rem);line-height:1}.deck-caption span{white-space:nowrap;color:#e7c889;font-size:.75rem}.deal-controls{margin:16px auto 0;display:flex;align-items:center;justify-content:center;gap:5px;transform:translateZ(1px)}
.deck-arrow,.deck-take{display:inline-flex;align-items:center;justify-content:center;color:#f4dfb7;background:#24202aed;border:1px solid #ac8d61;border-radius:5px;box-shadow:inset 0 1px #e8cf9d2a,0 2px 4px #0006;min-height:34px}.deck-take{gap:4px;padding:3px 9px;font-size:.79rem;font-weight:600}.deck-take svg{width:14px;height:14px}.deck-arrow{font-family:Georgia,serif;font-size:1.4rem;line-height:1;width:34px}.deck-arrow:hover,.deck-take:hover{background:#4d3d35}
.choice-tools{display:flex;flex-wrap:wrap;align-items:center;gap:7px;padding:0 0 15px;margin:0 0 16px;border-bottom:1px solid #6b594944}.tool-chip,.art-pref select,.pin-choice{display:inline-flex;align-items:center;justify-content:center;gap:6px;border-radius:5px;color:#ded1be;line-height:1.25}.tool-chip,.art-pref select{min-height:32px;padding:5px 9px;font-size:.84rem;background:linear-gradient(135deg,#353039,#28242b);border:1px solid #695959}.tool-chip.primary-tool{color:#f2d7a6;border-color:#96784f;background:linear-gradient(135deg,#4b3b33,#342a2b)}.tool-chip .ic,.pin-choice .ic{width:14px;height:14px}.tool-chip:hover:enabled,.art-pref select:hover,.pin-choice:hover{border-color:#caae80;color:#ffedc9}
.art-pref{margin-left:auto;display:inline-flex;align-items:center;gap:6px;color:#c8bdb7;font-size:.8rem}.art-pref select{color-scheme:dark;padding-right:4px}
.choice,.rank-leaf,.illustrated-step,.compare-card{background:linear-gradient(158deg,#37303b,#29252e 45%,#26222a);border:1px solid #897256;border-radius:8px;box-shadow:inset 1px 1px #f4dbad22,inset -1px -2px #04020766,1px 2px #634c40,2px 3px #2f2530,3px 4px #776146,1px 8px 13px #08060c64}
.choice.chosen,.choice.selected,.rank-leaf.active,.illustrated-step.purchased{border-color:#f0cd8c;box-shadow:inset 0 0 0 1px #c5a46a78,1px 2px #6e5236,2px 3px #896f43,3px 4px #d8b373,0 7px 20px #c79c470f}.choice.selected .plate-title h3{color:#ffe3ad}.cardgrid{gap:19px}.choice .art-mat{position:relative;border:1px solid #98815d;border-radius:3px;box-shadow:inset 0 1px #f4dab6,0 3px 7px #0c070d85}.art-mat::after{background:linear-gradient(120deg,transparent 38%,#fff5d812 49%,transparent 61%);background-size:220% 100%;background-position:100% 0;transition:background-position .55s}.art-mat:hover::after{background-position:0 0}.art-mat:before{content:"";position:absolute;z-index:1;pointer-events:none;inset:3px;background:linear-gradient(90deg,#f4da9c,transparent) left top/21px 1px no-repeat,linear-gradient(#f4da9c,transparent) left top/1px 21px no-repeat,linear-gradient(270deg,#f4da9c,transparent) right bottom/21px 1px no-repeat,linear-gradient(0deg,#f4da9c,transparent) right bottom/1px 21px no-repeat}.choice .plate-title h3{color:#f9ede0}.choice .cardcopy p{color:#e2dad3}
.plate-foot,.rank-actions,.step-actions,.pick-detail-actions{display:flex;align-items:center;gap:9px;flex-wrap:wrap}.plate-foot{justify-content:space-between}.pin-choice{min-height:30px;font-size:.78rem;padding:3px 7px;border:1px solid #71605c;background:#211d24;color:#d8c6ac}.pin-choice[aria-pressed=true]{background:#41354a;color:#f2d3ff;border-color:#aa85b4}.pin-choice:focus-visible{outline-offset:-1px}
.track-deck{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:9px;margin:13px 0 16px}.track-deck button,.school-heading{position:relative;overflow:hidden;border-radius:6px;border:1px solid #7e6a50;background:#28232d}.track-deck button{padding:0;text-align:left;min-width:0;box-shadow:1px 2px #5f493c,1px 5px 8px #08060c66}.track-deck button img{width:100%;height:78px;display:block;object-fit:cover}.track-deck button span,.school-heading h3{position:absolute;bottom:0;left:0;right:0;padding:20px 8px 6px;background:linear-gradient(transparent,#15121be8);color:#fcf2dc;font:600 clamp(.95rem,1.55vw,1.35rem)/1.12 var(--display);text-shadow:0 1px 3px #000}.track-deck button.on{border-color:#f0c67d;outline:1px solid #e4bc78;outline-offset:1px}.track-deck button.on span{color:#ffe3aa}.school-heading{margin:25px 0 12px}.school-heading img{width:100%;height:145px;display:block;object-fit:cover;object-position:50% 45%}.school-heading h3{font-size:2rem;padding:35px 17px 11px}
.rank-art,.step-picture{display:block;width:100%;padding:0;overflow:hidden;background:#201b25}.rank-art:focus-visible,.step-picture:focus-visible{outline-offset:-3px}.rank-art img.rank-illustration{width:100%;height:auto;object-fit:contain;display:block}.rank-leaf .rank-actions{width:100%;margin-top:auto;justify-content:space-between}.rank-actions .inscribe{margin:0}.rank-actions .pin-choice{margin-left:auto}
.block:has(>.illustrated-step){display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px;border:0;box-shadow:none;background:none;padding:0}.illustrated-step{display:flex;flex-direction:column;align-items:stretch;padding:0;gap:0;overflow:hidden}.illustrated-step+.illustrated-step{margin:0;border-top:1px solid #897256}.step-picture img{display:block;width:100%;height:auto}.illustrated-step>div{flex:1;padding:13px;display:flex;align-items:flex-start;flex-direction:column;gap:6px}.illustrated-step strong{font:600 1.55rem/1.13 var(--display)}.illustrated-step .cost{align-self:start}.illustrated-step p{margin:0 0 8px;line-height:1.55}.step-actions{margin-top:auto;justify-content:space-between;width:100%}.atlas-scenery{max-height:270px;object-fit:contain;width:100%;border-radius:5px}
dialog:has(.compare-grid){width:min(1120px,95vw)}.compare-grid{display:grid;grid-template-columns:repeat(var(--columns),minmax(0,1fr));gap:13px;margin:16px 0}.compare-card{overflow:hidden}.compare-card img{width:100%;height:auto;display:block}.compare-card>div{padding:13px}.compare-card h3,.dialog-shell .compare-card h3{margin:0 0 6px;font-size:1.55rem}.compare-card p{white-space:pre-line;margin:8px 0;line-height:1.5;font-size:.93rem}.compare-card .impact{color:#efd39f;font-weight:600}.drawn-card{margin:12px 0 17px}.drawn-card .compare-card{display:grid;grid-template-columns:minmax(140px,.9fr) minmax(0,1.15fr);align-items:start}.drawn-card .compare-card img{border-radius:6px}
@media (min-width:591px) and (max-width:1000px){.hero-text{max-width:100%}.hero-inner{grid-template-columns:minmax(0,1fr) minmax(185px,29%)}.cardgrid:not(.listview,.companions-plates){grid-template-columns:repeat(2,minmax(0,1fr))}.choice .plate-title h3{font-size:1.55rem}}
@media(max-width:590px){
 .topnav button:nth-child(2):before{content:"Atlas"}.topnav button:nth-child(3):before{content:"Sheets"}
 .hero-inner{grid-template-columns:minmax(0,1fr) minmax(122px,38%);gap:7px 15px;padding:16px 0 19px;min-height:0}.hero .hero-text{display:contents}.hero .hero-text .eyebrow{font-size:.54rem}.hero h1{font-size:clamp(2.7rem,10.8vw,4.3rem);line-height:.89}.hero .hero-text p{margin:4px 0;max-width:100%}.lineage-deck{grid-row:2;grid-column:2;padding:6px 5px 0;max-width:174px}.deck-caption{padding:5px}.deck-caption h2{font-size:1.07rem}.deck-caption span{font-size:.57rem}.deal-controls{margin-top:8px;gap:3px}.deck-arrow{width:24px;min-height:28px;font-size:1rem}.deck-take{min-height:28px;gap:0;padding:3px;font-size:.64rem}.deck-take svg{display:none}.back-two{transform:translate(-5px,3px) rotate(-9deg)}.back-one{transform:translate(4px,1px) rotate(6deg)}
 .choice-tools{gap:5px;margin-bottom:13px;padding-bottom:11px}.tool-chip,.art-pref select{font-size:.76rem;min-height:33px;padding:5px 7px}.art-pref{font-size:.72rem;gap:3px}.art-pref span{display:none}
 .cardgrid:not(.listview) .choice.illustrated,.cardgrid.companions-plates:not(.listview) .choice{display:flex;flex-direction:column;align-items:stretch}.cardgrid:not(.listview) .art-mat,.companions-plates:not(.listview) [data-choice="custom-companion"] .art-mat{margin:0 10px;align-self:stretch}.cardgrid:not(.listview) .cardcopy,.companions-plates:not(.listview) [data-choice="custom-companion"] .cardcopy{padding:11px 13px 5px;margin:0}.cardgrid:not(.listview) .plate-foot{padding:7px 13px 12px}
 .rank-leaf:has(.rank-illustration){display:flex;padding:0}.rank-leaf:has(.rank-illustration) .rank-leaf-body{padding:12px}.rank-leaf .rank-illustration{border:0}.block:has(>.illustrated-step){grid-template-columns:1fr}.track-deck{grid-template-columns:repeat(2,minmax(0,1fr))}.track-deck button img{height:74px}.track-deck button span{font-size:1.13rem}
 .compare-grid{display:flex;flex-direction:column}.drawn-card .compare-card{display:block}.fate-panel img{width:100%;float:none;margin:0 0 8px;max-height:235px;object-fit:contain}.fate-panel .fate-content{padding:1px 2px}.compare-card img{max-height:250px;object-fit:contain}
}
@media(prefers-reduced-motion:reduce){.deck-stack{transform:rotate(-1deg)}.art-mat::after{transition:none}.choice:hover{transform:none}}
.deck-stack{touch-action:pan-y}
@media(prefers-reduced-motion:no-preference){.deck-stack{transform:rotateX(var(--deck-x,4deg)) rotateY(var(--deck-y,-9deg)) rotateZ(2deg);transition:transform .18s ease-out}}
#mobile-extras:empty{display:none}
#mobile-extras .sidefoot{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin-top:18px}
#mobile-extras .sidefoot button{display:inline-flex;width:auto}
.picks-shelf{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(190px,100%),1fr));gap:8px}.pick-group h3{margin:13px 0 6px;font-size:1.45rem}.shelf-pick{display:flex;gap:9px;align-items:center;text-align:left;border:1px solid #77634f;border-radius:5px;background:#302a32;padding:4px;box-shadow:1px 2px #614e40}.shelf-pick img{display:block;width:63px;height:48px;object-fit:contain;background:#211c25;border-radius:3px}.shelf-pick span{display:grid;line-height:1.22;gap:3px}.shelf-pick strong{font-weight:550;font-size:.91rem}.shelf-pick small{color:#d8bd8f;font-size:.78rem}.shelf-pick:hover{border-color:#e8c68c}.found-choice{outline:2px solid #f4d197;outline-offset:3px}
@media(max-width:590px){.topnav button:nth-child(2):before{content:"Choices"}.topnav button:nth-child(3):before{content:"Atlas"}.topnav button:nth-child(4):before{content:"Sheets"}.topnav button{padding-inline:3px}.picks-shelf{grid-template-columns:1fr 1fr}.shelf-pick{gap:5px}.shelf-pick img{width:37px;height:36px}.shelf-pick strong{font-size:.8rem}}
@media(max-width:365px){.mast .brand img{display:none}.topnav{margin-left:auto}}
.choice-accessories{display:inline-flex;align-items:center;gap:5px}.art-study{width:31px;height:30px;display:grid;place-items:center;color:#d8c39f;background:#28232b;border:1px solid #71605c;border-radius:4px}.art-study .ic{width:16px;height:16px}.art-study:hover{color:#fff2d3;border-color:#d8b875}
dialog:has(.study-layout){width:min(940px,94vw)}.study-layout{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,1fr);align-items:center;gap:22px;margin-top:15px}
.study-stage{position:relative;display:grid;place-items:center;min-height:270px;padding:28px 22px;perspective:930px;touch-action:none;cursor:grab;background:radial-gradient(ellipse at 45% 22%,#70604e 0%,#423342 48%,#201e27 82%);border:1px solid #937757;border-radius:10px;isolation:isolate}.study-stage:active{cursor:grabbing}.study-stage::before{content:"";position:absolute;inset:7px;border:1px solid #ceb78359;border-radius:5px;pointer-events:none}.study-motion{width:100%;transform-style:preserve-3d;transform:rotateX(var(--turn-x,3deg)) rotateY(var(--turn-y,-9deg));transition:transform .12s ease-out}.study-solid{display:grid;transform-style:preserve-3d;transition:transform .55s cubic-bezier(.22,.65,.25,1)}.study-solid.turned{transform:rotateY(180deg)}.study-face{grid-area:1/1;backface-visibility:hidden;display:flex;flex-direction:column;align-items:stretch;justify-content:center;overflow:hidden;border-radius:8px;padding:5px;color:#fce5b7;background:linear-gradient(140deg,#f0cf91,#6c4c3c 26%,#bd945b 70%,#e9cf96);box-shadow:1px 2px #50382b,2px 3px #b69b70,3px 4px #634d3a,4px 5px #514037,6px 14px 18px #10091488;pointer-events:none}.study-front{transform:translateZ(3px)}.study-back{transform:rotateY(180deg) translateZ(3px);min-height:100%}.study-face img{display:block;max-height:370px;width:100%;height:auto;object-fit:contain;background:#29232a;min-height:0;flex:1;border-radius:4px 4px 0 0}.study-face>span{padding:6px 5px;text-align:center;font:600 1.23rem/1.1 var(--display);background:#2c252a;border-top:1px solid #ba955c}.engraved-back{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;min-height:100%;flex:1;text-align:center;border:3px double #ac9069;background:repeating-linear-gradient(45deg,transparent 0 17px,#ccab7320 18px 19px,transparent 20px 36px),linear-gradient(140deg,#443543,#273433);padding:15px}.engraved-back>.ic{width:40px;height:40px}.engraved-back strong{font:600 2.3rem/.95 var(--display)}.engraved-back small{font-size:.84rem}.study-tools{display:flex;align-items:center;justify-content:space-between;gap:6px;margin-top:9px;flex-wrap:wrap}.study-tools small{font-size:.77rem;color:#d2c3b8}.study-copy p{white-space:pre-line;font-size:1rem;line-height:1.58;margin:9px 0}.study-copy .impact{color:#ebcb91}.study-copy .gold-btn{margin-top:5px}.study-copy h3{font-size:1.5rem;margin:9px 0}
@media(max-width:660px){.study-layout{grid-template-columns:1fr;gap:12px}.study-stage{min-height:170px;padding:18px 16px}.study-face img{max-height:255px}.study-tools .soft-btn{padding:6px 9px}}
@media(prefers-reduced-motion:reduce){.study-solid,.study-motion{transition:none}}
.study-solid{position:relative}.study-back{position:absolute;inset:0}

