/* tailwind.css */
*,:after,:before{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness:proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgba(59,130,246,.5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }::backdrop{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness:proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgba(59,130,246,.5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }/*! tailwindcss v3.4.17 | MIT License | https://tailwindcss.com*/*,:after,:before{box-sizing:border-box;border:0 solid #e5e7eb}:after,:before{--tw-content:""}:host,html{line-height:1.5;-webkit-text-size-adjust:100%;-moz-tab-size:4;-o-tab-size:4;tab-size:4;font-family:ui-sans-serif,system-ui,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;font-feature-settings:normal;font-variation-settings:normal;-webkit-tap-highlight-color:transparent}body{margin:0;line-height:inherit}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,pre,samp{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-feature-settings:normal;font-variation-settings:normal;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}button,input,optgroup,select,textarea{font-family:inherit;font-feature-settings:inherit;font-variation-settings:inherit;font-size:100%;font-weight:inherit;line-height:inherit;letter-spacing:inherit;color:inherit;margin:0;padding:0}button,select{text-transform:none}button,input:where([type=button]),input:where([type=reset]),input:where([type=submit]){-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dd,dl,figure,h1,h2,h3,h4,h5,h6,hr,p,pre{margin:0}fieldset{margin:0}fieldset,legend{padding:0}menu,ol,ul{list-style:none;margin:0;padding:0}dialog{padding:0}textarea{resize:vertical}input::-moz-placeholder,textarea::-moz-placeholder{opacity:1;color:#9ca3af}input::placeholder,textarea::placeholder{opacity:1;color:#9ca3af}[role=button],button{cursor:pointer}:disabled{cursor:default}audio,canvas,embed,iframe,img,object,svg,video{display:block;vertical-align:middle}img,video{max-width:100%;height:auto}[hidden]:where(:not([hidden=until-found])){display:none}.\!container{width:100%!important}.container{width:100%}@media (min-width:640px){.\!container{max-width:640px!important}.container{max-width:640px}}@media (min-width:768px){.\!container{max-width:768px!important}.container{max-width:768px}}@media (min-width:1024px){.\!container{max-width:1024px!important}.container{max-width:1024px}}@media (min-width:1280px){.\!container{max-width:1280px!important}.container{max-width:1280px}}@media (min-width:1536px){.\!container{max-width:1536px!important}.container{max-width:1536px}}.pointer-events-none{pointer-events:none}.pointer-events-auto{pointer-events:auto}.visible{visibility:visible}.collapse{visibility:collapse}.static{position:static}.fixed{position:fixed}.absolute{position:absolute}.relative{position:relative}.inset-0{inset:0}.-top-12{top:-3rem}.-top-3{top:-.75rem}.left-1\/2{left:50%}.right-0{right:0}.right-4{right:1rem}.top-16{top:4rem}.top-3{top:.75rem}.z-0{z-index:0}.z-10{z-index:10}.z-20{z-index:20}.z-50{z-index:50}.my-1{margin-top:.25rem;margin-bottom:.25rem}.my-2{margin-top:.5rem;margin-bottom:.5rem}.my-3{margin-top:.75rem;margin-bottom:.75rem}.my-auto{margin-top:auto;margin-bottom:auto}.mb-1{margin-bottom:.25rem}.mb-1\.5{margin-bottom:.375rem}.mb-2{margin-bottom:.5rem}.mb-3{margin-bottom:.75rem}.mt-0\.5{margin-top:.125rem}.mt-1{margin-top:.25rem}.mt-2{margin-top:.5rem}.mt-2\.5{margin-top:.625rem}.mt-4{margin-top:1rem}.line-clamp-2{overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2}.block{display:block}.inline-block{display:inline-block}.flex{display:flex}.table{display:table}.\!grid{display:grid!important}.grid{display:grid}.hidden{display:none}.h-12{height:3rem}.h-2{height:.5rem}.h-2\.5{height:.625rem}.h-28{height:7rem}.h-36{height:9rem}.h-44{height:11rem}.h-56{height:14rem}.h-60{height:15rem}.h-8{height:2rem}.h-96{height:24rem}.h-\[430px\]{height:430px}.h-full{height:100%}.w-0{width:0}.w-10{width:2.5rem}.w-36{width:9rem}.w-40{width:10rem}.w-44{width:11rem}.w-56{width:14rem}.w-64{width:16rem}.w-72{width:18rem}.w-8{width:2rem}.w-full{width:100%}.max-w-\[190px\]{max-width:190px}.max-w-\[210px\]{max-width:210px}.max-w-\[280px\]{max-width:280px}.max-w-\[290px\]{max-width:290px}.max-w-\[340px\]{max-width:340px}.max-w-\[380px\]{max-width:380px}.max-w-\[85\%\]{max-width:85%}.max-w-\[850px\]{max-width:850px}.max-w-\[90\%\]{max-width:90%}.flex-1{flex:1 1 0%}.grow{flex-grow:1}.-translate-x-1\/2{--tw-translate-x:-50%}.-translate-x-1\/2,.scale-100{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.scale-100{--tw-scale-x:1;--tw-scale-y:1}.scale-125{--tw-scale-x:1.25;--tw-scale-y:1.25}.scale-125,.scale-75{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.scale-75{--tw-scale-x:.75;--tw-scale-y:.75}.transform{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}@keyframes pulse{50%{opacity:.5}}.animate-pulse{animation:pulse 2s cubic-bezier(.4,0,.6,1) infinite}.cursor-pointer{cursor:pointer}.select-none{-webkit-user-select:none;-moz-user-select:none;user-select:none}.grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.grid-cols-5{grid-template-columns:repeat(5,minmax(0,1fr))}.flex-col{flex-direction:column}.items-center{align-items:center}.justify-start{justify-content:flex-start}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.gap-1{gap:.25rem}.gap-1\.5{gap:.375rem}.gap-2{gap:.5rem}.overflow-hidden{overflow:hidden}.rounded{border-radius:.25rem}.rounded-2xl{border-radius:1rem}.rounded-3xl{border-radius:1.5rem}.rounded-full{border-radius:9999px}.rounded-md{border-radius:.375rem}.rounded-xl{border-radius:.75rem}.border{border-width:1px}.border-2{border-width:2px}.border-t{border-top-width:1px}.border-amber-400{--tw-border-opacity:1;border-color:rgb(251 191 36/var(--tw-border-opacity,1))}.border-amber-400\/30{border-color:rgba(251,191,36,.3)}.border-amber-400\/40{border-color:rgba(251,191,36,.4)}.border-amber-400\/50{border-color:rgba(251,191,36,.5)}.border-amber-400\/60{border-color:rgba(251,191,36,.6)}.border-amber-400\/80{border-color:rgba(251,191,36,.8)}.border-amber-500\/30{border-color:rgba(245,158,11,.3)}.border-amber-500\/40{border-color:rgba(245,158,11,.4)}.border-sky-400\/30{border-color:rgba(56,189,248,.3)}.border-sky-400\/60{border-color:rgba(56,189,248,.6)}.border-slate-700{--tw-border-opacity:1;border-color:rgb(51 65 85/var(--tw-border-opacity,1))}.border-slate-800{--tw-border-opacity:1;border-color:rgb(30 41 59/var(--tw-border-opacity,1))}.border-white{--tw-border-opacity:1;border-color:rgb(255 255 255/var(--tw-border-opacity,1))}.border-white\/15{border-color:hsla(0,0%,100%,.15)}.bg-amber-400{--tw-bg-opacity:1;background-color:rgb(251 191 36/var(--tw-bg-opacity,1))}.bg-amber-400\/20{background-color:rgba(251,191,36,.2)}.bg-amber-500{--tw-bg-opacity:1;background-color:rgb(245 158 11/var(--tw-bg-opacity,1))}.bg-amber-500\/20{background-color:rgba(245,158,11,.2)}.bg-amber-950\/20{background-color:rgba(69,26,3,.2)}.bg-amber-950\/40{background-color:rgba(69,26,3,.4)}.bg-black\/90{background-color:rgba(0,0,0,.9)}.bg-black\/95{background-color:rgba(0,0,0,.95)}.bg-purple-700{--tw-bg-opacity:1;background-color:rgb(126 34 206/var(--tw-bg-opacity,1))}.bg-slate-800{--tw-bg-opacity:1;background-color:rgb(30 41 59/var(--tw-bg-opacity,1))}.bg-slate-900{--tw-bg-opacity:1;background-color:rgb(15 23 42/var(--tw-bg-opacity,1))}.bg-slate-900\/90{background-color:rgba(15,23,42,.9)}.bg-slate-950{--tw-bg-opacity:1;background-color:rgb(2 6 23/var(--tw-bg-opacity,1))}.bg-slate-950\/80{background-color:rgba(2,6,23,.8)}.bg-slate-950\/90{background-color:rgba(2,6,23,.9)}.bg-slate-950\/95{background-color:rgba(2,6,23,.95)}.bg-gradient-to-b{background-image:linear-gradient(to bottom,var(--tw-gradient-stops))}.bg-gradient-to-r{background-image:linear-gradient(to right,var(--tw-gradient-stops))}.bg-gradient-to-t{background-image:linear-gradient(to top,var(--tw-gradient-stops))}.bg-gradient-to-tr{background-image:linear-gradient(to top right,var(--tw-gradient-stops))}.from-amber-200{--tw-gradient-from:#fde68a var(--tw-gradient-from-position);--tw-gradient-to:hsla(48,97%,77%,0) var(--tw-gradient-to-position);--tw-gradient-stops:var(--tw-gradient-from),var(--tw-gradient-to)}.from-amber-500{--tw-gradient-from:#f59e0b var(--tw-gradient-from-position);--tw-gradient-to:rgba(245,158,11,0) var(--tw-gradient-to-position);--tw-gradient-stops:var(--tw-gradient-from),var(--tw-gradient-to)}.from-sky-500{--tw-gradient-from:#0ea5e9 var(--tw-gradient-from-position);--tw-gradient-to:rgba(14,165,233,0) var(--tw-gradient-to-position);--tw-gradient-stops:var(--tw-gradient-from),var(--tw-gradient-to)}.from-slate-950{--tw-gradient-from:#020617 var(--tw-gradient-from-position);--tw-gradient-to:rgba(2,6,23,0) var(--tw-gradient-to-position);--tw-gradient-stops:var(--tw-gradient-from),var(--tw-gradient-to)}.via-amber-400{--tw-gradient-to:rgba(251,191,36,0) var(--tw-gradient-to-position);--tw-gradient-stops:var(--tw-gradient-from),#fbbf24 var(--tw-gradient-via-position),var(--tw-gradient-to)}.via-indigo-500{--tw-gradient-to:rgba(99,102,241,0) var(--tw-gradient-to-position);--tw-gradient-stops:var(--tw-gradient-from),#6366f1 var(--tw-gradient-via-position),var(--tw-gradient-to)}.via-transparent{--tw-gradient-to:transparent var(--tw-gradient-to-position);--tw-gradient-stops:var(--tw-gradient-from),transparent var(--tw-gradient-via-position),var(--tw-gradient-to)}.via-yellow-300{--tw-gradient-to:rgba(253,224,71,0) var(--tw-gradient-to-position);--tw-gradient-stops:var(--tw-gradient-from),#fde047 var(--tw-gradient-via-position),var(--tw-gradient-to)}.to-amber-400{--tw-gradient-to:#fbbf24 var(--tw-gradient-to-position)}.to-amber-600{--tw-gradient-to:#d97706 var(--tw-gradient-to-position)}.to-purple-600{--tw-gradient-to:#9333ea var(--tw-gradient-to-position)}.to-transparent{--tw-gradient-to:transparent var(--tw-gradient-to-position)}.to-yellow-300{--tw-gradient-to:#fde047 var(--tw-gradient-to-position)}.object-contain{-o-object-fit:contain;object-fit:contain}.object-cover{-o-object-fit:cover;object-fit:cover}.object-center{-o-object-position:center;object-position:center}.p-0\.5{padding:.125rem}.p-1{padding:.25rem}.p-1\.5{padding:.375rem}.p-2{padding:.5rem}.p-2\.5{padding:.625rem}.p-3{padding:.75rem}.p-4{padding:1rem}.p-5{padding:1.25rem}.px-1{padding-left:.25rem;padding-right:.25rem}.px-2{padding-left:.5rem;padding-right:.5rem}.px-2\.5{padding-left:.625rem;padding-right:.625rem}.px-3{padding-left:.75rem;padding-right:.75rem}.px-4{padding-left:1rem;padding-right:1rem}.px-5{padding-left:1.25rem;padding-right:1.25rem}.py-0\.5{padding-top:.125rem;padding-bottom:.125rem}.py-1{padding-top:.25rem;padding-bottom:.25rem}.py-2{padding-top:.5rem;padding-bottom:.5rem}.py-2\.5{padding-top:.625rem;padding-bottom:.625rem}.py-3{padding-top:.75rem;padding-bottom:.75rem}.pb-1{padding-bottom:.25rem}.pb-2{padding-bottom:.5rem}.pb-3{padding-bottom:.75rem}.pr-1{padding-right:.25rem}.pt-1{padding-top:.25rem}.pt-2{padding-top:.5rem}.text-left{text-align:left}.text-center{text-align:center}.text-right{text-align:right}.font-\[\'Cinzel\'\]{font-family:Cinzel}.font-\[\'Pridi\'\]{font-family:Pridi}.font-serif{font-family:ui-serif,Georgia,Cambria,Times New Roman,Times,serif}.text-2xl{font-size:1.5rem;line-height:2rem}.text-6xl{font-size:3.75rem;line-height:1}.text-\[10px\]{font-size:10px}.text-\[11px\]{font-size:11px}.text-\[8px\]{font-size:8px}.text-\[9px\]{font-size:9px}.text-base{font-size:1rem;line-height:1.5rem}.text-lg{font-size:1.125rem;line-height:1.75rem}.text-sm{font-size:.875rem;line-height:1.25rem}.text-xl{font-size:1.25rem;line-height:1.75rem}.text-xs{font-size:.75rem;line-height:1rem}.font-black{font-weight:900}.font-bold{font-weight:700}.uppercase{text-transform:uppercase}.italic{font-style:italic}.leading-none{line-height:1}.leading-relaxed{line-height:1.625}.leading-snug{line-height:1.375}.tracking-wider{letter-spacing:.05em}.tracking-widest{letter-spacing:.1em}.text-amber-100\/90{color:hsla(48,96%,89%,.9)}.text-amber-200{--tw-text-opacity:1;color:rgb(253 230 138/var(--tw-text-opacity,1))}.text-amber-300{--tw-text-opacity:1;color:rgb(252 211 77/var(--tw-text-opacity,1))}.text-amber-300\/80{color:rgba(252,211,77,.8)}.text-amber-400{--tw-text-opacity:1;color:rgb(251 191 36/var(--tw-text-opacity,1))}.text-sky-200{--tw-text-opacity:1;color:rgb(186 230 253/var(--tw-text-opacity,1))}.text-sky-300{--tw-text-opacity:1;color:rgb(125 211 252/var(--tw-text-opacity,1))}.text-sky-400{--tw-text-opacity:1;color:rgb(56 189 248/var(--tw-text-opacity,1))}.text-slate-200{--tw-text-opacity:1;color:rgb(226 232 240/var(--tw-text-opacity,1))}.text-slate-300{--tw-text-opacity:1;color:rgb(203 213 225/var(--tw-text-opacity,1))}.text-slate-400{--tw-text-opacity:1;color:rgb(148 163 184/var(--tw-text-opacity,1))}.text-slate-950{--tw-text-opacity:1;color:rgb(2 6 23/var(--tw-text-opacity,1))}.text-white{--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity,1))}.line-through{text-decoration-line:line-through}.opacity-0{opacity:0}.opacity-100{opacity:1}.opacity-60{opacity:.6}.opacity-80{opacity:.8}.shadow{--tw-shadow:0 1px 3px 0 rgba(0,0,0,.1),0 1px 2px -1px rgba(0,0,0,.1);--tw-shadow-colored:0 1px 3px 0 var(--tw-shadow-color),0 1px 2px -1px var(--tw-shadow-color)}.shadow,.shadow-2xl{box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.shadow-2xl{--tw-shadow:0 25px 50px -12px rgba(0,0,0,.25);--tw-shadow-colored:0 25px 50px -12px var(--tw-shadow-color)}.shadow-inner{--tw-shadow:inset 0 2px 4px 0 rgba(0,0,0,.05);--tw-shadow-colored:inset 0 2px 4px 0 var(--tw-shadow-color)}.shadow-inner,.shadow-md{box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.shadow-md{--tw-shadow:0 4px 6px -1px rgba(0,0,0,.1),0 2px 4px -2px rgba(0,0,0,.1);--tw-shadow-colored:0 4px 6px -1px var(--tw-shadow-color),0 2px 4px -2px var(--tw-shadow-color)}.ring{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(3px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000)}.blur{--tw-blur:blur(8px)}.blur,.blur-lg{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.blur-lg{--tw-blur:blur(16px)}.invert{--tw-invert:invert(100%)}.filter,.invert{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.backdrop-blur-2xl{--tw-backdrop-blur:blur(40px)}.backdrop-blur-2xl,.backdrop-blur-xl{-webkit-backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia);backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia)}.backdrop-blur-xl{--tw-backdrop-blur:blur(24px)}.transition{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,-webkit-backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter,-webkit-backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-all{transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-colors{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-opacity{transition-property:opacity;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-transform{transition-property:transform;transition-timing-function:cubic-bezier(.4,0,.2,1)}.duration-150,.transition-transform{transition-duration:.15s}.duration-300{transition-duration:.3s}.duration-500{transition-duration:.5s}.ease-in-out{transition-timing-function:cubic-bezier(.4,0,.2,1)}.ease-out{transition-timing-function:cubic-bezier(0,0,.2,1)}.selection\:bg-amber-500 ::-moz-selection{--tw-bg-opacity:1;background-color:rgb(245 158 11/var(--tw-bg-opacity,1))}.selection\:bg-amber-500 ::selection{--tw-bg-opacity:1;background-color:rgb(245 158 11/var(--tw-bg-opacity,1))}.selection\:text-black ::-moz-selection{--tw-text-opacity:1;color:rgb(0 0 0/var(--tw-text-opacity,1))}.selection\:text-black ::selection{--tw-text-opacity:1;color:rgb(0 0 0/var(--tw-text-opacity,1))}.selection\:bg-amber-500::-moz-selection{--tw-bg-opacity:1;background-color:rgb(245 158 11/var(--tw-bg-opacity,1))}.selection\:bg-amber-500::selection{--tw-bg-opacity:1;background-color:rgb(245 158 11/var(--tw-bg-opacity,1))}.selection\:text-black::-moz-selection{--tw-text-opacity:1;color:rgb(0 0 0/var(--tw-text-opacity,1))}.selection\:text-black::selection{--tw-text-opacity:1;color:rgb(0 0 0/var(--tw-text-opacity,1))}.hover\:border-amber-300:hover{--tw-border-opacity:1;border-color:rgb(252 211 77/var(--tw-border-opacity,1))}.hover\:text-white:hover{--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity,1))}.active\:scale-90:active{--tw-scale-x:.9;--tw-scale-y:.9}.active\:scale-90:active,.active\:scale-95:active{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.active\:scale-95:active{--tw-scale-x:.95;--tw-scale-y:.95}.group:hover .group-hover\:scale-125{--tw-scale-x:1.25;--tw-scale-y:1.25;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}@media (min-width:640px){.sm\:text-sm{font-size:.875rem;line-height:1.25rem}}
/* style.css */
/* ===================================================
   MYSTIC MOO - DIGITAL TCG GAME CLIENT UI/UX
   Authentic Mobile Card Game Engine & Game Interface
   No Web Scrolling • Fullscreen 100dvh • Tactical Game HUD
   =================================================== */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,600;0,700;1,600&family=Pridi:wght@400;500;600;700&family=Sarabun:ital,wght@0,400;0,500;0,600;0,700;1,400&display=swap');

:root,
[data-theme="midnight"] {
  --theme-name: 'midnight';
  --bg-page: #030408;
  --bg-frame: radial-gradient(circle at 50% 15%, #141a36 0%, #080a14 55%, #020306 100%);
  --hud-bg: rgba(10, 14, 28, 0.88);
  --hud-border: rgba(56, 189, 248, 0.35);
  --dock-bg: rgba(8, 11, 22, 0.92);
  --dock-border: rgba(56, 189, 248, 0.4);
  --playmat-bg: radial-gradient(circle at 50% 50%, rgba(26, 36, 70, 0.45) 0%, rgba(6, 8, 16, 0.92) 100%);
  --playmat-border: rgba(56, 189, 248, 0.3);
  --slot-bg: rgba(10, 15, 30, 0.75);
  --slot-border: rgba(56, 189, 248, 0.45);
  --accent-neon: #38bdf8;
  --accent-gold: #f59e0b;
  --text-main: #f8fafc;
  --text-sub: #cbd5e1;
}

[data-theme="parchment"] {
  --theme-name: 'parchment';
  --bg-page: #cbd5e1;
  --bg-frame: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 50%, #e2e8f0 100%);
  --hud-bg: rgba(255, 255, 255, 0.92);
  --hud-border: rgba(2, 132, 199, 0.35);
  --dock-bg: rgba(255, 255, 255, 0.94);
  --dock-border: rgba(2, 132, 199, 0.4);
  --playmat-bg: radial-gradient(circle at 50% 50%, rgba(224, 242, 254, 0.5) 0%, rgba(241, 245, 249, 0.95) 100%);
  --playmat-border: rgba(2, 132, 199, 0.35);
  --slot-bg: rgba(255, 255, 255, 0.85);
  --slot-border: rgba(2, 132, 199, 0.5);
  --accent-neon: #0284c7;
  --accent-gold: #d97706;
  --text-main: #0f172a;
  --text-sub: #334155;
}

[data-theme="emerald"] {
  --theme-name: 'emerald';
  --bg-page: #020608;
  --bg-frame: radial-gradient(circle at 50% 15%, #092e24 0%, #05151c 55%, #020708 100%);
  --hud-bg: rgba(4, 20, 22, 0.88);
  --hud-border: rgba(16, 185, 129, 0.4);
  --dock-bg: rgba(3, 16, 18, 0.92);
  --dock-border: rgba(16, 185, 129, 0.45);
  --playmat-bg: radial-gradient(circle at 50% 50%, rgba(16, 185, 129, 0.25) 0%, rgba(2, 10, 12, 0.95) 100%);
  --playmat-border: rgba(16, 185, 129, 0.35);
  --slot-bg: rgba(4, 18, 20, 0.8);
  --slot-border: rgba(16, 185, 129, 0.5);
  --accent-neon: #10b981;
  --accent-gold: #fbbf24;
  --text-main: #f0fdf4;
  --text-sub: #a7f3d0;
}

/* ================= ZERO SCROLL & GAME CLIENT ROOT ================= */
html, body {
  height: 100%;
  width: 100%;
  margin: 0;
  padding: 0;
  overflow: hidden !important;
  background-color: var(--bg-page);
  font-family: 'Sarabun', -apple-system, sans-serif;
  color: var(--text-main);
  user-select: none;
  -webkit-user-select: none;
  touch-action: manipulation;
}

.game-root {
  height: 100dvh;
  max-height: 100dvh;
  width: 100%;
  max-width: 480px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
  background: var(--bg-frame);
  box-shadow: 0 0 60px rgba(0, 0, 0, 0.85), 0 0 0 1px rgba(255, 255, 255, 0.1);
}

/* Three.js Background Stage */
#three-global-bg-container {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: auto;
}

/* ================= 1. TOP GAME HUD ================= */
.game-top-bar {
  position: relative;
  z-index: 30;
  height: 62px;
  padding: 8px 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: linear-gradient(180deg, rgba(16, 20, 42, 0.96) 0%, rgba(6, 8, 18, 0.98) 100%);
  backdrop-filter: blur(25px);
  border-bottom: 2px solid rgba(245, 158, 11, 0.4);
  box-shadow: 0 6px 25px rgba(0, 0, 0, 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.player-avatar-frame {
  position: relative;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  border: 2px solid #ffd700;
  background: #020617;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 15px rgba(245, 158, 11, 0.5), inset 0 0 8px rgba(245, 158, 11, 0.3);
}

.player-level-badge {
  position: absolute;
  bottom: -6px;
  right: -6px;
  background: linear-gradient(135deg, #fef08a 0%, #f59e0b 50%, #b45309 100%);
  color: #1a0f02;
  font-size: 10px;
  font-weight: 900;
  padding: 1px 6px;
  border-radius: 9999px;
  border: 1.5px solid #fff;
  box-shadow: 0 2px 6px rgba(0,0,0,0.6);
}

.game-currency-pill {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 5px 11px;
  border-radius: 9999px;
  background: linear-gradient(180deg, rgba(20, 24, 48, 0.85) 0%, rgba(6, 8, 18, 0.95) 100%);
  border: 1.5px solid rgba(245, 158, 11, 0.4);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.6), inset 0 1px 1px rgba(255, 255, 255, 0.2);
}

.game-currency-add {
  background: linear-gradient(135deg, #f59e0b, #d97706);
  color: #000;
  font-size: 11px;
  font-weight: 900;
  width: 18px;
  height: 18px;
  border-radius: 9999px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.1s ease;
}

.game-currency-add:active {
  transform: scale(0.9);
}

/* ================= 2. ACTIVE GAME STAGE & SCENES ================= */
.game-stage-viewport {
  flex: 1;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  z-index: 10;
}

.game-scene {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 10px 12px 14px 12px;
  opacity: 0;
  pointer-events: none;
  transform: scale(0.97);
  transition: opacity 0.25s cubic-bezier(0.2, 0.8, 0.3, 1), transform 0.25s cubic-bezier(0.2, 0.8, 0.3, 1);
}

.game-scene.active {
  opacity: 1;
  pointer-events: auto;
  transform: scale(1);
}

/* ================= 3. ARENA PLAYMAT & CARD SLOTS ================= */
.arena-playmat {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
}

.playmat-table {
  flex: 1;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 24px;
  border: 1.5px solid var(--playmat-border);
  background: var(--playmat-bg);
  box-shadow: inset 0 0 35px rgba(0, 0, 0, 0.8), 0 10px 30px rgba(0, 0, 0, 0.5);
  margin-bottom: 8px;
  overflow: hidden;
}

/* 3 Runic Summoning Slots */
.arena-slots-row {
  display: flex;
  align-items: center;
  justify-content: space-around;
  width: 100%;
  padding: 0 8px;
  z-index: 10;
}

.runic-slot {
  width: 88px;
  height: 136px;
  border-radius: 14px;
  border: 2px dashed var(--slot-border);
  background: var(--slot-bg);
  box-shadow: inset 0 0 15px rgba(0, 0, 0, 0.8);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  transition: all 0.25s ease;
  cursor: pointer;
}

.runic-slot.has-card {
  border-style: solid;
  border-color: var(--accent-neon);
  box-shadow: 0 0 20px rgba(56, 189, 248, 0.4), inset 0 0 15px rgba(56, 189, 248, 0.2);
}

.runic-slot-tag {
  position: absolute;
  top: -10px;
  font-size: 10px;
  font-weight: 900;
  padding: 2px 8px;
  border-radius: 9999px;
  background: #020617;
  border: 1px solid var(--slot-border);
  color: var(--accent-neon);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  white-space: nowrap;
}

/* Player Hand Deck (Fan of Cards at Bottom) */
.player-hand-dock {
  position: relative;
  height: 120px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: 4px;
}

.hand-card-item {
  width: 72px;
  height: 110px;
  border-radius: 12px;
  overflow: hidden;
  border: 2px solid #ffd700;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.8);
  cursor: pointer;
  transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.2s ease;
  margin-left: -24px;
  transform-origin: bottom center;
  background: radial-gradient(circle at 50% 40%, #8e8165 0 11%, #142e2b 12% 65%, #091d1b 100%);
}

.hand-card-item:first-child {
  margin-left: 0;
}

.hand-card-item:hover,
.hand-card-item:active {
  transform: translateY(-24px) scale(1.15) !important;
  z-index: 50 !important;
  box-shadow: 0 15px 30px rgba(56, 189, 248, 0.6), 0 0 25px #ffd700;
}

/* ================= 4. TACTILE 3D GAME BUTTONS ================= */
.btn-game-3d {
  position: relative;
  font-family: 'Pridi', serif;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  border: none;
  border-radius: 16px;
  padding: 12px 20px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  user-select: none;
  transition: transform 0.08s ease, filter 0.15s ease;
}

.btn-game-primary {
  background: linear-gradient(180deg, #38bdf8 0%, #0284c7 100%);
  color: #030816;
  font-weight: 900;
  box-shadow: 0 6px 0 #0369a1, 0 10px 25px rgba(2, 132, 199, 0.5);
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.6);
}

.btn-game-primary:active {
  transform: translateY(4px);
  box-shadow: 0 2px 0 #0369a1, 0 4px 10px rgba(2, 132, 199, 0.5);
}

.btn-game-gold {
  background: linear-gradient(180deg, #fef08a 0%, #f59e0b 50%, #d97706 100%);
  color: #261502;
  font-weight: 900;
  box-shadow: 0 6px 0 #b45309, 0 10px 25px rgba(245, 158, 11, 0.5);
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.7);
}

.btn-game-gold:active {
  transform: translateY(4px);
  box-shadow: 0 2px 0 #b45309, 0 4px 10px rgba(245, 158, 11, 0.5);
}

/* ================= 5. GACHA & SUMMONING PORTAL ================= */
.summon-portal-circle {
  width: 200px;
  height: 200px;
  border-radius: 9999px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 10px auto;
  box-shadow: 0 0 50px rgba(56, 189, 248, 0.4), inset 0 0 40px rgba(168, 85, 247, 0.4);
}

.summon-rune-ring {
  position: absolute;
  inset: 0;
  border: 2px dashed var(--accent-neon);
  border-radius: 9999px;
  animation: portalSpin 25s linear infinite;
}

@keyframes portalSpin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* ================= 6. BOTTOM GAME ACTION BAR ================= */
.game-bottom-dock {
  position: relative;
  z-index: 30;
  height: 66px;
  background: var(--dock-bg);
  backdrop-filter: blur(25px);
  border-top: 1.5px solid var(--dock-border);
  display: flex;
  align-items: center;
  justify-content: space-around;
  padding: 4px 8px;
  box-shadow: 0 -4px 25px rgba(0, 0, 0, 0.6);
}

.game-tab-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  padding: 4px 10px;
  border-radius: 12px;
  background: transparent;
  border: none;
  color: #64748b;
  cursor: pointer;
  position: relative;
  transition: all 0.15s ease;
}

.game-tab-btn.active {
  color: #ffffff;
  transform: translateY(-4px);
}

.game-tab-btn.active .tab-icon-wrap {
  background: linear-gradient(135deg, var(--accent-neon), #818cf8);
  color: #000;
  box-shadow: 0 0 15px var(--accent-neon);
}

.tab-icon-wrap {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 17px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.2s ease;
}

.game-tab-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

/* ================= 7. GAME READING & GUIDING LIGHT ================= */
.game-dialog-overlay {
  position: absolute;
  bottom: 74px;
  left: 12px;
  right: 12px;
  z-index: 45;
  pointer-events: auto;
  animation: slideUpDialogue 0.3s cubic-bezier(0.2, 0.8, 0.3, 1) forwards;
}

@keyframes slideUpDialogue {
  0% { transform: translateY(30px); opacity: 0; }
  100% { transform: translateY(0); opacity: 1; }
}

.game-dialog-box {
  background: rgba(8, 12, 28, 0.95);
  backdrop-filter: blur(25px);
  border: 2px solid var(--accent-neon);
  border-radius: 20px;
  padding: 12px 16px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.8), 0 0 25px rgba(56, 189, 248, 0.3);
  position: relative;
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.dialog-guide-symbol {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  flex-shrink: 0;
  background: radial-gradient(circle at center, rgba(216, 196, 157, .12), transparent 75%);
}

.dialog-guide-symbol img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.dialog-name-tag {
  font-family: 'Pridi', serif;
  font-size: 11px;
  font-weight: 700;
  color: var(--accent-gold);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 2px;
}

.dialog-text-body {
  font-size: 13px;
  color: #f8fafc;
  line-height: 1.5;
  font-weight: 500;
}

.dialog-continue-cursor {
  position: absolute;
  bottom: 8px;
  right: 14px;
  font-size: 10px;
  color: var(--accent-neon);
  font-weight: 800;
  animation: blinkCursor 0.9s infinite alternate;
}

@keyframes blinkCursor {
  0% { opacity: 0.2; transform: translateX(0); }
  100% { opacity: 1; transform: translateX(3px); }
}

/* ================= 8. GAME CLEAR / VICTORY BANNER ================= */
.game-victory-banner {
  position: absolute;
  top: 70px;
  left: 0;
  right: 0;
  z-index: 40;
  text-align: center;
  pointer-events: none;
  animation: dropVictory 0.45s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

@keyframes dropVictory {
  0% { transform: translateY(-60px) scale(0.8); opacity: 0; }
  100% { transform: translateY(0) scale(1); opacity: 1; }
}

/* Screen Shake Effect */
@keyframes screenShake {
  0%, 100% { transform: translate(0, 0); }
  20% { transform: translate(-4px, 3px); }
  40% { transform: translate(4px, -3px); }
  60% { transform: translate(-3px, 2px); }
  80% { transform: translate(3px, -1px); }
}

.screen-shake {
  animation: screenShake 0.35s cubic-bezier(0.36, 0.07, 0.19, 0.97) both;
}

/* Floating Combat Numbers */
@keyframes floatNumber {
  0% { transform: translateY(0) scale(0.7); opacity: 0; }
  25% { transform: translateY(-15px) scale(1.25); opacity: 1; }
  100% { transform: translateY(-50px) scale(1); opacity: 0; }
}

.combat-number-float {
  position: absolute;
  color: #fef08a;
  font-family: 'Cinzel', 'Pridi', serif;
  font-weight: 900;
  font-size: 20px;
  text-shadow: 0 0 10px rgba(245, 158, 11, 0.9), 0 2px 4px #000;
  pointer-events: none;
  z-index: 50;
  animation: floatNumber 1.1s cubic-bezier(0.2, 0.8, 0.3, 1) forwards;
}

/* TCG Holographic Shaders & Modals */
.tcg-holo-card {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  transform-style: preserve-3d;
  transition: transform 0.12s ease-out;
  box-shadow: 0 15px 35px -5px rgba(0, 0, 0, 0.8), 0 0 0 1.5px rgba(255, 255, 255, 0.25);
  background: #080a14;
}

.tcg-holo-glare {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(
    circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
    rgba(255, 255, 255, 0.85) 0%,
    rgba(244, 114, 182, 0.35) 20%,
    rgba(56, 189, 248, 0.3) 40%,
    rgba(250, 204, 21, 0.25) 60%,
    transparent 80%
  );
  mix-blend-mode: color-dodge;
  opacity: 0.8;
  z-index: 10;
}

.tcg-holo-rainbow {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(
    115deg,
    transparent 0%,
    rgba(255, 0, 128, 0.2) 25%,
    rgba(0, 255, 255, 0.25) 45%,
    rgba(255, 230, 0, 0.2) 65%,
    transparent 85%
  );
  background-size: 250% 250%;
  background-position: var(--foil-pos-x, 50%) var(--foil-pos-y, 50%);
  mix-blend-mode: screen;
  z-index: 8;
}

.tcg-badge-ur {
  background: linear-gradient(135deg, #ec4899, #8b5cf6, #3b82f6, #10b981, #f59e0b);
  background-size: 300% 300%;
  animation: urRainbowShift 4s ease infinite;
  color: #ffffff;
  font-weight: 900;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.8);
  box-shadow: 0 0 15px rgba(168, 85, 247, 0.6);
}

@keyframes urRainbowShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.tcg-badge-ssr {
  background: linear-gradient(135deg, #d4af37 0%, #fff2a8 50%, #aa7c11 100%);
  color: #0f172a;
  font-weight: 900;
  box-shadow: 0 0 15px rgba(212, 175, 55, 0.7);
}

/* Card Collection Binder Internal Scroll */
.binder-scroll-container {
  overflow-y: auto;
  overflow-x: hidden;
  max-height: 100%;
  padding-right: 4px;
}

/* ================= 9. AAA LUXURY GRIMOIRE BINDER & CARD SLEEVES ================= */
.binder-mastery-panel {
  background: linear-gradient(180deg, rgba(20, 24, 48, 0.92) 0%, rgba(8, 10, 22, 0.96) 100%);
  border: 1.5px solid rgba(245, 158, 11, 0.45);
  border-radius: 18px;
  padding: 8px 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.15);
  margin-bottom: 8px;
}

.binder-slot-recess {
  position: relative;
  border-radius: 18px;
  background: radial-gradient(circle at 50% 30%, #101428 0%, #05060d 100%);
  border: 1.5px solid rgba(255, 255, 255, 0.1);
  box-shadow: inset 0 4px 14px rgba(0, 0, 0, 0.9), 0 2px 8px rgba(0, 0, 0, 0.5);
  padding: 4px;
  transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.2s ease;
}

.binder-slot-recess:not(:disabled):hover,
.binder-slot-recess:not(:disabled):active {
  transform: translateY(-4px) scale(1.03);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.8), 0 0 20px rgba(245, 158, 11, 0.35);
}

/* UR Rainbow Prismatic Hologram */
.card-foil-ur-anim {
  position: relative;
  border: 2px solid transparent !important;
  background: linear-gradient(#080c1d, #080c1d) padding-box,
              linear-gradient(135deg, #ec4899, #8b5cf6, #38bdf8, #10b981, #f59e0b, #ec4899) border-box !important;
  background-size: 300% 300% !important;
  animation: urRainbowBorder 4s linear infinite;
  box-shadow: 0 0 20px rgba(168, 85, 247, 0.4), inset 0 0 15px rgba(56, 189, 248, 0.2);
}

@keyframes urRainbowBorder {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* SSR Molten Gold Metallic Relief */
.card-foil-ssr-gold {
  position: relative;
  border: 2px solid transparent !important;
  background: linear-gradient(#0c0f24, #080b18) padding-box,
              linear-gradient(135deg, #fffbeb 0%, #f59e0b 50%, #78350f 100%) border-box !important;
  box-shadow: 0 0 18px rgba(245, 158, 11, 0.45), inset 0 0 12px rgba(245, 158, 11, 0.15);
}

/* SR Amethyst Crystal */
.card-foil-sr-crystal {
  position: relative;
  border: 1.5px solid rgba(168, 85, 247, 0.5) !important;
  background: #090c1e;
  box-shadow: 0 0 12px rgba(147, 51, 234, 0.25);
}

/* Locked Card Sleeve */
.card-locked-sleeve {
  position: relative;
  background: radial-gradient(circle at 50% 40%, #0c0e1a 0%, #030408 100%);
  border: 1.5px dashed rgba(255, 255, 255, 0.18);
  opacity: 0.7;
}

.locked-padlock-gem {
  width: 38px;
  height: 38px;
  border-radius: 9999px;
  background: linear-gradient(135deg, #1e2440, #080a14);
  border: 1.5px solid #f59e0b;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 15px rgba(245, 158, 11, 0.4);
  animation: pulseLock 2.5s infinite alternate;
}

@keyframes pulseLock {
  0% { transform: scale(0.95); box-shadow: 0 0 10px rgba(245, 158, 11, 0.3); }
  100% { transform: scale(1.05); box-shadow: 0 0 20px rgba(245, 158, 11, 0.6); }
}

/* ================= 10. AAA RUNIC ALTAR SOCKETS (ARENA PLAYMAT) ================= */
.runic-slot {
  width: 96px;
  height: 148px;
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(14, 18, 38, 0.85) 0%, rgba(5, 7, 16, 0.95) 100%);
  border: 2px solid rgba(245, 158, 11, 0.35);
  box-shadow: inset 0 4px 18px rgba(0, 0, 0, 0.9), 0 4px 15px rgba(0, 0, 0, 0.6);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  transition: all 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
  cursor: pointer;
}

.runic-slot::after {
  content: '';
  position: absolute;
  inset: 5px;
  border-radius: 12px;
  border: 1px dashed rgba(56, 189, 248, 0.3);
  pointer-events: none;
}

.runic-slot.has-card {
  border-color: #f59e0b;
  box-shadow: 0 0 25px rgba(245, 158, 11, 0.4), inset 0 0 20px rgba(56, 189, 248, 0.25);
  transform: translateY(-2px);
}

.runic-slot.has-card::after {
  display: none;
}

/* ================= 11. AAA MOLTEN GOLD & PRISMATIC 3D BUTTONS ================= */
.btn-game-gold-aaa {
  background: linear-gradient(180deg, #fff7ed 0%, #fef08a 15%, #f59e0b 50%, #d97706 85%, #b45309 100%);
  color: #1a0f02;
  font-family: 'Pridi', serif;
  font-weight: 800;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.8);
  border: 1px solid #fef08a;
  border-radius: 18px;
  box-shadow: 0 6px 0 #78350f, 0 10px 25px rgba(245, 158, 11, 0.5), inset 0 2px 2px rgba(255, 255, 255, 0.6);
  transition: all 0.08s ease;
}

.btn-game-gold-aaa:active {
  transform: translateY(4px);
  box-shadow: 0 2px 0 #78350f, 0 4px 12px rgba(245, 158, 11, 0.4), inset 0 1px 2px rgba(0, 0, 0, 0.2);
}

.hidden {
  display: none !important;
}


/* ================= MYSTICMOO V2 INFORMATION ARCHITECTURE ================= */
.v2-hub-scene{justify-content:flex-start;gap:12px;overflow:visible;overscroll-behavior:auto;padding:18px 16px 24px}
.v2-hub-header{text-align:left;padding:4px 2px 0}
.v2-hub-header h1,.v2-hub-header h2{margin:8px 0 6px;color:#f8f3e7;font-family:inherit;font-size:clamp(28px,7vw,36px);font-weight:600;line-height:1.4}
.v2-hub-header p{margin:0;color:#b9c8c5;font-size:15px;line-height:1.75}
.v2-daily-card{display:grid;grid-template-columns:1fr auto;gap:8px 10px;padding:14px;border:1px solid rgba(216,196,157,.28);border-radius:18px;background:linear-gradient(145deg,rgba(29,50,49,.88),rgba(11,22,27,.92));box-shadow:0 12px 30px rgba(0,0,0,.24)}
.v2-daily-kicker,.v2-section-title{display:block;color:#dfcfa7;font-size:11px;font-weight:800;letter-spacing:.1em;text-transform:uppercase}
.v2-daily-card strong{display:block;margin-top:5px;color:#f4f0e6;font-size:15px;font-weight:600;line-height:1.55}
.v2-streak-pill{align-self:start;padding:6px 10px;border-radius:999px;background:rgba(216,196,157,.1);color:#ead7a5;font-size:12px;white-space:nowrap}
.v2-progress-track{grid-column:1/-1;height:5px;overflow:hidden;border-radius:999px;background:rgba(255,255,255,.08)}
.v2-progress-track i{display:block;width:0;height:100%;border-radius:inherit;background:linear-gradient(90deg,#b99b62,#f0dc9d);transition:width .35s ease}
.v2-primary-grid{display:grid;grid-template-columns:1.22fr .89fr .89fr;gap:8px}
.v2-path-card,.v2-service-card,.v2-collection-card,.v2-home-secondary button{appearance:none;border:1px solid rgba(188,213,205,.18);color:#eef5f1;cursor:pointer;background:linear-gradient(155deg,rgba(20,42,41,.92),rgba(8,20,26,.94));box-shadow:0 10px 24px rgba(0,0,0,.2)}
.v2-path-card{min-height:154px;border-radius:20px;padding:14px 11px;text-align:left;display:flex;flex-direction:column;gap:7px}
.v2-path-card--featured{border-color:rgba(222,196,137,.38);background:linear-gradient(155deg,rgba(49,61,50,.96),rgba(13,30,31,.96))}
.v2-path-icon,.v2-service-symbol{font-size:25px;color:#ead7a5}
.v2-path-card strong,.v2-service-card strong,.v2-collection-card strong,.v2-home-secondary strong{display:block;font-family:inherit;font-size:20px;font-weight:600;line-height:1.45}
.v2-path-card small,.v2-service-card small,.v2-collection-card small,.v2-home-secondary small{display:block;margin-top:4px;color:#aebfbb;font-size:14px;line-height:1.65}
.v2-path-card b,.v2-collection-card b{margin-top:auto;color:#e5cd93;font-size:13px;font-weight:700;line-height:1.5}
.v2-home-secondary{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.v2-home-secondary button{border-radius:16px;padding:11px;text-align:left}
.v2-home-secondary button>span{float:left;margin-right:8px;color:#dec58c;font-size:20px}
.v2-reflection-note{margin:2px 0 0;padding:0 4px;color:#8aa09c;font-size:12px;line-height:1.65;text-align:center}
.v2-service-list{display:flex;flex-direction:column;gap:8px}
.v2-service-card{border-radius:17px;padding:13px 14px;display:grid;grid-template-columns:40px 1fr auto;align-items:center;gap:10px;text-align:left}
.v2-service-card b{color:#dfc789;font-size:13px}
.v2-coming-section{margin-top:2px;padding-top:12px;border-top:1px solid rgba(255,255,255,.08)}
.v2-coming-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:7px;margin-top:8px}
.v2-coming-grid span{padding:13px 8px;border:1px dashed rgba(176,199,192,.16);border-radius:14px;color:#b6c4c1;text-align:center;font-size:14px;background:rgba(7,18,22,.48)}
.v2-coming-grid b{display:block;color:#bfae88;font-size:19px;margin-bottom:3px}
.v2-coming-grid small{display:block;color:#7f9490;font-size:11px;margin-top:3px}
.v2-collection-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:4px}
.v2-collection-card{min-height:205px;border-radius:22px;padding:18px 15px;display:flex;flex-direction:column;text-align:left;gap:8px}
.v2-collection-card>span{font-size:34px;color:#dec58e}
.v2-collection-card--gift{background:linear-gradient(155deg,rgba(54,56,42,.95),rgba(13,31,31,.96));border-color:rgba(222,196,137,.32)}
.v2-inline-action{width:100%;padding:14px 16px;border:1px solid rgba(215,193,144,.24);border-radius:14px;background:rgba(16,31,32,.72);color:#dfc789;cursor:pointer;font-size:14px;line-height:1.5}
.v2-account-quick-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:8px 0 10px}
.v2-account-quick-actions button{padding:10px;border:1px solid rgba(216,196,157,.22);border-radius:12px;background:rgba(19,38,38,.78);color:#ead7a5;font-weight:700;cursor:pointer}
.game-bottom-dock .game-tab-btn{flex:1;min-width:0;padding:4px 3px}
.game-bottom-dock .game-tab-label{font-size:14px;font-weight:700}
@media(max-width:380px){
  .v2-primary-grid{grid-template-columns:1fr 1fr}
  .v2-path-card--featured{grid-column:1/-1;min-height:112px}
  .v2-path-card{min-height:132px}
}

.v2-today-focus{padding:18px;border:1px solid rgba(222,196,137,.3);border-radius:20px;background:linear-gradient(150deg,rgba(47,58,48,.95),rgba(12,30,31,.96));box-shadow:0 14px 32px rgba(0,0,0,.22)}
.v2-today-focus-body{display:grid;grid-template-columns:48px 1fr;gap:12px;align-items:center;margin:10px 0 14px}
.v2-today-focus-icon{width:48px;height:48px;border-radius:15px;display:grid;place-items:center;background:rgba(230,211,171,.1);border:1px solid rgba(230,211,171,.28);color:#ead7a5;font-size:27px}
.v2-today-focus strong{display:block;color:#f6f1e7;font-size:21px;line-height:1.45}
.v2-today-focus p{margin:4px 0 0;color:#b9c8c5;font-size:14px;line-height:1.7}
.v2-today-primary-action{width:100%;padding:13px 16px;border:1px solid #e6d3ab;border-radius:12px;background:linear-gradient(120deg,#e6d3ab,#c7b084);color:#23302a;font-size:14px;font-weight:700;cursor:pointer}
.v2-today-checklist{display:flex;flex-direction:column;border:1px solid rgba(188,213,205,.15);border-radius:18px;overflow:hidden;background:rgba(9,23,27,.62)}
.v2-today-checklist>div{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:13px 15px;border-bottom:1px solid rgba(188,213,205,.1)}
.v2-today-checklist>div:last-child{border-bottom:0}
.v2-today-checklist span{display:flex;align-items:center;gap:10px}
.v2-today-checklist i{width:28px;height:28px;border-radius:9px;display:grid;place-items:center;background:rgba(255,255,255,.04);color:#d9c38f;font-style:normal}
.v2-today-checklist strong{font-size:14px;color:#edf4f0;font-weight:600}
.v2-today-checklist b{padding:5px 9px;border-radius:999px;background:rgba(255,255,255,.05);color:#9eb0ac;font-size:11px;white-space:nowrap}
.v2-today-checklist b.is-complete{background:rgba(124,170,143,.15);color:#b8d6c4}
.v2-today-links{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.v2-today-links button{padding:12px 14px;border:1px solid rgba(215,193,144,.2);border-radius:13px;background:rgba(16,31,32,.68);color:#dfc789;font-size:13px;font-weight:700;cursor:pointer}

/* Sanctuary meditation states */
.sanctuary-lotus-mark{display:grid;place-items:center;width:34px;height:34px;margin-bottom:6px;color:#e7d19a}
.sanctuary-lotus-mark .moonlit-icon{width:28px;height:28px}
.sanctuary-action-btn{gap:10px;transition:opacity .2s ease,filter .2s ease,transform .2s ease}
.sanctuary-action-icon{display:grid;place-items:center;width:22px;height:22px;flex:0 0 22px}
.sanctuary-action-icon .moonlit-icon{width:20px;height:20px}
.sanctuary-action-btn:disabled,.sanctuary-action-btn.is-meditating{cursor:not-allowed;opacity:.52;filter:saturate(.45) brightness(.82);box-shadow:none!important;transform:none!important}
.sanctuary-action-btn.is-meditating .sanctuary-action-icon{animation:sanctuaryLotusBreath 4s ease-in-out infinite}
@keyframes sanctuaryLotusBreath{0%,100%{transform:scale(.92);opacity:.65}50%{transform:scale(1.12);opacity:1}}

/* Secondary-page navigation: explicit return to its category hub. */
.scene-back-navigation{width:100%;display:flex;align-items:center;justify-content:flex-start;flex:none;margin:0 0 12px;position:relative;z-index:22}
.scene-back-button{display:inline-flex;align-items:center;gap:9px;min-height:44px;max-width:100%;padding:9px 13px;border:1px solid rgba(216,196,157,.36);border-radius:12px;background:rgba(20,42,41,.94);color:#e8d4a8;font-family:'Sarabun',sans-serif;font-size:14px;font-weight:600;line-height:1.4;cursor:pointer;box-shadow:0 3px 12px rgba(0,0,0,.12);text-align:left}
.scene-back-button svg{width:20px;height:20px;flex:0 0 20px}
.scene-back-button:hover{border-color:#e8d4a8;background:#27433d}
.scene-back-button:focus-visible{outline:2px solid #e8d4a8;outline-offset:3px}
@media(max-width:640px){.scene-back-navigation{margin-bottom:8px}.scene-back-button{font-size:14px}}

/* sanctuary.css */
/* Sanctuary visual system: quiet contrast, warm metal, generous breathing room. */
:root, [data-theme="midnight"] {
  --calm-bg:#101f20; --calm-panel:#17292a; --calm-ink:#f0eee4;
  --calm-muted:#a4bab4; --calm-gold:#dbc394; --calm-line:rgba(219,195,148,.2);
}
[data-theme="emerald"] { --calm-bg:#10281f; --calm-panel:#1b342a; --calm-ink:#edf3e6; --calm-muted:#aec5b5; --calm-gold:#d8cea3; --calm-line:#d8cea333; }
[data-theme="parchment"] { --calm-bg:#eee8db; --calm-panel:#f8f3e9; --calm-ink:#283e38; --calm-muted:#536b61; --calm-gold:#7c5e2e; --calm-line:#7c5e2e33; }
html, body { overflow:auto !important; background:var(--calm-bg); color:var(--calm-ink); }
body { background-image:radial-gradient(ellipse at 75% 5%,#a2b39412,transparent 55%); }
button,a { -webkit-tap-highlight-color:transparent; }
button:focus-visible,a:focus-visible,[tabindex]:focus-visible { outline:2px solid var(--calm-gold); outline-offset:5px; }
.game-root { width:100%; max-width:none; margin-inline:0; min-height:100dvh; height:auto; max-height:none; background:transparent; box-shadow:none; overflow:visible; }
#three-global-bg-container { opacity:.12; pointer-events:none; }
.game-top-bar { height:96px; flex-shrink:0; padding:20px 5%; background:transparent; box-shadow:none; border-bottom:1px solid var(--calm-line); gap:20px; }
.brand { display:flex; align-items:center; gap:12px; color:var(--calm-ink); text-decoration:none; margin-right:auto; font:28px 'Cormorant Garamond',serif; letter-spacing:1px; }
.brand-symbol { color:var(--calm-gold); font-size:42px; }
.brand small { display:block; font:8px 'Sarabun',sans-serif; letter-spacing:2.8px; margin-top:3px; color:var(--calm-muted); }
.player-avatar-frame { width:38px; height:38px; border:1px solid var(--calm-line); box-shadow:none; border-radius:50%; }
.player-avatar-frame img { border-radius:50%; }
.player-level-badge { background:var(--calm-gold); font-size:8px; border:0; box-shadow:none; }
.game-currency-pill { background:transparent; box-shadow:none; border:1px solid var(--calm-line); padding:8px 12px; }
.game-currency-add { background:var(--calm-gold); }
#theme-btn,#sound-btn { width:40px; height:40px; background:transparent; border:1px solid var(--calm-line); }
.game-stage-viewport { flex:none; overflow:visible; }
.game-scene { position:relative; inset:auto; display:none; padding:32px 5% 24px; min-height:660px; }
.game-scene.active { display:flex; }
.reading-intro { text-align:center; margin:4px 0 34px; }
.eyebrow { font-size:10px; letter-spacing:3px; color:var(--calm-gold); font-weight:500; }
.reading-intro h1 { font-family:'Pridi',serif; font-size:clamp(25px,3vw,37px); font-weight:400; margin:12px 0 9px; line-height:1.6; }
.reading-intro p { color:var(--calm-muted); font-size:14px; }
.reading-layout { display:grid; grid-template-columns:300px 1fr; gap:44px; width:100%; max-width:1100px; margin:0 auto; }
.ritual-note { padding:24px 0; }
.ritual-note h2 { font:400 30px/1.7 'Pridi',serif; margin:18px 0; }
.ritual-note>p { color:var(--calm-muted); font-size:14px; line-height:1.9; }
.ritual-divider { display:flex; align-items:center; gap:14px; color:var(--calm-gold); margin:23px 0; }
.ritual-divider:before,.ritual-divider:after { content:''; height:1px; background:var(--calm-line); flex:1; }
.ritual-note ol { list-style:none; margin:0; padding:0; }
.ritual-note li { font-size:13px; margin:18px 0; color:var(--calm-muted); }
.ritual-note li span { color:var(--calm-gold); font:16px 'Cormorant Garamond',serif; margin-right:13px; }
.gentle-note { display:flex; gap:12px; border-left:1px solid var(--calm-gold); padding:4px 0 4px 16px; margin:28px 0 22px; }
.gentle-note>span { font-size:24px; color:var(--calm-gold); }
.gentle-note p { font-size:12px; line-height:1.9; color:var(--calm-muted); }
.ritual-duration { font-size:11px; color:var(--calm-muted); }
.reading-panel { display:flex; flex-direction:column; padding:24px; border:1px solid var(--calm-line); border-radius:180px 180px 24px 24px / 45px 45px 24px 24px; background:radial-gradient(ellipse at 50% 10%,#bcc9950b,transparent 65%),var(--calm-panel); box-shadow:0 25px 70px #00000018; }
.reading-panel>div:first-child { justify-content:center; flex-direction:column; gap:10px; }
.reading-panel>div:first-child>div { color:var(--calm-gold); }
#arena-hint { background:transparent; border:0; color:var(--calm-muted); font-size:12px; font-weight:400; }
.arena-playmat { gap:16px; }
.playmat-table { min-height:230px; margin:0; border:0; border-radius:0; background:transparent; box-shadow:none; overflow:visible; }
.playmat-table:before { content:'✧'; position:absolute; top:5px; left:50%; transform:translateX(-50%); color:var(--calm-gold); font-size:23px; opacity:.6; }
.arena-slots-row { gap:18px; justify-content:center; padding:25px 0 0; }
.runic-slot { width:125px; height:177px; border:1px solid var(--calm-line); border-radius:60px 60px 10px 10px; background:linear-gradient(180deg,#d4c5a508,#0000000a); box-shadow:none; }
.runic-slot:after { inset:7px; border:1px solid var(--calm-line); border-radius:54px 54px 6px 6px; }
.runic-slot-tag { top:auto; bottom:-27px; background:transparent; border:0; font-size:10px; color:var(--calm-muted); font-weight:400; }
.slot-placeholder>span:first-child { font:36px 'Cormorant Garamond',serif; color:var(--calm-gold); }
.slot-placeholder>span:last-child { display:none; }
.runic-slot.has-card { background:var(--calm-bg); border-radius:12px; border-color:var(--calm-gold); box-shadow:0 6px 20px #0002; }
.runic-slot.has-card img { height:85px; border-color:var(--calm-line); }
.runic-slot.has-card>div>div:nth-last-child(2)>div { overflow:hidden; text-overflow:ellipsis; white-space:nowrap; width:100%; }
.runic-slot.has-card>div>div:nth-last-child(2)>div:last-child { font-family:'Sarabun',sans-serif; font-weight:400; }
.arena-playmat>div:nth-child(2) { order:3; padding:0 0 2px; }
.player-hand-dock { height:150px; padding-bottom:8px; margin-top:14px; }
.hand-card-item { width:88px; height:132px; margin-left:-14px; border:1px solid #bda678; border-radius:9px; box-shadow:0 8px 18px #0005; padding:0; background:var(--calm-panel); }
.hand-card-item:hover,.hand-card-item:active { transform:translateY(-14px) scale(1.04)!important; box-shadow:0 10px 24px #0006,0 0 0 1px var(--calm-gold); }
.hand-card-item .tcg-holo-rainbow,.hand-card-item .absolute.bottom-1 { display:none; }
.hand-card-item img { filter:saturate(.45); }
.btn-game-3d,.btn-game-gold-aaa { min-height:44px; font-family:'Sarabun',sans-serif; font-weight:600; letter-spacing:0; text-transform:none; border-radius:10px; text-shadow:none; transition:background .2s,transform .2s; }
.btn-game-gold,.btn-game-gold-aaa { background:linear-gradient(120deg,#e6d3ab,#c7b084); color:#23302a; border:1px solid #eadab7; box-shadow:0 4px 15px #0001; }
.btn-game-primary { background:transparent; border:1px solid var(--calm-line); color:var(--calm-ink); box-shadow:none; text-shadow:none; }
.btn-game-3d:hover { filter:brightness(1.08); }
.btn-game-3d:active,.btn-game-gold-aaa:active { transform:translateY(1px); box-shadow:none; }
.reading-footnote { text-align:center; color:var(--calm-muted); font-size:11px; line-height:1.8; padding:24px 0 0; }
.game-bottom-dock { position:sticky; bottom:0; height:82px; flex-shrink:0; width:100%; margin-top:auto; justify-content:center; gap:36px; background:var(--calm-bg); border-top:1px solid var(--calm-line); box-shadow:0 -8px 30px #0000000a; padding-bottom:env(safe-area-inset-bottom); }
.game-tab-btn { min-width:100px; padding:8px 18px; gap:5px; color:var(--calm-muted); }
.game-tab-btn.active { transform:none; color:var(--calm-gold); }
.game-tab-btn.active:before { content:''; position:absolute; top:-4px; width:28px; height:2px; background:var(--calm-gold); }
.tab-icon-wrap,.game-tab-btn.active .tab-icon-wrap { background:transparent; border:0; box-shadow:none; color:inherit; font-size:23px; height:26px; }
.game-tab-label { font-size:12px; font-weight:400; letter-spacing:0; }
:where(.game-scene:not(#scene-arena)) { width:min(100%,850px); margin:auto; gap:24px; }
.game-scene h2 { font-weight:400; }
.game-scene .text-amber-300,.game-top-bar .text-amber-300,.game-scene .text-sky-300,.game-scene .text-sky-400 { color:var(--calm-gold); }
.game-scene .text-slate-300,.game-scene .text-slate-400 { color:var(--calm-muted); }
.binder-mastery-panel { padding:20px; background:var(--calm-panel); border:1px solid var(--calm-line); box-shadow:none; }
.binder-slot-recess { box-shadow:none; }
.summon-portal-circle { box-shadow:0 0 65px #c8b48119; }
.summon-rune-ring { border:1px solid var(--calm-line); }
.game-dialog-overlay { position:fixed; bottom:96px; left:50%; right:auto; transform:translateX(-50%); width:min(640px,calc(100% - 28px)); animation:none; }
.game-dialog-box { background:var(--calm-panel); border:1px solid var(--calm-gold); box-shadow:0 16px 65px #0006; padding:22px; }
.dialog-text-body { color:var(--calm-ink); line-height:1.9; max-height:45dvh; overflow:auto; white-space:pre-line; user-select:text; }
.dialog-name-tag,.dialog-continue-cursor { color:var(--calm-gold); }
.dialog-guide-symbol { width:50px; height:50px; }
.tcg-holo-glare { opacity:.22; }
.tcg-holo-rainbow { opacity:.3; }
.screen-shake { animation:none; }
@media(min-width:1100px) { #binder-cards-grid { grid-template-columns:repeat(4,minmax(0,1fr)); } }
@media(max-width:900px) { .reading-layout { grid-template-columns:230px 1fr; gap:24px; } .ritual-note h2 { font-size:25px; }  .reading-panel { padding:20px 14px; } .game-bottom-dock { gap:12px; } }
@media(max-width:640px) {
  .game-top-bar { height:76px; padding:14px 18px; gap:10px; } .brand { font-size:22px; gap:7px; } .brand-symbol { font-size:31px; } .brand small { font-size:6px; letter-spacing:1.3px; }
  .game-currency-pill:first-child { display:none; } .game-currency-pill { padding:6px 9px; gap:4px; } #theme-btn,#sound-btn { width:36px; height:36px; } #karma-quick-add { display:none; }
  .game-scene { padding:24px 16px 16px; min-height:590px; } .reading-intro { margin:0 0 23px; } .reading-intro h1 { font-size:24px; margin:10px 0; } .reading-intro p { font-size:12px; } .eyebrow { font-size:8px; letter-spacing:2px; }
  .reading-layout { display:block; } .ritual-note { display:none; } .reading-panel { padding:20px 12px; } .runic-slot { width:26%; max-width:125px; height:146px; } .arena-slots-row { gap:12px; } .playmat-table { min-height:205px; }
  .runic-slot.has-card img { height:64px; } .player-hand-dock { height:138px; } .hand-card-item { width:73px; height:113px; margin-left:-17px; } .game-bottom-dock { gap:0; justify-content:space-around; height:76px; } .game-tab-btn { min-width:0; padding:8px; flex:1; } .game-tab-label { font-size:11px; }
  .reading-footnote { font-size:10px; padding-top:18px; } .game-dialog-box { padding:16px; gap:10px; } .dialog-guide-symbol { width:34px; height:34px; }
}
@media(prefers-reduced-motion:reduce) { *,*:before,*:after { animation:none!important; transition:none!important; scroll-behavior:auto!important; } }


/* Wide desktop canvas; mobile keeps its compact game layout and menu type size. */
.v2-hub-scene { gap:14px; }
.binder-mastery-badge { display:inline-flex; align-items:center; gap:4px; white-space:nowrap; flex-shrink:0; }
#scene-binder { gap:12px; padding-top:20px; }
#scene-binder > .binder-help { order:4; margin-top:8px; }
#scene-binder .binder-mastery-panel { padding:14px 16px; margin-bottom:8px; }
#scene-binder .faith-collection-note { margin:8px 0; padding:10px 14px; }
#scene-binder .lore-progress { margin:8px 0; padding:10px 14px; }
#scene-summon, #scene-oracle { gap:10px; padding-top:14px; }
#scene-summon .scene-back-navigation, #scene-oracle .scene-back-navigation, #scene-binder .scene-back-navigation, #scene-shop .scene-back-navigation, #scene-birth .scene-back-navigation, #scene-arena .scene-back-navigation { margin-bottom:2px; }
#scene-summon .collection-help { padding:12px 16px; font-size:14px; line-height:1.6; }
#scene-summon .collection-help h3 { font-size:16px; margin-bottom:4px; }
#scene-summon .collection-help .help-detail { font-size:13px; margin-top:4px; }
#scene-summon .summon-portal-circle { width:220px; height:235px; }
#summon-portal-trigger>div:last-child { width:156px; height:234px; }
#esiimsi-cylinder-wrap>div:first-child { width:144px; height:216px; }
#scene-oracle > div.flex-1 { margin:0; }
#scene-oracle .oracle-input-help { font-size:13px; line-height:1.55; }
#scene-oracle .oracle-input-help p { margin-top:2px; }
#scene-oracle #oracle-motion-btn { min-height:38px; padding:8px 16px; font-size:14px; }
#scene-arena { gap:10px; padding-top:12px; padding-bottom:12px; }
#scene-arena .reading-intro { margin:0 0 4px; }
#scene-arena .reading-intro h1 { font-size:clamp(22px,2.4vw,30px); margin:4px 0; }
#scene-arena .reading-intro p { font-size:14px; }
#scene-arena .reading-panel { padding:14px 18px; }
#scene-arena .arena-playmat { gap:10px; }
#scene-arena .playmat-table { min-height:172px; }
#scene-arena .arena-slots-row { padding:8px 0 0; }
#scene-arena .runic-slot { width:112px; height:158px; }
#scene-arena .player-hand-dock { height:120px; margin-top:2px; }
#scene-arena .hand-card-item { width:80px; height:120px; }
#scene-arena .ritual-note { padding:8px 0; }
#scene-arena .ritual-note h2 { font-size:24px; margin:10px 0; }
#scene-arena .ritual-divider { margin:14px 0; }
#scene-arena .ritual-note li { margin:10px 0; }
#scene-arena .gentle-note { margin:16px 0 12px; }
@media (min-width:1024px) {
  .game-root, .game-stage-viewport { width:100%; max-width:none; }
  .game-root .game-scene.v2-hub-scene {
    width:min(100%,1240px);
    max-width:1240px;
    margin-inline:auto;
    padding-left:clamp(28px,4vw,64px);
    padding-right:clamp(28px,4vw,64px);
  }
  #scene-home.game-scene.active {
    display:grid;
    grid-template-columns:1.15fr 0.85fr;
    gap:14px 20px;
    align-items:stretch;
  }
  #scene-home > .v2-hub-header,
  #scene-home > .v2-daily-card,
  #scene-home > .feed-home-entry,
  #scene-home > .v2-today-links,
  #scene-home > .v2-reflection-note {
    grid-column:1 / -1;
  }
  #scene-home > .v2-today-focus {
    display:flex;
    flex-direction:column;
    justify-content:space-between;
  }
  #scene-home > .v2-today-checklist {
    justify-content:space-evenly;
  }
  #scene-divination .v2-service-list {
    display:grid;
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:16px;
  }
  #scene-divination .v2-service-card {
    padding:16px 18px;
    align-items:flex-start;
  }
  #scene-collection.game-scene {
    width:min(100%,1120px);
    max-width:1120px;
  }
  #scene-collection .v2-collection-grid {
    gap:20px;
  }
  #scene-summon.game-scene.active {
    width:min(100%,1120px);
    max-width:1120px;
    display:grid;
    grid-template-columns:minmax(320px,380px) minmax(0,1fr);
    gap:10px 28px;
    align-items:start;
  }
  #scene-summon > .scene-back-navigation,
  #scene-summon > div.text-center {
    grid-column:1 / -1;
  }
  #scene-summon > .collection-help {
    grid-column:1;
    grid-row:3;
  }
  #scene-summon > details.gift-odds {
    grid-column:1;
    grid-row:4;
    margin:4px 0 0;
  }
  #scene-summon > div.flex-1 {
    grid-column:2;
    grid-row:3;
    margin:0;
  }
  #scene-summon > .summon-actions {
    grid-column:2;
    grid-row:4;
  }
  #scene-binder.game-scene {
    width:min(100%,1320px);
    max-width:1320px;
    padding-top:12px;
    gap:8px;
  }
  #scene-binder > div.pt-1 {
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:8px 16px;
    align-items:stretch;
    padding-top:0;
    padding-bottom:0;
  }
  #scene-binder .binder-mastery-panel,
  #scene-binder #binder-filters {
    grid-column:1 / -1;
    margin-bottom:0;
  }
  #scene-binder .faith-collection-note,
  #scene-binder .lore-progress {
    margin:0;
    display:flex;
    align-items:center;
  }
  #scene-binder #binder-filters {
    display:flex;
    flex-wrap:wrap;
    align-items:center;
    justify-content:space-between;
    gap:10px 16px;
  }
  #scene-binder .binder-filter-group--rarity {
    padding-top:0;
    border-top:0;
  }
  #scene-binder #binder-cards-grid {
    grid-template-columns:repeat(5,minmax(0,1fr));
    gap:20px 16px;
  }
  #scene-account.game-scene {
    width:min(100%,1080px);
    max-width:1080px;
    gap:18px;
  }
  .reading-layout {
    max-width:1360px;
    grid-template-columns:minmax(260px,290px) minmax(0,1fr);
    gap:clamp(28px,3vw,56px);
  }
  .game-bottom-dock { padding-inline:clamp(24px,4vw,96px); }
}
@media (max-width:640px) {
  .game-bottom-dock .game-tab-label { font-size:11px; }
  #scene-summon .summon-portal-circle { width:200px; height:215px; }
  #summon-portal-trigger>div:last-child, #esiimsi-cylinder-wrap>div:first-child { width:140px; height:210px; }
  #scene-binder .faith-collection-note, #scene-binder .lore-progress { font-size:13px; line-height:1.5; padding:8px 12px; margin:6px 0; }
  #scene-binder .binder-filter-btn { min-height:36px; padding:4px 10px; font-size:13px!important; }
}

/* artwork.css */
/* Moonlit Garden: a single illustrated world, from ritual to keepsake. */
.moonlit-icon { display:inline-block; width:20px; height:20px; vertical-align:middle; flex-shrink:0; }
.moonlit-inline { display:inline; }
.tab-icon-wrap .moonlit-icon { width:25px; height:25px; }
.game-root { isolation:isolate; }
.game-root:before { content:''; position:fixed; inset:0; background:linear-gradient(180deg,#102526b8,#102526ed),url('../assets/moonlit/moonlit-garden-fast.webp') center/cover; pointer-events:none; z-index:-1; }
#three-global-bg-container { opacity:.12; }
.reading-panel { background:linear-gradient(160deg,#1a3130eb,#122725f2); }
.hand-card-item img { filter:none; }
.tcg-holo-rainbow,.tcg-holo-glare { display:none!important; }
.card-foil-ur-anim,.card-foil-ssr-gold,.card-foil-sr-crystal { animation:none!important; background:#18302e!important; border-color:#a9977055!important; box-shadow:none!important; }
.tcg-badge-ur,.tcg-badge-ssr,#inspect-card-rarity { background:#d8c49d!important; color:#24352f!important; text-shadow:none!important; box-shadow:none!important; font-weight:500; }
#binder-cards-grid { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:22px 16px; padding:4px 2px 28px; }
.moonlit-collection-card { display:block; padding:0 0 12px; min-width:0; text-align:left; background:transparent; border:0; border-radius:10px; color:#eee8d8; transition:transform .2s; }
.moonlit-collection-card:not(:disabled):hover { transform:translateY(-4px); }
.moonlit-collection-card:focus-visible { outline:2px solid #d8c49d; outline-offset:5px; }
.collection-art { position:relative; aspect-ratio:2/3; overflow:hidden; border-radius:8px; background:#102526; border:1px solid #d8c49d45; box-shadow:0 8px 20px #0003; }
.collection-art img { width:100%; height:100%; object-fit:contain; }
.collection-rarity { position:absolute; right:8px; top:8px; background:#102526dc; border:1px solid #d8c49d60; color:#d8c49d; padding:2px 7px; border-radius:20px; font-size:9px; letter-spacing:1px; }
.collection-name { display:block; margin:10px 2px 3px; font-family:'Pridi',serif; font-size:14px; line-height:1.6; }
.collection-code { display:block; margin:0 2px 3px; color:#d8c49d; font:500 10px/1.4 'Sarabun',sans-serif; letter-spacing:.06em; }
.collection-caption { display:block; color:#97afa5; font-size:10px; margin:0 2px; line-height:1.6; }
.is-locked .collection-art img { opacity:.65; }
.collection-lock { position:absolute; bottom:8px; left:50%; transform:translateX(-50%); background:#102526e8; border-radius:20px; padding:4px 10px; white-space:nowrap; font-size:10px; color:#dfd2b8; }
.collection-lock .moonlit-icon { width:12px; height:12px; margin-right:3px; }
.binder-filter-btn { background:transparent!important; border:1px solid #d8c49d30!important; color:#aabfb1!important; box-shadow:none!important; font-weight:400!important; }
.binder-filter-btn.active { background:#d8c49d!important; color:#24352f!important; }
.summon-portal-circle { background:transparent!important; box-shadow:none!important; }
.summon-rune-ring { opacity:.3; animation-duration:90s!important; }
#summon-portal-trigger>div:last-child,#esiimsi-cylinder-wrap>div:first-child { width:156px; height:234px; border:1px solid #c8b48155; border-radius:78px 78px 12px 12px; background:#102526; box-shadow:0 15px 50px #0003; }
#esiimsi-cylinder-wrap>div:first-child { width:144px; height:216px; }
#summon-portal-trigger img,#esiimsi-cylinder-wrap img { display:block; width:100%; height:100%; object-fit:cover; }
#esiimsi-cylinder-wrap .bg-gradient-to-t { display:none; }
#esiimsi-ejected-stick { background:#d8c49d; border-color:#f1e6ca; box-shadow:0 4px 18px #0003; }
#holo-inspect-modal { overflow-y:auto; background:#091c1dec; padding:26px 16px; }
#holo-inspect-modal>.relative { margin:auto; }
#holo-inspect-modal .tcg-card-container { width:min(290px,66vw); height:auto; margin:8px 0; }
#inspect-holo-card { padding:0; border:1px solid #c8b48155; border-radius:10px; background:#102526; overflow:hidden; box-shadow:0 16px 40px #0004; gap:0; }
#inspect-holo-card>div:first-of-type:not(.tcg-holo-rainbow),#inspect-holo-card>div:last-child { display:none; }
#inspect-holo-card>div:nth-child(3) { display:none; }
#inspect-holo-card>div:nth-child(4) { height:auto; aspect-ratio:2/3; border:0; margin:0; border-radius:0; }
#inspect-card-img { object-fit:contain; }
#inspect-card-img.is-pending { opacity:0; }
.inspect-art-loading { position:absolute; inset:0; z-index:2; display:flex; flex-direction:column; align-items:center; justify-content:center; gap:9px; background:radial-gradient(circle at 50% 43%,#203b38,#0c181b 72%); color:#d8c49d; font:500 13px/1.5 'Sarabun',sans-serif; }
.inspect-art-loading[hidden] { display:none; }
.inspect-art-loading span:first-child { font-size:29px; animation:inspect-art-pulse 1.8s ease-in-out infinite; }
@keyframes inspect-art-pulse { 50% { opacity:.35; transform:scale(.88); } }
@media(prefers-reduced-motion:reduce) { .inspect-art-loading span:first-child { animation:none; } }
#inspect-holo-card>div:nth-child(5) { border:0; border-top:1px solid #c8b48140; border-radius:0; background:#18302e; padding:14px; }
#inspect-card-desc { font-size:12px; line-height:1.7; color:#c0cec1; }
#inspect-card-title { font-size:18px; font-weight:400; color:#eee8d8; padding:0 16px; }
#inspect-card-serial { color:#d8c49d!important; font:500 9px/1.3 'Sarabun',sans-serif; letter-spacing:.04em; }
#inspect-card-type { font-size:9px; letter-spacing:2px; color:#bba984; }
#holo-inspect-modal .text-slate-400.mt-2 { display:none; }
#gacha-multi-modal { overflow-y:auto; background:#102526f5; }
#gacha-multi-grid img { object-fit:contain!important; height:140px!important; }
@media(max-width:640px) {
 #binder-cards-grid { grid-template-columns:repeat(2,minmax(0,1fr)); gap:18px 14px; }
 .collection-name { font-size:13px; }
 #holo-inspect-modal .tcg-card-container { width:min(260px,63vw); }
 #summon-portal-trigger>div:last-child,#esiimsi-cylinder-wrap>div:first-child { width:148px; height:222px; }
}
@media(max-height:740px) and (min-width:641px) { #holo-inspect-modal .tcg-card-container { width:230px; } }
.runic-slot.has-card { border-radius:8px; overflow:visible; border-color:#c8b48180; padding:0; background:#102526; }
.runic-slot.has-card .deployed-art { width:100%; height:100%; object-fit:contain; border-radius:8px; margin:0; border:0; }
.runic-slot.has-card .deployed-caption { position:absolute; inset:auto 0 0; width:100%; padding:6px 2px; font:11px 'Cormorant Garamond',serif; color:#eee8d8; background:#102526e0; border:0; border-radius:0 0 8px 8px; cursor:pointer; }
.deployed-caption span { display:block; font:8px 'Sarabun',sans-serif; color:#b8c7b8; margin-top:2px; }
#sanctuary-breathing-orb { background:radial-gradient(circle,#d8c49d60,#81a49240 50%,#50796810 72%); opacity:.8; filter:blur(5px); border:1px solid #d8c49d40; }
#gacha-multi-grid { grid-template-columns:repeat(5,minmax(0,1fr)); gap:12px; width:min(100%,850px); }
#gacha-multi-grid>.tcg-holo-card { background:#18302e; border-color:#c8b48150; gap:8px; padding:8px; color:#eee8d8; }
#gacha-multi-grid .bg-purple-700 { background:#bca77f; color:#102526; }
#gacha-multi-grid>button>div:nth-child(2)>span:first-child { display:none; }
@media(max-width:640px) { #gacha-multi-grid { grid-template-columns:repeat(2,minmax(0,1fr)); } }
.summon-portal-circle { width:240px; height:255px; flex-shrink:0; }
.summon-rune-ring { inset:8px; }
.slot-symbol { font-family:serif; font-size:38px; font-weight:400; color:#c8b481; opacity:.85; }
#scene-summon>div.flex-1 { gap:15px; }
@media(max-width:640px) { .summon-portal-circle { width:215px; height:230px; } }
#inspect-card-skill,#wallpaper-modal h3 { color:#d8c49d; font-weight:400; }
#wallpaper-modal { background:#091c1dec; }
#wallpaper-modal img { object-fit:contain; }
#wallpaper-modal .w-56.h-96 { height:auto; aspect-ratio:9/16; border:1px solid #c8b48170; box-shadow:none; }
.wallpaper-save-help { max-width:340px; margin:10px 12px 0; color:#b9cabe; font:400 14px/1.7 'Sarabun',sans-serif; text-align:center; }
#quests-list>div { background:#17302cd9; border-color:#d8c49d25; }
#quests-list .text-amber-400,#quests-list .text-amber-300 { color:#d8c49d; }
.moonlit-collection-card { align-self:start; }
#binder-mastery-bar { background:linear-gradient(90deg,#819d86,#d8c49d)!important; box-shadow:none; }
#gacha-multi-modal h3 { color:#eee8d8; font-size:20px; font-weight:400; }
#gacha-multi-modal>div:first-child>span { color:#d8c49d; font-size:10px; letter-spacing:2px; }
#gacha-multi-grid img { height:auto!important; aspect-ratio:2/3; border:0; }
#gacha-multi-grid>button>div:last-child>div:first-child { font-size:12px; font-weight:400; line-height:1.6; }
#gacha-multi-grid>button>div:last-child>div:last-child { display:none; }

.moonlit-collection-card:disabled { cursor:default; transform:none; }

/* Locked album entries are inert, including touch highlight and legacy effects. */
.moonlit-collection-card:disabled, .moonlit-collection-card:disabled:hover, .moonlit-collection-card:disabled:active { pointer-events:none; transform:none; box-shadow:none; transition:none; animation:none; -webkit-tap-highlight-color:transparent; }

/* readability.css */
/* Readable Thai typography and one quiet profile treatment. */
body { font-family:'Sarabun',sans-serif; font-size:16px; line-height:1.7; }
.game-top-bar { height:auto; min-height:100px; flex-wrap:wrap; }
.game-top-bar>.player-profile { display:flex; align-items:center; gap:12px; padding:10px 14px; border:1px solid var(--calm-line); border-radius:14px; background:#18302d80; }
.profile-portrait { width:44px; height:44px; object-fit:cover; border-radius:50%; border:1px solid #d8c49d60; }
.profile-details { min-width:0; }
.profile-heading { display:flex; align-items:center; gap:7px; color:#e9e5d7; font:400 15px/1.6 'Sarabun',sans-serif; }
.profile-heading .moonlit-icon { width:17px; height:17px; color:#c8b481; }
.profile-level { display:flex; gap:5px; align-items:center; color:#d8c49d; font-size:13px; margin:3px 0 7px; }
.profile-progress-label { color:#adc1b5; margin-left:10px; }
.profile-track { height:4px; border-radius:4px; background:#ffffff10; overflow:hidden; }
#exp-bar { height:100%; border-radius:4px; background:linear-gradient(90deg,#749a83,#d8c49d); box-shadow:none; }
.game-scene :is(.text-xs,.text-sm),.game-dialog-box .text-xs { font-size:16px; line-height:1.7; }
:is(.game-scene,#holo-inspect-modal,#gacha-multi-modal,#wallpaper-modal) [class*="text-["] { font-size:14px; line-height:1.65; }
.game-scene h2 { font-size:26px; line-height:1.6; }
.reading-intro p,.ritual-note>p,.ritual-note li,.gentle-note p { font-size:16px; line-height:1.9; }
.eyebrow,.ritual-duration,.reading-footnote { font-size:13px; }
#arena-hint { font-size:15px; line-height:1.7; }
.game-tab-label { font-size:14px; }
.game-tab-btn { min-height:60px; }
#sound-btn { width:44px; height:44px; }
#player-karma { font-size:15px; }
.collection-help { color:#b9cabe; padding:18px 20px; border:1px solid #d8c49d30; border-radius:14px; background:#17302dcc; font-size:16px; line-height:1.8; }
.collection-help h3 { color:#e9e5d7; font-size:18px; font-weight:500; margin-bottom:6px; }
.collection-help .help-detail { font-size:14px; margin-top:8px; color:#b4c5b8; }
.binder-help { margin:0; }
.collection-name { font:400 17px/1.6 'Sarabun',sans-serif; }
.collection-caption { font-size:14px; line-height:1.7; }
.collection-rarity { font-size:12px; }
.collection-lock { font-size:13px; padding:6px 9px; }
.collection-lock .moonlit-icon { width:14px; height:14px; }
.is-locked .collection-art img { opacity:.36; filter:saturate(.35); }
#binder-filters { display:grid; gap:10px; width:100%; overflow:visible; }
.binder-filter-group { display:flex; flex-wrap:wrap; align-items:center; gap:8px; min-width:0; }
.binder-filter-group--rarity { padding-top:10px; border-top:1px solid #d8c49d25; }
.binder-filter-btn { min-height:44px; flex-shrink:0; white-space:nowrap; font-size:15px!important; }
.inspect-ownership { color:#b7c9b9; font-size:14px; margin:8px 20px; }
#inspect-card-title { font:400 20px/1.6 'Pridi',serif; }
#inspect-card-skill { font-size:16px; line-height:1.7; }
#inspect-card-desc { font-size:16px; line-height:1.8; display:block; -webkit-line-clamp:unset; }
#holo-inspect-modal .tcg-card-container { width:min(320px,85vw); }
#holo-inspect-modal { justify-content:flex-start; }
#inspect-make-wallpaper-btn,#wallpaper-download-link { font-size:16px; }
.dialog-text-body { font-size:17px; line-height:1.9; }
.dialog-name-tag { font-size:15px; }
.runic-slot-tag { font-size:12px; white-space:nowrap; }
.runic-slot.has-card .deployed-caption { font:14px/1.4 'Cormorant Garamond',serif; padding:5px 2px; }
.deployed-caption span { font:12px/1.6 'Sarabun',sans-serif; }
.inspect-slot-btn { min-height:44px; }
#summon-1x-btn,#summon-10x-btn { font-size:16px; padding:14px 10px; }
#quests-list h4 { font-size:16px; }
#quests-list>div { gap:12px; padding:14px; }
#quests-list>div>span { white-space:nowrap; }
#gacha-multi-grid>button>div:last-child>div:first-child { font-size:16px; }
#toast { font-size:15px; line-height:1.6; }
@media(max-width:900px) {
 .game-top-bar>.player-profile { order:3; width:100%; }
 .profile-details { flex:1; }
 .game-top-bar { gap:12px; }
}
@media(max-width:640px) {
 .game-top-bar { padding:14px 16px; min-height:0; }
 .brand { font-size:24px; }
 .brand small { font-size:7px; }
 .game-top-bar>.player-profile { padding:10px 12px; }
 .profile-heading { font-size:16px; }
 .profile-level { font-size:14px; }
 .profile-progress-label { font-size:13px; }
 .game-currency-pill { padding:6px 8px; }
 .reading-intro h1 { font-size:26px; }
 .reading-intro p { font-size:16px; }
 .eyebrow { font-size:11px; letter-spacing:1.6px; }
 .reading-panel { padding:24px 10px; }
 .reading-panel>div:first-child>div>span:last-child { font-size:12px; letter-spacing:1px; }
 .arena-slots-row { gap:10px; }
 .runic-slot { width:29%; height:164px; }
 .runic-slot-tag { font-size:10px; }
 .collection-name { font-size:16px; }
 .collection-caption { font-size:14px; }
 .collection-lock { font-size:12px; }
 .reading-footnote { font-size:14px; }
 .game-bottom-dock { height:86px; }
 .game-tab-btn { padding:8px 3px; }
 .game-tab-label { font-size:13px; }
 .game-bottom-dock { gap:0; padding-inline:4px; }
 .game-tab-btn { min-width:0; flex:1; padding:7px 1px; }
 .game-tab-label { font-size:11px; line-height:1.2; white-space:nowrap; letter-spacing:-.25px; }
 .tab-icon-wrap,.game-tab-btn.active .tab-icon-wrap { font-size:20px; height:24px; }
 .game-dialog-overlay { bottom:100px; }
 .collection-help { padding:16px; }
 #holo-inspect-modal .tcg-card-container { width:min(300px,80vw); }
 #scene-summon .summon-actions { grid-template-columns:minmax(0,1fr); }
 #summon-1x-btn,#summon-10x-btn { min-width:0; max-width:none; }
 .binder-filter-group--rarity { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); }
 .binder-filter-group--rarity .binder-filter-btn { width:100%; text-align:center; }
 #quests-list>div { align-items:flex-start; }
}
@media(max-width:370px) { .brand small { display:none; } .brand { font-size:22px; } .profile-progress-label { font-size:12px; margin-left:4px; } }

.game-top-bar>.player-profile { display:flex; }

.player-hand-dock.is-shuffling { pointer-events:none; }
#arena-deal-btn:disabled,#arena-clear-btn:disabled { opacity:.7; cursor:wait; }
#esiimsi-cylinder-wrap { transform-origin:50% 85%; touch-action:manipulation; }
#esiimsi-cylinder-wrap[aria-disabled="true"] { pointer-events:none; }
#oracle-shake-btn:disabled { cursor:wait; opacity:.8; }
.oracle-moving-sticks { position:absolute; top:29%; left:40%; width:25%; height:24%; pointer-events:none; }
.oracle-loose-stick { position:absolute; width:5px; height:100%; left:15%; border-radius:3px; background:linear-gradient(90deg,#a78750,#e6d3a1,#b89860); transform-origin:50% 100%; opacity:0; box-shadow:1px 1px 3px #0004; }
.oracle-loose-stick:nth-child(2) { left:45%; }
.oracle-loose-stick:nth-child(3) { left:75%; }
#esiimsi-ejected-stick { top:3%; left:50%; width:42px; height:135px; transform:translateX(-50%); background:linear-gradient(90deg,#c2a46f,#eee0b8,#c2a46f); color:#283e38; border:1px solid #e8d9b3; border-radius:15px 15px 6px 6px; box-shadow:0 8px 24px #0005; }
#ejected-stick-num { font-size:26px; }
#esiimsi-progress-fill { transition:width .7s ease; background:linear-gradient(90deg,#749a83,#d8c49d); }
#esiimsi-result-modal { background:#091c1dec; overflow-y:auto; }
#esiimsi-result-modal>div { background:#18302e; border-color:#d8c49d60; box-shadow:0 15px 50px #0005; margin:auto; }
#esiimsi-result-modal h3 { color:#eee8d8; font-size:24px; font-weight:400; }
#esiimsi-result-poem { font-family:'Sarabun',sans-serif; font-size:17px; line-height:1.9; background:#102526; color:#e5deca; border-color:#d8c49d30; font-style:normal; }
#esiimsi-result-grade { background:#d8c49d; color:#283e38; }
#esiimsi-result-modal [class*="text-["],#esiimsi-result-modal .text-xs { font-size:14px; }
.oracle-input-help { text-align:center; color:#b9cabe; font-size:14px; line-height:1.8; }
.oracle-input-help p { margin-top:8px; }
#oracle-motion-btn { padding:12px 20px; font-size:16px; }
#oracle-motion-btn[aria-pressed="true"] { background:#d8c49d; color:#18302e; }
#oracle-shake-btn { touch-action:manipulation; user-select:none; }
#esiimsi-cylinder-wrap { user-select:none; }

#esiimsi-result-modal .text-sky-400,#esiimsi-result-nums { color:#d8c49d; }
#esiimsi-result-modal .bg-slate-900 { background:#102526; }

#summon-10x-btn:disabled { opacity:.45; cursor:not-allowed; }
#first-gift-note { color:#e4d1aa; font-size:17px; }
#karma-badge { cursor:default; }

.profile-portrait { width:48px; height:48px; flex-shrink:0; border:0; box-shadow:0 3px 12px #0002; }
.profile-heading { letter-spacing:0; font-weight:400; }
/* Header alignment: consistent control boxes, centered glyphs and stable columns. */
.game-top-bar { display:grid; grid-template-columns:minmax(190px,1fr) auto auto; align-items:center; column-gap:20px; row-gap:14px; }
.game-top-bar .brand { margin-right:0; min-width:0; }
.game-top-bar>.player-profile { width:auto; min-height:80px; box-sizing:border-box; margin:0; padding:12px 14px; gap:12px; }
.profile-heading { line-height:24px; }
#player-rank-icon { display:flex; align-items:center; justify-content:center; flex:0 0 18px; }
.profile-level { line-height:20px; margin:2px 0 8px; flex-wrap:wrap; }
.profile-track { margin:0; }
.header-controls { display:flex; align-items:center; justify-content:flex-end; gap:10px; }
.header-controls .game-currency-pill { display:flex; align-items:center; justify-content:center; gap:7px; height:44px; min-height:44px; box-sizing:border-box; padding:0 13px; border-radius:12px; white-space:nowrap; line-height:1; }
.header-controls .game-currency-pill>span { display:inline-flex; align-items:center; justify-content:center; line-height:1; }
.header-controls .moonlit-inline,#sound-icon { display:inline-flex; align-items:center; justify-content:center; line-height:1; }
.header-controls .moonlit-icon { display:block; width:19px; height:19px; vertical-align:initial; }
.header-controls #sound-btn { display:flex; align-items:center; justify-content:center; width:44px; height:44px; min-width:44px; padding:0; margin:0; border-radius:12px; }
#player-streak,#player-karma { font-variant-numeric:tabular-nums; line-height:1; }
@media(max-width:1100px) {
 .game-top-bar { grid-template-columns:minmax(0,1fr) auto; }
 .game-top-bar>.player-profile { grid-column:1/-1; grid-row:2; width:100%; }
 .game-top-bar .header-controls { grid-column:2; grid-row:1; }
 .profile-details { flex:1; }
}
@media(max-width:640px) {
 .game-top-bar { gap:12px 10px; }
 .header-controls { gap:8px; }
 .header-controls .game-currency-pill:first-child { display:none; }
 .header-controls .game-currency-pill { padding:0 10px; }
 .game-top-bar>.player-profile { padding:12px; }
}
.header-controls #music-btn { width:44px; height:44px; min-width:44px; display:flex; align-items:center; justify-content:center; padding:0; border:1px solid var(--calm-line); border-radius:12px; background:transparent; color:var(--calm-muted); }
.header-controls #music-btn.music-enabled { color:var(--calm-gold); background:#d8c49d0b; }
@media(max-width:420px) { .header-controls { gap:6px; } .game-top-bar { column-gap:8px; } .game-top-bar .brand { font-size:21px; gap:6px; } .game-top-bar .brand small { font-size:6px; letter-spacing:1px; } .header-controls .game-currency-pill { padding:0 7px; } }
@media(max-width:360px) { .game-top-bar .brand-symbol { display:none; } #player-karma { font-size:13px; } }

@media(max-width:600px) { .account-auth { align-items:stretch; } .account-auth #auth-open { width:100%; min-height:54px; font-size:17px; } }

#inspect-make-wallpaper-btn:disabled { opacity:.55; cursor:not-allowed; background:#253c35; border-color:#d8c49d35; color:#b9cabe; box-shadow:none; transform:none; }
.faith-collection-note { margin:18px 0; padding:16px; border-left:2px solid #d8c49d70; background:#17302c90; color:#b9cabe; font-size:14px; line-height:1.8; }
#inspect-card-type { font-family:'Sarabun',sans-serif; letter-spacing:.5px; }

/* Explicit action container: later gift sections must not affect mobile layout. */
#scene-summon .summon-actions { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; width:100%; max-width:520px; margin-inline:auto; padding-bottom:8px; position:relative; z-index:20; }
#scene-summon .summon-actions button { width:100%; min-width:0; max-width:none; white-space:normal; line-height:1.6; }
@media(max-width:640px) {
 #scene-summon .summon-actions { grid-template-columns:minmax(0,1fr); }
 #scene-summon .summon-portal-circle { max-width:100%; }
}

/* Multi-pull results: keep the whole card name readable at phone widths. */
#gacha-multi-modal { overflow-y:auto; justify-content:flex-start; gap:12px; }
#gacha-multi-grid { grid-template-columns:repeat(5,minmax(0,1fr)); gap:12px; width:min(100%,850px); flex:0 0 auto; }
#gacha-multi-grid>.gacha-result-card { min-width:0; min-height:184px; gap:8px; padding:8px; }
#gacha-multi-grid>.gacha-result-card img { width:100%; height:clamp(92px,18vw,132px)!important; aspect-ratio:2/3; object-fit:contain!important; background:#102526; }
#gacha-multi-grid>.gacha-result-card>div:nth-child(2) { font-size:10px; }
#gacha-multi-grid .gacha-result-name { display:-webkit-box; width:100%; min-height:2.6em; overflow:hidden; white-space:normal; overflow-wrap:anywhere; -webkit-box-orient:vertical; -webkit-line-clamp:2; font-size:13px; font-weight:600; line-height:1.3; }
@media(max-width:640px) { #gacha-multi-grid { grid-template-columns:repeat(3,minmax(0,1fr)); gap:10px; } }
@media(max-width:380px) { #gacha-multi-grid { grid-template-columns:repeat(2,minmax(0,1fr)); } }

/* Keep the complete tarot illustration visible; the label sits beneath the art. */
.runic-slot.has-card { width:min(29%,135px); height:auto; min-height:0; padding:0; overflow:visible; align-items:stretch; justify-content:flex-start; border-radius:12px; }
.runic-slot.has-card .deployed-art { display:block; flex:none; width:100%; height:auto; aspect-ratio:2 / 3; object-fit:contain; margin:0; border:0; border-radius:10px 10px 0 0; background:#102526; }
.runic-slot.has-card .deployed-caption { position:static; inset:auto; display:flex; flex-direction:column; align-items:center; justify-content:center; flex:none; width:100%; min-height:42px; padding:3px 2px; border-radius:0 0 10px 10px; background:#102526; }

.birth-reflection { margin:12px 0 16px; border:1px solid #d8c49d48; border-radius:14px; background:linear-gradient(120deg,#1b3531e8,#172b2ae8); overflow:hidden; }
.birth-reflection>summary { display:flex; align-items:center; gap:12px; min-height:60px; padding:10px 15px; list-style:none; cursor:pointer; color:#e7e4d8; }
.birth-reflection>summary::-webkit-details-marker { display:none; }
.birth-reflection>summary::after { content:'⌄'; margin-left:auto; color:#d8c49d; font-size:20px; transition:transform .2s ease; }
.birth-reflection[open]>summary::after { transform:rotate(180deg); }
.birth-reflection-star { display:grid; place-items:center; flex:none; width:34px; height:34px; border:1px solid #d8c49d55; border-radius:50%; color:#dfc58d; font-size:19px; }
.birth-reflection>summary strong,.birth-reflection>summary small { display:block; }
.birth-reflection>summary strong { font-size:16px; font-weight:600; }
.birth-reflection>summary small { color:#aec1b5; font-size:13px; margin-top:2px; }
.birth-reflection-form { padding:2px 16px 14px; }
.birth-reflection-form label { display:block; color:#e0d6bb; font-size:14px; margin-bottom:5px; }
.birth-reflection-controls { display:grid; grid-template-columns:minmax(0,1fr) auto; gap:10px; align-items:stretch; }
.birth-reflection-controls input { min-width:0; min-height:46px; padding:8px 12px; color:#e9e5d7; color-scheme:dark; border:1px solid #d8c49d55; border-radius:10px; background:#0e211f; font:16px 'Sarabun',sans-serif; }
.birth-reflection-controls button { min-height:46px; padding:8px 16px; font:500 15px/1.4 'Sarabun',sans-serif; white-space:nowrap; }
.birth-reflection-controls button:disabled { opacity:.65; cursor:wait; }
.birth-reflection-note { margin:7px 0 0; color:#aebfb4; font-size:13px; line-height:1.6; }
.birth-reflection-result { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px; padding:0 14px 14px; }
.birth-reflection-result[hidden] { display:none; }
.birth-reading-header { grid-column:1/-1; padding:12px 14px; border:1px solid #d8c49d30; border-radius:10px; background:#102321; }
.birth-reading-header span { color:#dfc58d; font-size:14px; font-weight:600; }
.birth-reading-header p { margin:3px 0 0; color:#b8c9bd; font-size:14px; }
.birth-reading-section { min-width:0; padding:12px; border:1px solid #d8c49d28; border-radius:10px; background:#102321a8; }
.birth-reading-label { color:#d8c49d; font:600 11px/1.5 'Cinzel','Sarabun',sans-serif; letter-spacing:.8px; text-transform:uppercase; }
.birth-reading-section h4 { margin:4px 0 5px; color:#e9e5d7; font-size:15px; font-weight:600; line-height:1.5; }
.birth-reading-section p { margin:0; color:#bac9bf; font-size:14px; line-height:1.75; }
.birth-reading-disclaimer { grid-column:1/-1; margin:0; padding:0 3px; color:#91aaa0; font-size:12px; line-height:1.6; }
.birth-profile-form { display:grid; gap:10px; max-width:720px; }
.birth-profile-form>label:not(.birth-profile-consent) { color:#e0d6bb; font-size:14px; }
.birth-profile-form>input[type="date"] { width:100%; min-height:46px; padding:8px 12px; color:#e9e5d7; color-scheme:dark; border:1px solid #d8c49d55; border-radius:10px; background:#0e211f; font:16px 'Sarabun',sans-serif; }
.birth-profile-consent { display:flex; align-items:flex-start; gap:10px; color:#bac9bf; font-size:14px; line-height:1.65; }
.birth-profile-consent[hidden],.birth-profile-actions button[hidden] { display:none; }
.birth-profile-consent input { flex:none; width:18px; height:18px; margin:3px 0 0; accent-color:#d8c49d; }
.birth-profile-status { margin:0; color:#91aaa0; font-size:13px; line-height:1.6; }
.birth-profile-actions { display:flex; flex-wrap:wrap; gap:9px; }
.birth-profile-actions button { min-height:44px; padding:8px 15px; font:500 15px/1.4 'Sarabun',sans-serif; }
.birth-profile-actions button:disabled { opacity:.65; cursor:wait; }
.birth-reading-scene { align-content:start; }
.birth-reading-scene .account-heading { text-align:center; max-width:760px; margin:20px auto 0; }
.birth-reading-scene>.birth-profile-status { text-align:center; }
.birth-reading-scene .birth-reflection-result { width:min(100%,760px); margin:0 auto; }
.birth-reading-scene>#birth-profile-open-account { justify-self:center; min-height:44px; margin:8px auto; }
.birth-profile-form { width:min(100%,760px); margin:12px auto 0; padding:16px; border:1px solid #d8c49d35; border-radius:14px; background:#122724c9; }
#birth-profile { display:grid; gap:10px; width:min(100%,760px); margin:16px auto; }
#birth-profile .birth-profile-form { width:100%; margin:0; padding:0; border:0; background:none; }
#birth-profile .birth-profile-actions { align-items:center; }
#birth-profile .birth-profile-actions button { min-width:150px; }
#birth-onboarding-dialog,#birth-preview-onboarding-dialog { width:min(92vw,520px); max-height:min(90dvh,760px); overflow:auto; padding:clamp(20px,5vw,32px); border:1px solid #d8c49d77; border-radius:20px; color:#e9e5d7; background:radial-gradient(ellipse at 50% 0%,#d8c49d14,transparent 60%),#122724; box-shadow:0 28px 100px #000b; }
#birth-onboarding-dialog::backdrop,#birth-preview-onboarding-dialog::backdrop { background:#061615d9; backdrop-filter:blur(5px); }
#birth-onboarding-dialog h2,#birth-preview-onboarding-dialog h2 { margin:8px 0; color:#eddbb8; font:600 clamp(22px,5vw,28px)/1.35 'Pridi','Sarabun',sans-serif; }
#birth-onboarding-dialog p,#birth-preview-onboarding-dialog p { color:#b8c9bd; font-size:15px; line-height:1.7; }
#birth-onboarding-dialog>label[for],#birth-preview-onboarding-dialog>label[for] { display:block; margin:14px 0 5px; color:#eddbb8; }
#birth-onboarding-dialog input[type=date],#birth-preview-onboarding-dialog input[type=date] { width:100%; min-height:48px; padding:9px 12px; border:1px solid #d8c49d66; border-radius:10px; color:#e9e5d7; color-scheme:dark; background:#0e211f; font:16px 'Sarabun',sans-serif; }
#birth-onboarding-dialog .birth-profile-consent,#birth-preview-onboarding-dialog .birth-profile-consent { margin:14px 0; }
#birth-onboarding-error,#birth-preview-onboarding-error { min-height:1.5em; color:#ffb2a4; }
#birth-onboarding-dialog .birth-profile-actions,#birth-preview-onboarding-dialog .birth-profile-actions { display:grid; grid-template-columns:1fr 1fr; }
#birth-onboarding-dialog .birth-profile-actions button,#birth-preview-onboarding-dialog .birth-profile-actions button { min-height:46px; }
.boot-screen { position:fixed; inset:0; z-index:10000; display:grid; place-content:center; justify-items:center; gap:12px; padding:24px; color:#eddbb8; background:radial-gradient(ellipse at 50% 44%,#183330 0%,#102725 42%,#0a1c1b 100%); transition:opacity .45s ease,visibility .45s ease; }
.boot-screen.is-ready { opacity:0; visibility:hidden; pointer-events:none; }
.boot-moon { width:58px; height:58px; fill:none; stroke:#d8c49d; stroke-width:1.5; stroke-linecap:round; stroke-linejoin:round; filter:drop-shadow(0 0 18px #d8c49d55); animation:boot-breathe 2s ease-in-out infinite; }
.boot-screen strong { font:700 24px/1.2 'Cormorant Garamond','Pridi',serif; letter-spacing:.05em; }
.boot-screen>span:not(.boot-progress) { color:#b8c9bd; font-size:14px; }
.boot-progress { width:min(190px,58vw); height:3px; overflow:hidden; border-radius:9px; background:#d8c49d30; }
.boot-progress i { display:block; width:38%; height:100%; border-radius:inherit; background:#d8c49d; animation:boot-progress 1.3s ease-in-out infinite alternate; }
@keyframes boot-breathe { 50% { transform:scale(1.06); opacity:.75; } }
@keyframes boot-progress { from { transform:translateX(-15%); } to { transform:translateX(190%); } }
@media(max-width:600px) {
 .birth-reflection { margin:10px 0 14px; }
 .birth-reflection-controls { grid-template-columns:minmax(0,1fr); }
 .birth-reflection-controls button { width:100%; white-space:normal; }
 .birth-reflection-result { grid-template-columns:minmax(0,1fr); }
 .birth-reading-header,.birth-reading-disclaimer { grid-column:1; }
 .birth-profile-actions { display:grid; grid-template-columns:1fr; }
 .birth-profile-actions button { width:100%; }
 #birth-onboarding-dialog .birth-profile-actions,#birth-preview-onboarding-dialog .birth-profile-actions { grid-template-columns:1fr; }
}


/* shop.css */
#scene-shop { max-width:1000px; }
.shop-intro { text-align:center; }
.shop-intro h2 { font:400 30px/1.6 'Pridi',serif; color:#eee8d8; margin:10px 0; }
.shop-intro p { color:#b9cabe; font-size:16px; line-height:1.8; }
.shop-preview-notice { padding:16px 20px; border:1px solid #d8c49d45; border-radius:14px; background:#18302ed9; font-size:15px; color:#b9cabe; }
.shop-preview-notice strong { color:#e1cfaa; font-weight:500; }
.shop-preview-notice p { margin-top:4px; }
#shop-products { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:24px; }
.shop-product { overflow:hidden; border-radius:16px; background:#17302ddf; border:1px solid #d8c49d30; }
.shop-artwork { padding:20px 20px 0; text-align:center; }
.shop-artwork img { width:100%; max-height:300px; object-fit:contain; border-radius:8px; }
.shop-artwork-set { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); align-items:center; gap:12px; padding:28px; }
.shop-artwork-set img { width:100%; max-height:none; }
.shop-bundle { grid-column:1/-1; }
.shop-product-body { padding:22px; }
.shop-eyebrow { color:#c8b481; font-size:11px; letter-spacing:1.6px; }
.shop-product h3 { font:400 22px/1.6 'Pridi',serif; color:#eee8d8; margin:6px 0; }
.shop-product p { color:#b9cabe; font-size:15px; line-height:1.8; }
.shop-price { font-size:24px; color:#e1cfaa; margin:16px 0; }
.shop-price small { font:13px 'Sarabun',sans-serif; color:#a8bfb2; margin-left:12px; }
.shop-details { width:100%; padding:12px; font-size:16px; }
.shop-footnote { text-align:center; font-size:14px; color:#a8bfb2; line-height:1.8; }
#shop-preview-dialog { width:min(460px,calc(100% - 32px)); margin:auto; padding:32px 24px; border:1px solid #d8c49d60; border-radius:18px; background:#17302e; color:#eee8d8; max-height:90dvh; overflow:auto; }
#shop-preview-dialog::backdrop { background:#091c1deb; backdrop-filter:blur(6px); }
#shop-preview-close { position:absolute; top:8px; right:8px; width:44px; height:44px; color:#b9cabe; }
#shop-preview-title { font:400 24px/1.6 'Pridi',serif; margin:12px 0; }
#shop-preview-items { list-style:none; padding:0; margin:18px 0; }
#shop-preview-items li { display:flex; align-items:flex-start; justify-content:space-between; gap:12px; font-size:16px; padding:12px 0; border-bottom:1px solid #d8c49d20; }
#shop-preview-items span, #shop-preview-items strong { text-align:right; max-width:68%; line-height:1.5; }
#shop-preview-items span { color:#c8b481; font-size:12px; }
#shop-preview-price { font-size:22px; color:#e1cfaa; }
.shop-dialog-note { font-size:14px; color:#b9cabe; line-height:1.8; margin:18px 0; }
#shop-preview-dialog button:disabled { width:100%; padding:12px; opacity:.5; cursor:not-allowed; }
.game-bottom-dock { gap:20px; }
@media(max-width:640px) {
 #shop-products { gap:16px; }
 .shop-artwork { padding:12px 12px 0; }
 .shop-artwork-set { padding:16px; gap:7px; }
 .shop-product-body { padding:14px; }
 .shop-product h3 { font-size:18px; }
 .shop-product p { font-size:14px; }
 .shop-price { font-size:22px; }
 .shop-price small { display:block; margin:0; font-size:12px; }
 .shop-details { font-size:14px; }
 .game-bottom-dock { gap:0; }
 .game-tab-label { font-size:12px; }
}

.shop-product { display:flex; flex-direction:column; }
.shop-product-body { display:flex; flex-direction:column; flex:1; }
.shop-price { margin-top:auto; padding-top:16px; }
@media (min-width:1024px) {
  #scene-shop { width:min(100%,1280px); max-width:1280px; gap:12px; padding-top:14px; }
  #scene-shop .shop-intro h2 { font-size:26px; margin:4px 0; }
  #scene-shop .shop-intro p { font-size:15px; line-height:1.6; }
  #scene-shop .shop-preview-notice { padding:10px 16px; font-size:14px; }
  #shop-products { grid-template-columns:repeat(4,minmax(0,1fr)); gap:16px; }
  .shop-karma-art { min-height:86px; font-size:32px; }
  .shop-karma-art svg { width:44px; height:44px; }
  .shop-product-body { padding:14px 16px; }
  .shop-product h3 { font-size:19px; margin:4px 0; }
  .shop-product p { font-size:13.5px; line-height:1.55; }
  .shop-price { margin:8px 0; padding-top:6px; font-size:21px; }
  .shop-details { padding:9px 12px; font-size:15px; min-height:40px; }
}

/* online.css */
.account-auth{display:flex;align-items:center;justify-content:space-between;gap:1rem;flex-wrap:wrap;padding:1rem 1.25rem;margin:1rem 0;background:#1b3331;border:1px solid #5e6551;border-radius:1rem;color:#eddbb8}.account-auth p{margin:0;font-size:1rem}.account-auth button[hidden]{display:none}#auth-dialog{max-width:min(92vw,440px);width:100%;border:1px solid #8d7855;border-radius:1.25rem;padding:1.5rem;background:#172d2b;color:#f3e6ca;box-shadow:0 24px 80px #0009}#auth-dialog::backdrop{background:#091b1bd9}#auth-dialog h2{font-size:1.6rem;margin:.5rem 0}#auth-dialog p{line-height:1.5}#auth-dialog form{display:grid;gap:1rem;margin:1.25rem 0}#auth-dialog label{display:grid;gap:.35rem;font-size:1rem}#auth-dialog input:not([type=hidden]){width:100%;padding:.75rem;border:1px solid #867756;border-radius:.6rem;color:#fff;background:#0d2424;font:inherit}#auth-dialog button{min-height:44px}#auth-close{float:right;color:#f3e6ca;font-size:1.5rem}#auth-switch{color:#ecd5a3;text-decoration:underline}#auth-error{color:#ffaba0;margin:0}#auth-refresh{background:transparent;border:1px solid #9b8964;color:#ecd5a3;padding:.7rem 1rem;border-radius:.6rem;cursor:pointer}#auth-refresh[hidden]{display:none}#payment-qr{display:block;max-width:240px;width:100%;margin:1rem auto;background:white;padding:.75rem;border-radius:.75rem}#payment-qr[hidden]{display:none}

/* lore.css */
.lore-progress { margin:14px 0; padding:15px 18px; border:1px solid #d8c49d35; border-radius:12px; background:#17302e; color:#d8c49d; font-size:16px; line-height:1.8; }
.lore-read-button { display:block; padding:12px 20px; margin:12px auto 0; border:1px solid #d8c49d70; border-radius:12px; color:#eee8d8; background:#25463f; font:500 16px/1.6 'Sarabun',sans-serif; cursor:pointer; }
.lore-read-button[hidden] { display:none; }
.lore-read-button:disabled { opacity:.65; cursor:default; }
.lore-read-button:focus-visible,.gift-odds summary:focus-visible { outline:2px solid #e1cfaa; outline-offset:4px; }
#lore-dialog { width:min(650px,calc(100% - 28px)); max-height:88dvh; margin:auto; padding:40px 32px 28px; border:1px solid #d8c49d65; border-radius:20px; background:linear-gradient(145deg,#203c35,#112828); color:#eee8d8; overflow:auto; }
#lore-dialog::backdrop { background:#081919ed; backdrop-filter:blur(6px); }
#lore-dialog .lore-close-form { position:absolute; top:12px; right:12px; z-index:2; margin:0; }
.lore-close { appearance:none; display:grid; place-items:center; width:44px; height:44px; padding:0; border:1px solid #d8c49d70; border-radius:50%; background:#102825; color:#e1cfaa; font:400 18px/1 'Sarabun',sans-serif; cursor:pointer; }
.lore-close:focus-visible { outline:2px solid #e1cfaa; outline-offset:3px; }
#lore-title { font:400 28px/1.6 'Pridi',serif; margin:12px 0; }
#lore-content { font:400 17px/2 'Sarabun',sans-serif; }
#lore-content p { margin:14px 0; }
#lore-content h3 { font:500 20px/1.7 'Pridi',serif; margin-top:26px; color:#e1cfaa; }
#lore-content a { color:#d8c49d; text-decoration:underline; font-size:15px; }
#lore-content .lore-tradition,#lore-content .lore-fiction-note { color:#b9cabe; font-size:14px; }
#lore-content .lore-card-code { color:#d8c49d; font-size:12px; letter-spacing:.04em; }
.gift-odds { max-width:700px; width:100%; margin:24px auto; padding:16px 20px; background:#17302ed9; border:1px solid #d8c49d35; border-radius:14px; font:400 15px/1.8 'Sarabun',sans-serif; color:#b9cabe; }
.gift-odds summary { cursor:pointer; color:#e1cfaa; font-size:16px; }
.gift-odds p { margin:12px 0; }
.shop-karma-art { min-height:145px; display:flex; align-items:center; justify-content:center; gap:18px; color:#d8c49d; font:400 42px 'Pridi',serif; background:radial-gradient(ellipse at center,#d8c49d15,transparent 70%); border-bottom:1px solid #d8c49d20; }
.shop-karma-art svg { width:58px; height:58px; }
@media(max-width:600px) { #lore-dialog { padding:42px 22px 24px; } #lore-title { font-size:24px; } #shop-products { grid-template-columns:1fr; } .shop-karma-art { min-height:115px; } }

/* extra-divination.css */

/* Additional divination tools */
.v2-coming-section .v2-section-title{font-family:'Pridi','Sarabun',sans-serif;font-size:24px;line-height:1.5;font-weight:500;letter-spacing:0;text-transform:none;margin:0 0 14px;color:#eddbb8}
.extra-divination-scene{width:min(100%,850px);margin-inline:auto;justify-content:flex-start!important;gap:20px!important;padding:30px clamp(16px,4vw,45px)!important;min-height:550px!important}
.extra-divination-header{text-align:center}
.extra-divination-header h2{font:500 clamp(27px,4vw,35px)/1.5 'Pridi','Sarabun',sans-serif;color:#edd8a9;margin:6px 0}
.extra-divination-header p{font-size:16px;color:#b7c7be;line-height:1.8;max-width:620px;margin:0 auto}
.extra-divination-panel{display:grid;gap:14px;padding:clamp(18px,4vw,28px);background:#142b29ed;border:1px solid #dbc39455;border-radius:22px}
.extra-divination-panel label{font-size:16px;color:#eaddb9;font-weight:600}
.extra-divination-panel input{background:#0c201f;border:1px solid #dbc39465;border-radius:12px;color:#f6efe2;color-scheme:dark;min-height:48px;padding:10px 14px;width:100%;font:16px 'Sarabun',sans-serif}
.extra-divination-action,.extra-divination-secondary{border-radius:12px;min-height:48px;padding:11px 16px;cursor:pointer;font:600 16px 'Sarabun',sans-serif}
.extra-divination-action{background:linear-gradient(120deg,#e6d3ab,#c7b084);color:#20312c;border:1px solid #e6d3ab}
.extra-divination-action:disabled{cursor:default;opacity:.55;filter:grayscale(.4)}
.extra-divination-secondary{background:#122725;color:#dcc698;border:1px solid #dbc39455}
.extra-divination-note,.extra-divination-disclaimer{font-size:14px;line-height:1.7;color:#a6bbb0;margin:0}
.extra-divination-disclaimer{text-align:center}
.extra-divination-error{color:#ffc2b4;font-size:14px;margin:0}
.extra-divination-error:empty{display:none}
.extra-divination-result{padding:18px;border:1px solid #dbc39444;border-radius:16px;background:#0d2222;color:#dbe8df;line-height:1.8}
.extra-divination-result[hidden]{display:none!important}
.extra-divination-result h3{font:500 25px/1.5 'Pridi','Sarabun',sans-serif;color:#ead4a4;margin:0 0 10px}
.extra-divination-result h4{font-size:17px;color:#ecdab5;margin:12px 0 4px}
.extra-divination-result p{font-size:15px;line-height:1.8;margin:5px 0}
.extra-number-row{display:flex;gap:12px;flex-wrap:wrap}
.extra-number-box{background:#203833;padding:12px 15px;border-radius:12px;min-width:130px;text-align:center;flex:1}
.extra-number-box strong{display:block;font-size:32px;line-height:1.3;color:#f0d7a5}
.extra-number-box span{display:block;font-size:13px;color:#bad0c4}
.iching-lines{display:flex;flex-direction:column-reverse;gap:8px;width:min(260px,100%);margin:4px auto;min-height:18px}
.iching-line{display:flex;justify-content:center;gap:24px;align-items:center;height:20px;width:100%}
.iching-line i{height:15px;flex:1;border-radius:2px;background:linear-gradient(90deg,#ad9562,#f3dcaa);display:block}
.iching-line.yang i{flex:1}
.iching-line.yin i{flex:1}
.iching-line.yang i+ i{display:none}
.iching-line.yang{gap:0}
.iching-line.changing i{box-shadow:0 0 0 2px #afc99f80}
.iching-line.changing:after{content:'✧';margin-left:8px;color:#c8daab;font-size:14px}
.iching-summary{display:flex;gap:18px;justify-content:space-evenly;flex-wrap:wrap}
.iching-summary>div{text-align:center;min-width:140px}
.iching-summary .iching-lines{width:132px;gap:5px;margin:8px auto}
.iching-summary .iching-line{height:11px;gap:12px}
.iching-summary .iching-line i{height:9px}
.extra-rune-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
.extra-rune-card{padding:16px 11px;border:1px solid #dbc39455;background:#203733;border-radius:14px;text-align:center;min-width:0}
.extra-rune-mark{font-size:55px;color:#ead4a4;line-height:1.3}
.extra-rune-card strong{display:block;color:#f1dbac;font-size:18px}
.extra-rune-card small{display:block;font-size:12px;color:#aabfb4}
.extra-rune-card p{font-size:13px;line-height:1.65;margin-top:8px}
@media(max-width:480px){.extra-rune-grid{grid-template-columns:1fr}.extra-rune-card{display:grid;grid-template-columns:75px 1fr;text-align:left;column-gap:12px}.extra-rune-mark{grid-row:span 3;align-self:center;text-align:center}.extra-rune-card p{margin-top:4px}.extra-divination-scene{gap:16px!important}}

/* account.css */
#open-account { text-align:left; cursor:pointer; font:inherit; color:inherit; }
#open-account:focus-visible { outline:2px solid #d8c49d; outline-offset:4px; }
#scene-account { width:100%; max-width:920px; margin-inline:auto; color:#eee8d8; }
.account-heading { text-align:center; margin-bottom:22px; }
.account-heading h2 { font:400 30px/1.6 'Pridi',serif; }
.account-heading p,.account-section>p,.account-local-note { color:#b9cabe; font-size:15px; line-height:1.9; }
#account-summary,.account-section { border:1px solid #d8c49d35; border-radius:18px; padding:24px; background:#17302ee6; }
.account-identity { display:flex; gap:20px; align-items:center; }
.account-identity img { width:86px; height:86px; }
.account-identity h3 { font:400 23px/1.7 'Pridi',serif; }
.account-identity span,#account-summary>p { color:#d8c49d; font-size:15px; }
#account-summary progress { display:block; width:100%; height:8px; margin:22px 0 12px; accent-color:#d8c49d; }
.account-stats { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:16px; margin-top:22px; }
.account-stats strong,.account-stats span { display:block; }
.account-stats strong { font-size:22px; color:#e1cfaa; }
.account-stats span { font-size:14px; color:#b9cabe; }
.account-local-note { padding:0 6px; margin:16px 0 24px; }
.account-section { margin-bottom:24px; }
.account-section h3 { font:400 23px/1.6 'Pridi',serif; margin-bottom:10px; }
.account-section label { display:block; margin:22px 0 8px; font-size:16px; }
#birth-profile .birth-profile-form>.birth-profile-consent { display:grid; grid-template-columns:20px minmax(0,1fr); align-items:start; gap:12px; margin:0; padding:12px 14px; border:1px solid #d8c49d2b; border-radius:11px; background:#0e211f8c; color:#d4ded4; font:400 15px/1.65 'Sarabun',sans-serif; cursor:pointer; }
#birth-profile .birth-profile-form>.birth-profile-consent[hidden] { display:none; }
#birth-profile .birth-profile-consent input { width:20px; height:20px; margin:2px 0 0; color-scheme:dark; accent-color:#d8c49d; }
#birth-profile .birth-profile-consent span { min-width:0; }
#birth-profile .birth-profile-form>label[for="birth-date"] { margin:4px 0 0; color:#e0d6bb; font-size:15px; }
#account-level-range { width:100%; padding:12px; border:1px solid #d8c49d60; border-radius:10px; background:#102526; color:#eee8d8; font:inherit; }
#account-levels { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; margin-top:18px; }
.account-level { display:grid; grid-template-columns:64px minmax(0,1fr); gap:10px 14px; align-items:center; padding:16px; border:1px solid #d8c49d25; border-radius:12px; }
.account-level.is-current { border-color:#d8c49d; background:#d8c49d0d; }
.account-level img { width:64px; height:64px; }
.account-level h4 { font-size:18px; color:#e1cfaa; }
.account-level p { font-size:15px; line-height:1.7; }
.account-level span { color:#b9cabe; font-size:14px; }
.account-level .account-level-status { grid-column:1/-1; color:#d8c49d; }
#account-history { list-style:none; padding:0; }
#account-history li { padding:16px 0; border-bottom:1px solid #d8c49d25; line-height:1.8; overflow-wrap:anywhere; }
#account-history li>span { display:block; color:#a8bfb2; font-size:14px; }
#account-history p { font-size:16px; }
@media(max-width:640px) { #account-summary,.account-section { padding:18px; } #account-levels { grid-template-columns:minmax(0,1fr); } .account-stats { grid-template-columns:repeat(2,minmax(0,1fr)); } .account-identity { gap:12px; } .account-identity img { width:64px; height:64px; } .account-identity h3 { font-size:19px; } }

#account-summary progress { appearance:none; border:0; border-radius:8px; overflow:hidden; background:#304d44; }
#account-summary progress::-webkit-progress-bar { background:#304d44; }
#account-summary progress::-webkit-progress-value { background:#d8c49d; border-radius:8px; }
#account-summary progress::-moz-progress-bar { background:#d8c49d; }


/* guardians.css */
.guardian-avatar { position:relative; display:inline-block; width:86px; height:86px; flex-shrink:0; vertical-align:middle; }
.guardian-avatar img { display:block; position:absolute; inset:0; width:100%!important; height:100%!important; border:0; border-radius:0; object-fit:contain; background:transparent; filter:drop-shadow(0 2px 8px #d8c49d20); }
.guardian-slot { display:block; overflow:visible; box-shadow:none!important; }
.guardian-slot .guardian-avatar { width:100%; height:100%; }
.account-level .guardian-avatar { width:64px; height:64px; }
#guardian-progress { color:#d8c49d; margin:18px 0 12px; }
#guardian-chosen-story { display:flex; flex-direction:column; align-items:stretch; gap:12px; min-width:0; padding:18px 0; }
.guardian-story-heading { display:flex; align-items:center; gap:18px; min-width:0; }
.guardian-story-heading>div:last-child { flex:1; min-width:0; }
.guardian-story-heading .guardian-avatar { width:96px; height:96px; }
.guardian-story-heading h4 { margin:2px 0; font:400 23px/1.45 'Pridi',serif; color:#eee8d8; }
.guardian-story-heading span,.guardian-story-heading p { color:#d8c49d; font-size:15px; line-height:1.6; }
#guardian-chosen-story>p { margin-left:114px; font-size:16px; line-height:1.9; color:#dce3d6; }
.account-level .guardian-avatar img { width:100%!important; height:100%!important; }
.account-level span.account-level-status { grid-column:1/-1; color:#d8c49d; }
.account-level span:not(.account-level-status) { display:block; margin-top:5px; color:#b9cabe; font-size:14px; line-height:1.7; }
@media(max-width:640px) { .guardian-story-heading { align-items:flex-start; gap:12px; } .guardian-story-heading .guardian-avatar { width:72px; height:72px; } .guardian-story-heading h4 { font-size:20px; } #guardian-chosen-story>p { margin-left:0; } }

/* i18n.css */
.language-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  height: 44px;
  padding: 0 7px;
  border: 1px solid rgb(216 196 157 / 35%);
  border-radius: 12px;
  background: rgb(10 29 29 / 88%);
  color: #e8d4a3;
  font: 700 11px/1 "Sarabun", sans-serif;
  letter-spacing: .06em;
  cursor: pointer;
  transition: border-color .2s ease, background .2s ease, transform .2s ease;
}
.language-toggle:hover { border-color: #d8c49d; background: #16302d; }
.language-toggle:active { transform: scale(.94); }
.language-toggle:focus-visible { outline: 2px solid #e8d4a3; outline-offset: 2px; }

html[lang="en"] body { font-family: "Sarabun", sans-serif; }
html[lang="en"] [class~="font-['Pridi']"] {
  font-family: "Cormorant Garamond", "Sarabun", serif !important;
  letter-spacing: .015em;
}
html[lang="en"] [class~="font-['Cinzel']"] {
  font-family: "Cinzel", "Cormorant Garamond", serif !important;
}
html[lang="en"] .reading-intro h1,
html[lang="en"] .ritual-note h2,
html[lang="en"] .account-heading h2,
html[lang="en"] .shop-intro h2,
html[lang="en"] .guardian-story-heading h4 {
  font-family: "Cormorant Garamond", "Sarabun", serif;
}

/* feed.css */

.mystic-feed,.mystic-feed-article{gap:20px!important}
.feed-search-area{display:grid;gap:12px}
#feed-search{width:100%;border:1px solid #d8c49d55;border-radius:14px;background:#102526;color:#f1e9d8;padding:13px 16px;font:16px 'Sarabun',sans-serif}
.feed-filters{display:flex;gap:8px;overflow-x:auto;padding-bottom:8px;scrollbar-width:thin}
.feed-filters button{white-space:nowrap;padding:9px 13px;border:1px solid #d8c49d44;border-radius:999px;background:#17312c;color:#d5c5a8;cursor:pointer;font:14px 'Sarabun',sans-serif}
.feed-filters button.selected{background:#dbc394;color:#172a25}
.feed-cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px}
.feed-card{display:flex;flex-direction:column;overflow:hidden;border:1px solid #d8c49d33;border-radius:20px;background:linear-gradient(155deg,#1c3632,#102323);min-width:0}
.feed-card img{height:180px;width:100%;object-fit:cover;background:#243d36}
.feed-card-copy{padding:16px;display:flex;flex-direction:column;gap:8px;flex:1}
.feed-category{font-size:12px;font-weight:700;color:#dfc58d;letter-spacing:.04em}
.feed-card h3{margin:0;font:500 21px/1.5 'Pridi','Sarabun',serif;color:#f3e5c8}
.feed-card p{margin:0;color:#b4c9bd;line-height:1.75;font-size:14px;flex:1}
.feed-open,.feed-article-actions button{border:1px solid #e0c692;background:#dcc69e;color:#23352e;border-radius:12px;padding:11px 14px;font:700 14px 'Sarabun',sans-serif;cursor:pointer}
.feed-article-body{width:min(100%,760px);margin:0 auto;padding:16px 0}
.feed-article-cover{display:block;width:100%;max-height:350px;object-fit:cover;border-radius:20px;margin-bottom:18px;background:#21362f}
.feed-article-body h1{font:600 clamp(28px,5vw,36px)/1.5 'Pridi','Sarabun',serif;color:#f1debb;margin:10px 0}
.feed-article-body p{font-size:17px;line-height:2;color:#d5dfd7;margin:14px 0}
.feed-article-body .feed-article-lead{font-size:19px;color:#e1d1af}
.feed-article-actions{margin-top:22px;padding-top:18px;border-top:1px solid #d8c49d33;display:grid;gap:10px;justify-items:start}
.feed-article-body .feed-note{font-size:13px;color:#95aaa0}
.feed-home-entry{display:grid;grid-template-columns:48px 1fr auto;gap:8px 12px;text-align:left;align-items:center;padding:16px;border:1px solid #d8c49d66;border-radius:18px;background:linear-gradient(125deg,#31463b,#112725);color:#f1e9d8;cursor:pointer}
.feed-home-entry>span{grid-row:span 2;font-size:35px;color:#e5c99a}
.feed-home-entry strong{font-size:20px}
.feed-home-entry small{font-size:13px;color:#b9c9c1}
.feed-home-entry b{grid-column:3;grid-row:span 2;color:#efdcaf;font-size:13px}
@media(max-width:640px){.feed-cards{grid-template-columns:1fr}.feed-card img{height:200px}.feed-home-entry{grid-template-columns:40px 1fr}.feed-home-entry b{grid-column:2;grid-row:auto}.feed-article-body p{font-size:16px}}

/* Social-first horoscope feed — one immersive post per row. */
.mystic-feed .v2-hub-header h2{font-size:clamp(30px,5vw,38px)}
.mystic-feed .feed-cards{display:flex;flex-direction:column;align-items:center;gap:20px}
.feed-social-post{width:min(100%,680px);display:block;background:linear-gradient(160deg,#1c3634,#0d1f25);border:1px solid #d7c08d4d;border-radius:20px;overflow:hidden;box-shadow:0 12px 34px #0005}
.feed-social-post .feed-post-author{padding:14px 18px;display:flex;align-items:center;gap:10px;color:#f6ebce}
.feed-post-avatar{display:grid;place-items:center;width:42px;height:42px;border-radius:50%;border:1px solid #e3c99680;background:#263d33;color:#f4d8a5;font-size:27px}
.feed-post-author>span:nth-child(2){flex:1;display:grid}
.feed-post-author strong{font-size:16px}
.feed-post-author small{font-size:12px;color:#9fbeb1}
.feed-post-stars{font-size:24px;color:#cdb681}
.feed-social-post .feed-post-cover{position:relative;aspect-ratio:1.7/1;overflow:hidden;background:#142729}
.feed-post-cover img{display:block;width:100%;height:100%;object-fit:cover;opacity:.78}
.feed-post-overlay{position:absolute;inset:0;display:flex;flex-direction:column;align-items:flex-start;justify-content:flex-end;padding:clamp(18px,5vw,34px);background:linear-gradient(180deg,transparent 10%,rgba(10,24,28,.25) 35%,rgba(8,23,26,.92) 100%)}
.feed-post-overlay small{font-size:12px;padding:5px 12px;border:1px solid #dac79766;border-radius:999px;background:#182c2bcc;color:#ffe1aa}
.feed-post-overlay strong{font:600 clamp(24px,5.5vw,37px)/1.38 'Pridi','Sarabun',sans-serif;color:#fff3d2;text-shadow:0 2px 12px #0a171c}
.feed-social-post .feed-card-copy{padding:18px 20px 20px;gap:10px}
.feed-post-hook{color:#f3e7cb!important;font-size:16px!important;font-weight:600}
.feed-post-lines{display:grid;gap:8px}
.feed-post-lines p{color:#c8d7cb!important;font-size:15px!important;line-height:1.8!important}
.feed-post-tags{color:#dcc38c;font-size:13px}
.feed-post-actions{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:4px}
.feed-social-post .feed-post-actions button{cursor:pointer;min-height:44px;border:1px solid #dac79766;border-radius:12px;font:600 14px 'Sarabun',sans-serif}
.feed-social-post .feed-open{background:linear-gradient(120deg,#e6d3ab,#c7b084);color:#233128}
.feed-social-post .feed-share{background:#1b3431;color:#eedbb4}
@media(max-width:480px){.mystic-feed{padding-inline:11px!important}.feed-social-post .feed-post-cover{aspect-ratio:1.15}.feed-post-overlay strong{font-size:clamp(23px,7vw,30px)}.feed-post-overlay{padding:18px}.feed-social-post .feed-card-copy{padding:16px}.feed-post-actions{gap:7px}}

.feed-number-strip{margin-top:6px;padding:12px 14px;background:linear-gradient(120deg,#30473e,#1b302d);border:1px solid #e1c99165;border-radius:13px;color:#f5db9f;font:700 15px 'Sarabun',sans-serif;letter-spacing:.02em}

/* Give social posts more room on desktop while keeping paragraphs comfortably readable. */
@media (min-width:1024px) {
  .mystic-feed .feed-search-area,
  .mystic-feed .feed-cards { width:100%; }
  .mystic-feed .feed-social-post { width:min(100%,1100px); }
  .mystic-feed-article .feed-article-body { width:min(100%,1100px); }
}
