/* A dedicated jewel atelier; all rules are confined to Jorchin's shop. */
.jorchin-shop-entry{min-height:180px;padding:35px 38px;border:1px solid #c9a5ff55;background:radial-gradient(ellipse at 12% 70%,#9c67e44d,transparent 50%),linear-gradient(115deg,#25203f,#1c1830);isolation:isolate}.jorchin-shop-entry:after{content:'✦';position:absolute;font-size:210px;color:#d1b6ff08;left:10%;top:-60px;z-index:-1}.jorchin-shop-entry .arcade-entry__gem{width:110px;height:90px;display:block;position:relative;border:0;background:none;box-shadow:none;transform:none;overflow:visible}.jorchin-shop-entry .arcade-entry__gem .jewel-gem{position:absolute;width:46px;height:49px;top:24px;left:0;transform:rotate(-18deg)}.jorchin-shop-entry .arcade-entry__gem .jewel-gem:nth-child(2){left:27px;top:2px;width:56px;height:59px;transform:rotate(9deg);z-index:2}.jorchin-shop-entry .arcade-entry__gem .jewel-gem:nth-child(3){left:64px;top:36px;width:40px;height:43px;transform:rotate(24deg)}.jorchin-shop-entry h2{font-size:27px;margin:9px 0}.jorchin-shop-entry small{letter-spacing:1px;color:#cbb0f0}.jorchin-shop-entry button{background:linear-gradient(125deg,#ebd5ff,#b38be6);color:#2d1c45;font-weight:bold;box-shadow:0 8px 30px #b58af52b;border:0;padding:16px 24px}
#arcade-shop[data-game=jorchin]{width:1050px;padding:30px;background:radial-gradient(ellipse at 90% 0,#70428a33,transparent 50%),#151324;border-color:#c4a1ef55;box-shadow:0 0 100px #9871c514,0 30px 130px #000b}#arcade-shop[data-game=jorchin]::backdrop{background:#090612d9;backdrop-filter:blur(15px)}#arcade-shop[data-game=jorchin] .arcade-shop__header h2{font-size:32px;color:#f6eaff}#arcade-shop[data-game=jorchin] .arcade-shop__header small{color:#bda3da;letter-spacing:3px}#arcade-shop[data-game=jorchin] .arcade-shop__intro{padding:18px 0 22px;border-bottom:1px solid #ffffff10;margin:10px 0 24px}#arcade-shop[data-game=jorchin] .arcade-shop__body{grid-template-columns:340px minmax(0,1fr);gap:28px;align-items:start}#arcade-shop[data-game=jorchin] .arcade-preview{padding:18px;background:linear-gradient(155deg,#30213e,#171527);border:1px solid #b68cdd40;border-radius:24px;position:sticky;top:0;text-align:right;box-shadow:inset 0 1px #fff1}#arcade-shop[data-game=jorchin] .arcade-demo{height:auto;display:block;margin:15px 0 0;overflow:hidden;border-radius:16px;background:none}#arcade-shop[data-game=jorchin] .arcade-preview__top{color:#dac1f5;font-size:11px}#arcade-shop[data-game=jorchin] #arcade-preview-tag{background:#d9b3ff13;border:1px solid #ddbcff22;border-radius:20px;padding:5px 9px;font-size:9px}#arcade-shop[data-game=jorchin] .arcade-preview h3{margin:15px 0 8px;font-size:24px}#arcade-shop[data-game=jorchin] .arcade-preview p{min-height:0;color:#bda9ce;line-height:1.9;font-size:12px}#arcade-shop[data-game=jorchin] .arcade-permanent{font-size:9px;text-align:center;color:#baa6cd}#arcade-shop[data-game=jorchin] .arcade-wallet{background:linear-gradient(120deg,#ffdf9c0a,#fff0);border-color:#edcb8e2b;border-radius:16px}#arcade-shop[data-game=jorchin] .arcade-wallet strong{color:#ffe0a3}#arcade-shop[data-game=jorchin] .arcade-status:empty{display:none}.jewel-catalog-title{display:flex;justify-content:space-between;align-items:center;padding:4px 0 17px;font-size:15px;font-weight:bold}.jewel-catalog-title small{font-size:10px;color:#ac96c3;font-weight:normal}#arcade-shop[data-game=jorchin] #arcade-tabs{background:#ffffff05;padding:5px;border:1px solid #ffffff0b;border-radius:14px;margin:0 0 18px;display:flex;gap:5px}#arcade-shop[data-game=jorchin] #arcade-tabs button{flex:1;border-radius:10px;font-size:12px!important}#arcade-shop[data-game=jorchin] #arcade-tabs button[aria-pressed=true]{background:linear-gradient(125deg,#cba3f433,#a17cde33);color:#f3ddff;border-color:#d5acff55;box-shadow:0 3px 15px #0002}#arcade-shop[data-game=jorchin] .arcade-items{grid-template-columns:repeat(2,minmax(0,1fr));gap:15px}#arcade-shop[data-game=jorchin] .arcade-item{position:relative;min-width:0;padding:12px 12px 14px;border-radius:19px;background:radial-gradient(ellipse at 50% 0,color-mix(in srgb,var(--accent) 10%,transparent),transparent 70%),#ffffff02;border:1px solid color-mix(in srgb,var(--accent) 22%,transparent);transition:border-color .2s,transform .2s,box-shadow .2s;overflow:hidden}#arcade-shop[data-game=jorchin] .arcade-item.is-preview{border-color:color-mix(in srgb,var(--accent) 75%,white);box-shadow:0 0 20px color-mix(in srgb,var(--accent) 10%,transparent),inset 0 0 20px #ffffff03}#arcade-shop[data-game=jorchin] .arcade-item__swatch{height:auto;width:100%;display:block;margin:0 0 13px;background:none;border:0;overflow:hidden;border-radius:12px;transform:none}#arcade-shop[data-game=jorchin] .arcade-item__edition{font-size:9px;letter-spacing:.4px;color:var(--accent);margin:5px 0 8px}#arcade-shop[data-game=jorchin] .arcade-item h4{font-size:16px;margin:0 0 7px}#arcade-shop[data-game=jorchin] .arcade-item p{font-size:10px;line-height:1.8;min-height:35px;margin:0;color:#ac9fbd}#arcade-shop[data-game=jorchin] .arcade-item__price{font-size:12px;color:#f1d395;padding:12px 0;display:block}#arcade-shop[data-game=jorchin] .arcade-item__buttons{gap:6px}#arcade-shop[data-game=jorchin] .arcade-item__buttons button{border-radius:10px;padding:10px 8px!important}#arcade-shop[data-game=jorchin] .arcade-item__buttons button:last-child{background:linear-gradient(125deg,#c49ae12b,#a181d126);border-color:#cca6ec44;color:#eddbff}#arcade-shop[data-game=jorchin] .arcade-item__buttons .is-active{background:#69edcd10!important;border-color:#69edcd33!important;color:#9af0d9!important}.jewel-tools{display:flex;align-items:center;justify-content:space-between;gap:8px;font-size:9px;color:#b8a3cf;margin:12px 0}.jewel-tools button{font-size:10px;padding:7px 10px;border:1px solid #d1b0f233;border-radius:9px;background:#d1a4ff0a;color:#d6b9f6}.jewel-loadout{display:flex;flex-direction:column;gap:7px;margin-top:18px;padding-top:14px;border-top:1px solid #ffffff12}.jewel-loadout button{font-size:10px;border:1px solid #ffffff0c;padding:9px 12px;text-align:right;border-radius:10px;background:#ffffff03;color:#d8cae8}.jewel-loadout button:before{content:'✧';color:var(--chip);margin-left:8px}
.jewel-scene{height:260px;position:relative;display:grid;place-items:center;isolation:isolate;overflow:hidden;border-radius:16px;background:radial-gradient(ellipse at 50% 45%,color-mix(in srgb,var(--scene-accent) 23%,transparent),transparent 70%),var(--scene-world);border:1px solid #ffffff10}.jewel-scene:before{content:'✦';position:absolute;top:15px;right:21px;color:#f8db9f;font-size:18px;text-shadow:0 0 16px #ffe3a366}.jewel-scene:after{content:'✧';position:absolute;bottom:18px;left:20px;color:var(--scene-accent);font-size:29px}.jewel-orbit{width:240px;height:105px;position:absolute;border:1px solid #dfb4ff1f;border-radius:50%;transform:rotate(-28deg);z-index:-1}.jewel-grid{width:190px;padding:11px;gap:5px;display:grid;grid-template-columns:repeat(5,1fr);border:1px solid color-mix(in srgb,var(--scene-accent) 35%,transparent);border-radius:19px;background:linear-gradient(130deg,#ffffff10,#ffffff02);box-shadow:0 20px 30px #0005,inset 0 1px #fff2;transform:rotate(-8deg)}.jewel-cell{aspect-ratio:1;display:grid;place-items:center;background:#0c081c45;border-radius:7px;min-width:0}.jewel-gem{position:relative;display:block;width:80%;height:80%;background:linear-gradient(145deg,color-mix(in srgb,var(--jewel) 50%,white),var(--jewel) 48%,color-mix(in srgb,var(--jewel) 55%,#241137));clip-path:polygon(28% 0,72% 0,100% 28%,100% 72%,72% 100%,28% 100%,0 72%,0 28%);box-shadow:inset 2px 3px 2px #ffffff8a,inset -3px -4px 2px #0004;isolation:isolate}.jewel-gem:before{content:'';position:absolute;inset:18%;border:1px solid #ffffff45;clip-path:polygon(0 0,100% 0,85% 100%,50% 75%,0 100%)}.jewel-gem:after{content:'';position:absolute;top:18%;left:22%;width:28%;height:7%;background:#fffc;transform:rotate(-30deg);border-radius:50%}.jewel-gem b{position:absolute;inset:0;display:grid;place-items:center;color:#fff8;font-size:16px;font-style:normal}.jewel-gem[data-color="1"]{clip-path:polygon(50% 0,100% 50%,50% 100%,0 50%)}.jewel-gem[data-color="2"]{clip-path:polygon(25% 0,75% 0,100% 50%,75% 100%,25% 100%,0 50%)}.jewel-gem[data-color="3"]{clip-path:polygon(50% 0,100% 38%,80% 100%,20% 100%,0 38%)}.jewel-gem[data-color="4"]{clip-path:none;border-radius:50%}.jewel-gem[data-color="5"]{clip-path:polygon(50% 0,62% 32%,98% 35%,72% 59%,82% 96%,50% 75%,18% 96%,28% 59%,2% 35%,38% 32%)}.jewel-scene[data-finish=candy] .jewel-gem{clip-path:none;border-radius:38%;background:radial-gradient(ellipse at 30% 20%,#ffffffc9,transparent 45%),linear-gradient(145deg,color-mix(in srgb,var(--jewel) 65%,white),var(--jewel));box-shadow:inset 0 -4px #0002,inset 0 3px #fff9}.jewel-scene[data-finish=candy] .jewel-gem:before{inset:9%;border-radius:32%;clip-path:none;border-color:#fff3}.jewel-scene[data-finish=ice] .jewel-gem{filter:brightness(1.25) saturate(.65);background:linear-gradient(115deg,transparent 35%,#ffffffa6 37%,transparent 43%),conic-gradient(from 30deg,var(--jewel),#eafaff,var(--jewel),#b5b6fa,var(--jewel));box-shadow:inset 0 3px #fff,inset -3px -3px #73a7df88}.jewel-scene[data-world=ocean]{background:radial-gradient(ellipse at 50% 90%,#4fdfbf3b,transparent 70%),repeating-linear-gradient(165deg,transparent 0 28px,#8beaff06 30px 31px),var(--scene-world)}.jewel-scene[data-world=ocean] .jewel-orbit{border-color:#69edcd44;box-shadow:0 10px 50px #3ad1c311}.jewel-burst{position:absolute;left:40%;top:50%;color:var(--scene-fx);pointer-events:none}.jewel-burst span{position:absolute;font-style:normal;font-size:18px;transform:rotate(var(--angle)) translateX(var(--distance));opacity:0;text-shadow:0 0 10px currentColor}.jewel-earned{position:absolute;top:32%;left:25%;color:#ffe6a8;font-size:22px;font-weight:bold;text-shadow:0 3px 8px #0008;opacity:0}.jewel-scene.is-live .jewel-match .jewel-gem{animation:jewel-clear 3.8s var(--delay) infinite}.jewel-scene.is-live .jewel-burst span{animation:jewel-burst 3.8s infinite}.jewel-scene.is-live .jewel-earned{animation:jewel-earned 3.8s infinite}.jewel-scene[data-effect=bloom] .jewel-burst span{font-size:25px;color:#ff9ac9}.jewel-scene--mini{height:145px;border:0;border-radius:12px}.jewel-scene--mini .jewel-grid{width:118px;padding:7px;gap:3px;border-radius:13px;transform:rotate(-10deg)}.jewel-scene--mini .jewel-orbit{width:170px;height:70px}.jewel-scene--mini:before{font-size:12px;top:10px;right:12px}.jewel-scene--mini:after{font-size:18px;bottom:8px;left:10px}.jewel-scene--mini[data-focus=gems] .jewel-grid{transform:rotate(-10deg) scale(1.05)}.jewel-scene--mini[data-focus=effect] .jewel-burst span{opacity:1;transform:rotate(var(--angle)) translateX(calc(var(--distance)*.6));font-size:14px}.jewel-scene--mini[data-focus=effect] .jewel-match .jewel-gem{opacity:.25}.jewel-scene--mini[data-focus=effect] .jewel-earned{opacity:1;font-size:15px;top:25%;left:22%}
#arcade-confirm[data-game=jorchin]{background:radial-gradient(ellipse at top,#63417b55,transparent 70%),#1c172c;border-color:#d4a6ff66}#arcade-confirm[data-game=jorchin] #arcade-buy{background:linear-gradient(120deg,#e2c4ff,#b992ee);color:#271b3e;border:0}
@keyframes jewel-clear{0%,32%,90%,100%{opacity:1;transform:none;filter:brightness(1)}40%{transform:scale(1.2);filter:brightness(1.8)}50%,64%{opacity:0;transform:scale(0)}65%{opacity:0;transform:translateY(-35px) scale(.8)}80%{opacity:1;transform:none}}@keyframes jewel-burst{0%,38%,74%,100%{opacity:0;transform:rotate(var(--angle)) translateX(0) scale(.4)}46%{opacity:1;transform:rotate(var(--angle)) translateX(calc(var(--distance)*.4)) scale(1.2)}68%{opacity:0;transform:rotate(var(--angle)) translateX(var(--distance)) scale(.3)}}@keyframes jewel-earned{0%,42%,85%,100%{opacity:0;transform:translateY(10px) scale(.7)}52%{opacity:1;transform:translateY(-10px) scale(1.1)}75%{opacity:0;transform:translateY(-45px) scale(1)}}
@media(hover:hover){#arcade-shop[data-game=jorchin] .arcade-item:hover{border-color:var(--accent);transform:translateY(-3px)}}
@media(max-width:700px){.jorchin-shop-entry{padding:24px 22px;gap:14px}.jorchin-shop-entry .arcade-entry__gem{width:80px;transform:scale(.8);transform-origin:right center;margin-left:-12px}.jorchin-shop-entry h2{font-size:21px}.jorchin-shop-entry small{font-size:9px;letter-spacing:0}.jorchin-shop-entry p{font-size:10px;line-height:1.9}.jorchin-shop-entry button{padding:14px}.jorchin-shop-entry>div{flex:1;min-width:150px}#arcade-shop[data-game=jorchin]{padding:18px 14px;width:100%;max-width:calc(100vw - 14px);max-height:calc(100dvh - 14px);border-radius:23px}#arcade-shop[data-game=jorchin] .arcade-shop__header h2{font-size:23px}#arcade-shop[data-game=jorchin] .arcade-shop__header small{font-size:7px;letter-spacing:1.5px}#arcade-shop[data-game=jorchin] .arcade-shop__intro{margin:10px 0 16px;padding:8px 0 16px;gap:10px}#arcade-shop[data-game=jorchin] .arcade-shop__intro>p{font-size:11px}#arcade-shop[data-game=jorchin] .arcade-wallet{min-width:122px;padding:10px}#arcade-shop[data-game=jorchin] .arcade-shop__body{grid-template-columns:1fr;gap:24px}#arcade-shop[data-game=jorchin] .arcade-preview{position:relative;display:block;padding:14px;border-radius:20px}#arcade-shop[data-game=jorchin] .arcade-demo{height:auto;margin-top:10px;grid-row:auto}#arcade-shop[data-game=jorchin] .arcade-preview h3{font-size:21px;margin:8px 0 4px}#arcade-shop[data-game=jorchin] .arcade-preview p{font-size:10px;margin:0 0 8px}#arcade-shop[data-game=jorchin] .arcade-permanent{display:none}.jewel-scene{height:200px}.jewel-grid{width:153px;padding:9px;gap:4px}.jewel-tools{margin:9px 0}.jewel-loadout{flex-direction:row;flex-wrap:wrap;gap:5px;margin-top:10px;padding-top:10px}.jewel-loadout button{font-size:8px;padding:7px 8px}.jewel-loadout button:before{margin-left:4px}.jewel-catalog-title{font-size:13px;padding-bottom:12px}.jewel-catalog-title small{font-size:8px}#arcade-shop[data-game=jorchin] .arcade-items{gap:10px}#arcade-shop[data-game=jorchin] .arcade-item{padding:9px;border-radius:16px}#arcade-shop[data-game=jorchin] .arcade-item h4{font-size:13px}#arcade-shop[data-game=jorchin] .arcade-item p{font-size:9px;min-height:34px}#arcade-shop[data-game=jorchin] .arcade-item__edition{font-size:8px}#arcade-shop[data-game=jorchin] .arcade-item__price{font-size:10px}#arcade-shop[data-game=jorchin] .arcade-item__buttons button{font-size:9px!important;padding:9px 5px!important}.jewel-scene--mini{height:126px}.jewel-scene--mini .jewel-grid{width:103px;padding:6px;gap:3px}.jewel-scene--mini .jewel-orbit{width:145px}.jewel-scene--mini .jewel-earned{font-size:12px}#arcade-shop[data-game=jorchin] .arcade-preview__top{display:flex;align-items:center;justify-content:space-between}}@media(max-width:350px){.jewel-scene--mini{height:108px}.jewel-scene--mini .jewel-grid{width:88px}.jewel-loadout button{font-size:7px}.jewel-catalog-title small{display:none}#arcade-shop[data-game=jorchin] .arcade-item__buttons button{font-size:8px!important}}
@media(prefers-reduced-motion:reduce){#arcade-shop[data-game=jorchin] *, .jorchin-shop-entry *{animation:none!important;transition:none!important}.jewel-scene[data-focus=effect] .jewel-burst span{opacity:1;transform:rotate(var(--angle)) translateX(calc(var(--distance)*.65))}.jewel-scene[data-focus=effect] .jewel-earned{opacity:1}}
#arcade-shop[data-game=jorchin] .arcade-shop__header{height:auto;min-height:65px}@media(max-width:700px){#arcade-shop[data-game=jorchin] .arcade-shop__header{min-height:52px}.jewel-scene:not(.jewel-scene--mini){height:175px}.jewel-scene:not(.jewel-scene--mini) .jewel-grid{width:140px}}
