@font-face{font-family:VocationCinzel;src:url('assets/vocations/cinzel.ttf') format('truetype');font-display:swap}
@font-face{font-family:VocationOutfit;src:url('assets/vocations/outfit.ttf') format('truetype');font-display:swap}
.reward-dialog{width:min(1120px,calc(100% - 40px));overflow-x:hidden;font-family:VocationOutfit,Outfit,sans-serif}
.reward-dialog[open]{grid-template-columns:.62fr 1.38fr}
.reward-dialog .founder-flow{min-width:0;overflow:hidden}
.journey-beta{margin:0 0 11px;color:#f1ca68;font-size:10px;font-weight:800;letter-spacing:.18em;text-transform:uppercase}
.journey-beta::before{content:'';display:inline-block;width:7px;height:7px;margin-right:8px;border-radius:50%;background:#65e7c0;box-shadow:0 0 14px #65e7c0;vertical-align:1px}
.journey-platform{margin:0 0 17px;padding:9px 12px;border-left:2px solid #ae873c;background:#cbb37c12;color:#31435f;font-size:12px;line-height:1.55}
.journey-platform strong,.journey-platform span{display:block}
.journey-platform strong{font-weight:650}
.journey-platform span{color:#5b5c65;font-size:11px}
.reward-dialog .founder-flow h2{font-family:VocationCinzel,Cinzel,serif;letter-spacing:-.025em}
.reward-dialog .vocation-options{display:flex;width:100%;max-width:100%;gap:12px;overflow-x:auto;overscroll-behavior-inline:contain;scroll-snap-type:x mandatory;scrollbar-width:none;padding:3px 15% 12px 1px;touch-action:pan-x pan-y pinch-zoom;cursor:grab}
.reward-dialog .vocation-options,.reward-dialog .vocation-options *{-webkit-user-select:none;user-select:none}
.reward-dialog .vocation-options img{-webkit-user-drag:none}
.reward-dialog .vocation-options.is-dragging{scroll-snap-type:none;scroll-behavior:auto}
.reward-dialog .vocation-options.is-dragging,.reward-dialog .vocation-options.is-dragging *{cursor:grabbing}
.reward-dialog .vocation-options::-webkit-scrollbar{display:none}
.reward-dialog .vocation-options label{position:relative;flex:0 0 clamp(205px,22vw,255px);aspect-ratio:2/3;scroll-snap-align:start;border-radius:14px;overflow:hidden;cursor:grab;background:#07122c;box-shadow:0 15px 34px #01081594;isolation:isolate}
.reward-dialog .vocation-options input{position:absolute;opacity:0;pointer-events:none}
.reward-dialog .vocation-options label>span{position:absolute;inset:0;display:block!important;min-height:0!important;padding:0!important;border:1px solid #b6caf03d!important;border-radius:14px!important;background:#07122c!important;overflow:hidden;transition:transform .28s ease,border-color .28s ease,box-shadow .28s ease}
.reward-dialog .vocation-options label>span::after{content:'';position:absolute;inset:0;background:linear-gradient(180deg,transparent 41%,#020717ee 92%);z-index:1}
.reward-dialog .vocation-options label>span>img{width:100%!important;height:100%!important;object-fit:cover;display:block;image-rendering:auto!important;filter:none!important;transition:transform .65s cubic-bezier(.2,.75,.2,1)}
.reward-dialog .vocation-options b,.reward-dialog .vocation-options small,.reward-dialog .vocation-options em{position:absolute;z-index:2;left:16px;text-align:left}
.reward-dialog .vocation-options b{bottom:49px;color:#f4cc66;font-size:10px;letter-spacing:.16em}
.reward-dialog .vocation-options small{bottom:25px;color:#fff8e8;font:700 20px/1 VocationCinzel,Cinzel,serif}
.reward-dialog .vocation-options em{bottom:8px;color:#cbd8ed;font-size:11px;font-style:normal}
.reward-dialog .vocation-options label:hover>span,.reward-dialog .vocation-options input:focus-visible+span{transform:translateY(-4px);border-color:#f0cd6d!important;box-shadow:0 0 0 1px #f0cd6d55,0 22px 40px #010714bd}
.reward-dialog .vocation-options label:hover>span>img{transform:scale(1.025)}
.reward-dialog .vocation-options input:checked+span{border-color:#ffe078!important;box-shadow:0 0 0 2px #ffe07866,0 0 36px #168cff70}
.reward-dialog .vocation-options input:checked+span::before{content:'ESCOLHIDA';position:absolute;z-index:3;right:10px;top:10px;padding:5px 7px;border-radius:99px;background:#f3cf6d;color:#101a2e;font-size:8px;font-weight:900;letter-spacing:.1em}
.reward-dialog #wizard-next-vocation{margin-top:8px}
.vocation-swipe-hint{margin:0;text-align:center;color:#a8bad4;font-size:11px}.vocation-swipe-hint span{color:#efcb68;margin:0 7px}
.founder-community{display:flex;align-items:center;justify-content:center;width:100%;min-height:54px;margin:18px 0 8px;border-radius:7px;background:linear-gradient(135deg,#e7bb54,#ffdb80);color:#101a2e!important;font-weight:850;text-decoration:none;box-shadow:0 13px 34px #0209158a}
.founder-community:hover{filter:brightness(1.05);transform:translateY(-1px)}
.founder-community-note{display:block;margin:0 0 16px;color:#9fb1ca;font-size:10px;line-height:1.55;text-align:center}
@media(max-width:767px){.reward-dialog{width:100%;height:100dvh;max-height:100dvh;border:0;border-radius:0}.reward-dialog[open]{display:block}.reward-dialog .founder-flow{padding:17px 16px 24px}.journey-beta{margin-bottom:8px}.reward-dialog .wizard-progress{margin-bottom:13px}.reward-dialog .vocation-options{gap:10px;padding-right:19vw}.reward-dialog .vocation-options label{flex-basis:min(71vw,255px);max-height:51dvh}.reward-dialog .vocation-options small{font-size:18px}.reward-dialog #wizard-next-vocation{min-height:44px;margin-top:7px}.reveal-scene{height:125px}.reveal-reward{padding-bottom:12px}}
@media(prefers-reduced-motion:reduce){.reward-dialog .vocation-options label>span,.reward-dialog .vocation-options img,.founder-community{transition:none}}

/* Native spell pixels, framed as a compact four-slot loadout. */
.reward-dialog .vocation-options label:has(.vocation-demo) b,
.reward-dialog .vocation-options label:has(.vocation-demo) small,
.reward-dialog .vocation-options label:has(.vocation-demo) em{left:12px;max-width:calc(56% - 24px)}
.reward-dialog .vocation-options label:has(.vocation-demo) small{font-size:clamp(14px,1.4vw,16px);bottom:31px}
.reward-dialog .vocation-options label:has(.vocation-demo) b{bottom:52px;font-size:9px}
.reward-dialog .vocation-options label:has(.vocation-demo) em{bottom:10px;font-size:10px;line-height:1.3}
.reward-dialog .vocation-demo{position:absolute;z-index:2;right:10px;bottom:12px;width:44%;display:grid;grid-template-columns:minmax(0,1fr);gap:6px;pointer-events:none;filter:drop-shadow(0 3px 7px #010611b3)}
.vocation-spell-slots{display:grid;grid-template-columns:repeat(3,minmax(0,1fr)) 38px;gap:3px;align-items:center;min-width:0;width:max(120px,100%);justify-self:end}
.vocation-spell-slot{position:relative;display:block;min-width:0;aspect-ratio:1;border:1px solid #aa874a;background:#10141d;box-shadow:inset 0 0 0 1px #ffdb8526,0 1px 2px #020610;isolation:isolate;transition:border-color .2s,box-shadow .2s}
.reward-dialog .vocation-spell-slot img{display:block;width:100%;height:100%;margin:0;object-fit:contain;image-rendering:pixelated;filter:saturate(.72) brightness(.76);transition:filter .2s}
.vocation-spell-slot::after{content:'';position:absolute;inset:1px;background:#050a1173;z-index:1}
.vocation-spell-slot.is-active{border-color:#ffe5a2;box-shadow:0 0 0 1px #e9bd6160,0 0 12px #f5c86658}
.reward-dialog .vocation-spell-slot.is-active img{filter:none}
.vocation-spell-slot.is-active::after{background:conic-gradient(from 0deg,#080e15b3 var(--cooldown,360deg),transparent 0)}
.vocation-spell-number{position:absolute;z-index:2;right:1px;bottom:0;color:#fff3c9;font:700 8px/1 VocationOutfit,Outfit,sans-serif;text-shadow:0 1px 2px #000,1px 0 2px #000}
/* The fourth ability gets the illustrated gold/crystal identity, without
   touching native spell pixels or the presentation sweep underneath. */
.vocation-spell-slot:last-child{width:38px;border:0;background:none;box-shadow:none}
.reward-dialog .vocation-spell-slot:last-child img{position:absolute;inset:9%;width:82%;height:82%;background:#071321;filter:none}
.vocation-spell-slot:last-child::before{content:'';position:absolute;inset:0;z-index:3;background:url('assets/vocations/gold-crystal-slot-v2.webp') center/contain no-repeat;filter:none;transition:filter .2s}
.vocation-spell-slot:last-child::after{inset:10%;background:#050a1126}
.vocation-spell-slot:last-child.is-active::after{background:conic-gradient(from 0deg,#080e1559 var(--cooldown,360deg),transparent 0)}
.vocation-spell-slot:last-child .vocation-spell-number{z-index:4;right:4px;bottom:4px;color:#fff6d9}
.vocation-spell-slot:last-child.is-active::before{filter:brightness(1.08) drop-shadow(0 0 2px #69d7ff75)}
.vocation-spell-frame{position:relative;display:block;min-width:0;width:100%;aspect-ratio:1;padding:3px;border:1px solid #c7a260;background:#08111af0;box-shadow:inset 0 0 0 1px #e9c57830,0 0 0 1px #080c16}
.vocation-spell-frame::before,.vocation-spell-frame::after{content:'';position:absolute;inset:-3px;pointer-events:none;background:linear-gradient(#f7d995,#f7d995) left top/9px 1px no-repeat,linear-gradient(#f7d995,#f7d995) left top/1px 9px no-repeat,linear-gradient(#f7d995,#f7d995) right bottom/9px 1px no-repeat,linear-gradient(#f7d995,#f7d995) right bottom/1px 9px no-repeat}
.vocation-spell-frame::after{transform:scaleX(-1);opacity:.55}
.vocation-spell-frame canvas{display:block;width:100%;height:100%;aspect-ratio:1;image-rendering:pixelated}
@media(prefers-reduced-motion:reduce){.vocation-spell-slot,.vocation-spell-slot::before,.reward-dialog .vocation-spell-slot img{transition:none}}
