body{background-image:url('/assets/backgrounds/main-2560.webp?v=54')}
.crystal-shell{width:min(1120px,calc(100% - 32px));margin:22px auto 90px}
.crystal-breadcrumb{margin:0 0 18px}.crystal-breadcrumb ol{display:flex;flex-wrap:wrap;align-items:center;gap:7px;margin:0;padding:0;list-style:none;font-size:13px}.crystal-breadcrumb li{display:flex;align-items:center;gap:7px;color:#dbc6aa}.crystal-breadcrumb li+li::before{content:"/";color:#b99a70}.crystal-breadcrumb a{color:#edcb9a;text-decoration:none}.crystal-breadcrumb a:hover{text-decoration:underline;color:#ffe1b0}.crystal-breadcrumb [aria-current="page"]{color:#f5e2c9;font-weight:700}
.crystal-panel{position:relative;padding:clamp(18px,3vw,34px);border:1px solid rgba(233,195,140,.75);border-radius:16px;background:rgba(12,23,36,.85);box-shadow:0 22px 52px rgba(2,7,14,.55)}
.crystal-panel::before,.crystal-panel::after{content:"";position:absolute;top:-20px;width:96px;height:96px;background:url('/site-prototype/harbor-filigree.svg') center/contain no-repeat;opacity:.86;pointer-events:none}.crystal-panel::before{left:-20px}.crystal-panel::after{right:-20px;transform:scaleX(-1)}
.crystal-copy{text-align:center}.crystal-eyebrow{margin:0 0 8px;color:#dfb985;font-size:12px;letter-spacing:.18em;font-weight:700}.crystal-copy h1{margin:0;color:#f4d8aa;font-size:clamp(27px,4vw,42px)}.crystal-copy p:last-child{color:#e0d8cd;font-size:15px}
.crystal-stage{position:relative;height:330px;overflow:hidden;border:1px solid rgba(223,183,129,.34);border-radius:14px;background:radial-gradient(ellipse at 50% 90%,rgba(171,109,46,.22),transparent 60%),linear-gradient(rgba(28,34,42,.56),rgba(7,13,22,.87));isolation:isolate}
.crystal-stage:after{content:'';position:absolute;bottom:32px;left:7%;right:7%;height:2px;background:linear-gradient(90deg,transparent,#8e7553,transparent);z-index:-1}
.crystal-smith{position:absolute;left:calc(60% - 355px);bottom:8px;width:220px;aspect-ratio:600/850;z-index:4;filter:drop-shadow(5px 10px 7px #0009)}.crystal-smith img{position:absolute;inset:0;width:100%;height:100%;object-fit:contain}.crystal-smith img.crystal-smith-yaksa{inset:auto;left:20%;top:36.5%;width:80%;height:auto;transform-origin:0 17%;transform:rotate(102deg);z-index:0}.crystal-smith-body{z-index:1}.crystal-smith img.crystal-smith-yaksa-head{z-index:2}.crystal-smith-arm{transform-origin:77.5% 37.6%;z-index:3}
.crystal-anvil-wrap{position:absolute;left:60%;bottom:26px;transform:translateX(-50%);width:270px;height:218px;display:grid;place-items:end center;z-index:3;filter:drop-shadow(8px 12px 7px #0009)}
.crystal-anvil{width:100%;height:auto;image-rendering:auto}
.crystal-object{position:absolute;left:35%;top:12%;width:64px;height:64px;transform:translate(-50%,-50%);display:grid;place-items:center;background:rgba(11,13,25,.9);border:2px solid #d8ad74;border-radius:8px;box-shadow:0 3px 10px #0008;opacity:0;transition:opacity .15s}.crystal-object.visible{opacity:1}.crystal-object img{width:56px;height:56px;object-fit:contain;image-rendering:pixelated}.crystal-object.is-result{left:35%;width:185px;height:72px;display:flex;gap:8px;padding:5px 9px}.crystal-object.is-result img{width:48px;height:48px;flex:none}.crystal-output{display:flex;flex-direction:column;justify-content:center;min-width:0;line-height:1.1}.crystal-output[hidden]{display:none}.crystal-output strong{color:#ffe0a4;font-size:27px;white-space:nowrap}.crystal-output span{margin-top:3px;color:#e5d4b9;font-size:11px;white-space:nowrap}
.crystal-spark{position:absolute;left:calc(60% - 116px);top:65px;font-size:58px;color:#fff0b9;text-shadow:0 0 14px #ffc453;opacity:0;pointer-events:none;z-index:5}
.crystal-stage.striking .crystal-smith-arm{animation:hammer-hit .8s ease-in-out}.crystal-stage.striking{animation:stage-shake .28s linear .35s}.crystal-stage.striking .crystal-spark{animation:spark .5s linear .34s}
@keyframes hammer-hit{0%,100%{transform:rotate(0)}24%{transform:rotate(16deg)}51%{transform:rotate(-100deg)}68%{transform:rotate(-36deg)}}
@keyframes stage-shake{0%,100%{translate:0}25%{translate:4px -2px}50%{translate:-4px 2px}75%{translate:3px 1px}}
@keyframes spark{0%,100%{opacity:0;transform:scale(.3)}30%,60%{opacity:1;transform:scale(1)}}
.crystal-controls{display:grid;grid-template-columns:minmax(0,1fr) 132px auto;align-items:end;gap:12px;margin-top:24px}.crystal-controls label{display:block;margin-bottom:7px;font-weight:700;font-size:14px;color:#f1d3a8}.crystal-controls label.crystal-enchant{margin-bottom:0}.crystal-enchant #enchant-label{display:block;margin-bottom:7px}.crystal-search-wrap{position:relative;min-width:0}.crystal-controls input{width:100%;height:48px;padding:0 13px;border:1px solid #d4af80;border-radius:8px;background:#0b1828;color:#fff;font-size:16px}.crystal-controls input:focus-visible,.crystal-controls button:focus-visible,.crystal-results button:focus-visible{outline:2px solid #fff0c9;outline-offset:2px}.crystal-enchant-input{position:relative;display:block}.crystal-enchant-input span{position:absolute;left:12px;top:13px;color:#efc990}.crystal-enchant-input input{padding-left:28px}.crystal-controls button{height:48px;padding:0 24px;border:1px solid #f5ddb3;border-radius:8px;background:#e7c38c;color:#24242b;font:800 15px/1.2 Arial,sans-serif;white-space:nowrap}.crystal-controls button:disabled{opacity:.48;cursor:not-allowed}
.crystal-results{position:absolute;top:100%;left:0;right:0;z-index:8;box-sizing:border-box;max-width:100%;max-height:330px;overflow:auto;margin-top:4px;padding:5px;border:1px solid #d6ae79;border-radius:8px;background:#111e2d;box-shadow:0 15px 30px #000b}.crystal-results button{box-sizing:border-box;width:100%;min-width:0;display:flex;align-items:center;gap:10px;padding:7px;border:0;border-radius:5px;background:transparent;color:#f2e6d5;text-align:left;white-space:normal}.crystal-results button:hover,.crystal-results button:focus-visible{background:#334151}.crystal-results img{width:36px;height:36px;flex:none;image-rendering:pixelated}.crystal-results button span{min-width:0;overflow-wrap:anywhere}.crystal-results small{display:block;color:#cbb99d}.crystal-results p{margin:10px;color:#e0d4c3}
.crystal-results.open-up{top:auto;bottom:calc(100% + 4px);margin-top:0}
.crystal-pricing{margin-top:24px;padding:0;border:0;background:none}.crystal-pricing h2{margin:0 0 14px;color:#f1d3a8;font-size:20px}.crystal-price-list{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px}.crystal-price-row{display:grid;grid-template-columns:34px minmax(0,1fr);gap:8px;align-items:center;min-width:0;padding:9px;border:1px solid #604b36;border-radius:8px;background:#152538}.crystal-price-row img{width:34px;height:34px;image-rendering:pixelated}.crystal-price-content{min-width:0}.crystal-price-content label{display:block;margin:0 0 4px;color:#efe0c8;font-size:13px;font-weight:700}.crystal-price-input{display:flex;align-items:center;min-width:0;border:1px solid #a4825b;border-radius:6px;background:#0b1828}.crystal-price-input:focus-within{outline:2px solid #fff0c9;outline-offset:2px}.crystal-price-input input{width:100%;min-width:0;height:32px;padding:0 6px;border:0;background:transparent;color:#fff;font-size:14px}.crystal-price-input input:focus{outline:0}.crystal-price-input img{width:18px;height:18px;flex:none;margin:0 4px 0 0}.crystal-worth{display:grid;gap:4px;margin-top:14px;padding:13px 16px;border:1px solid #b89461;border-radius:8px;background:#182637}.crystal-worth>span{color:#efcf9f;font-size:14px;font-weight:700}.crystal-worth strong{color:#ffe2aa;font-size:24px}.crystal-worth small{color:#d1c3b2;font-size:12px}
.crystal-error{margin:8px 0 0;color:#ffd0b9;font-size:14px}.crystal-error[hidden]{display:none}
@media(max-width:760px){.crystal-controls{grid-template-columns:1fr 105px}.crystal-controls button{grid-column:1/-1}.crystal-stage{height:280px}.crystal-anvil-wrap{left:55%;width:210px;height:185px;bottom:12px}.crystal-smith{left:calc(55% - 285px);width:180px;bottom:4px}.crystal-spark{left:calc(55% - 78px);top:55px}}
@media(max-width:760px){.crystal-price-list{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:480px){.crystal-shell{width:calc(100% - 20px);margin-top:10px}.crystal-stage{height:210px}.crystal-smith{left:calc(65% - 197.5px);width:115px;bottom:3px}.crystal-anvil-wrap{left:65%;width:165px;height:155px;bottom:12px}.crystal-object{left:43%;width:52px;height:52px;top:10%}.crystal-object img{width:44px;height:44px}.crystal-object.is-result{left:43%;width:132px;height:58px;gap:4px;padding:3px 5px}.crystal-object.is-result img{width:38px;height:38px}.crystal-output strong{font-size:19px}.crystal-output span{font-size:8px}.crystal-spark{left:calc(65% - 65px);top:44px;font-size:42px}.crystal-controls{grid-template-columns:1fr 90px;gap:8px}.crystal-panel{padding:15px}}
@media(max-width:480px){.crystal-price-list{grid-template-columns:repeat(2,minmax(0,1fr))}.crystal-worth strong{font-size:21px}}
@media(prefers-reduced-motion:reduce){.crystal-stage.striking,.crystal-stage.striking .crystal-smith-arm,.crystal-stage.striking .crystal-spark{animation:none}.crystal-object{transition:none}}
/* Match the home panels and keep the value beside the anvil. */
.crystal-price-list{grid-template-columns:repeat(3,minmax(0,1fr))}
.crystal-worth-stage{position:absolute;left:calc(60% + 150px);top:84px;z-index:6;box-sizing:border-box;width:230px;margin:0;padding:0;border:0;border-radius:0;background:none;text-shadow:0 2px 5px #08101c,0 1px 2px #08101c}
.crystal-worth-stage strong{overflow-wrap:anywhere;font-size:21px}
.crystal-object{top:19%}
@media(max-width:760px){.crystal-panel::before,.crystal-panel::after{top:-15px;width:72px;height:72px;opacity:.8}.crystal-panel::before{left:-15px}.crystal-panel::after{right:-15px}.crystal-worth-stage{left:auto;right:10px;top:14px;width:162px}.crystal-worth-stage>span{font-size:12px}.crystal-worth-stage strong{font-size:18px}.crystal-worth-stage small{font-size:11px}}
@media(max-width:480px){.crystal-stage{height:300px}.crystal-worth-stage{top:10px;right:7px;width:122px}.crystal-worth-stage>span{font-size:11px}.crystal-worth-stage strong{font-size:16px}.crystal-worth-stage small{font-size:10px}.crystal-price-list{grid-template-columns:1fr}.crystal-object{top:19%}.crystal-breadcrumb ol{font-size:12px;gap:5px}.crystal-breadcrumb li{gap:5px}}
/* Rare surprises on repeated crystallizations. Both finish on their own. */
.topbar .brand.crystal-logo-wobble{transform-origin:12% 0;animation:crystal-logo-wobble 2.5s ease-out both;will-change:transform}
@keyframes crystal-logo-wobble{0%,100%{transform:rotate(0) translateY(0)}12%{transform:rotate(-11deg) translateY(5px)}28%{transform:rotate(8deg) translateY(2px)}47%{transform:rotate(-6deg) translateY(3px)}65%{transform:rotate(4deg) translateY(1px)}82%{transform:rotate(-2deg)}93%{transform:rotate(1deg)}}
#crystal-crack-overlay{position:fixed;inset:0;z-index:2147483647;visibility:hidden;pointer-events:none;background:url('/assets/effects/glass-cracks.svg') center/cover no-repeat;opacity:0}
#crystal-crack-overlay.active{visibility:visible;animation:crystal-screen-crack 2.2s ease-out both}
@keyframes crystal-screen-crack{0%{opacity:0;transform:scale(1.025)}9%{opacity:.98;transform:scale(1)}45%{opacity:.9}69%{opacity:.58}89%{opacity:0;transform:scale(1)}100%{opacity:0}}
@media(prefers-reduced-motion:reduce){.topbar .brand.crystal-logo-wobble,#crystal-crack-overlay.active{animation:none}#crystal-crack-overlay{display:none}}
.crystal-service{margin-top:29px;padding-top:20px;border-top:1px solid rgba(225,183,122,.42)}
.crystal-service h2{margin:0 0 10px;color:#f2d4a5;font:700 clamp(19px,2vw,25px)/1.25 Georgia,'Times New Roman',serif}
.crystal-service p{max-width:920px;margin:0 0 17px;color:#ecddc6;line-height:1.55}
.crystal-service-action{display:flex;align-items:center;justify-content:center;box-sizing:border-box;width:fit-content;max-width:100%;height:48px;margin:0 auto;padding:0 24px;border:1px solid #f5ddb3;border-radius:8px;background:#e7c38c;color:#24242b;text-decoration:none;text-align:center;font:800 15px/1.2 Arial,sans-serif;white-space:nowrap;cursor:pointer;transition:background .16s,box-shadow .16s,transform .16s}
.crystal-service-action:hover,.crystal-service-action:focus-visible{background:#f5d7a2;box-shadow:0 0 17px rgba(240,193,119,.42);transform:translateY(-1px);outline:none}
.crystal-service-action:active{transform:translateY(1px)}
@media(max-width:480px){.crystal-service{margin-top:24px}.crystal-service-action{width:100%;white-space:normal}}
.crystal-enchant{position:relative}
.crystal-enchant .crystal-enchant-tooltip{left:auto;right:0;bottom:calc(100% + 9px);box-sizing:border-box}
@media(hover:hover){.crystal-enchant:hover .crystal-enchant-tooltip{opacity:1;visibility:visible;transform:translateY(0)}}
.crystal-enchant:focus-within .crystal-enchant-tooltip{opacity:1;visibility:visible;transform:translateY(0)}

