.gcell{vertical-align:middle;box-sizing:border-box;border-radius:5px;flex:none;width:48px;height:48px;display:inline-block;position:relative}.gcell .gcell-ic{justify-content:center;align-items:center;display:flex;position:absolute;inset:13%}.gcell .gcell-ic .gi{object-fit:contain;image-rendering:auto;width:100%;height:100%}.gcell .gcell-emoji{font-size:20px;line-height:1}.gcell .gcell-fr{pointer-events:none;image-rendering:auto;width:100%;height:100%;position:absolute;inset:0}.gcell.g-god{box-shadow:0 0 6px #fff8e0aa}.gcell.gcell-stack{background:#171b26;border:1px solid #3a4256;border-radius:7px}.gcell .gcell-plus{z-index:2;color:#fff3cc;pointer-events:none;white-space:nowrap;background:#10121b;border-radius:2px;padding:0 2px;font:700 10px/1.15 Arial,sans-serif;position:absolute;bottom:2px;right:2px}.gcell .gcell-lock{z-index:2;pointer-events:none;position:absolute;top:1px;left:1px}.gcell .gcell-lock img{width:12px;height:12px;display:block}.gcell .gcell-eq{z-index:2;color:#ffe08a;text-align:center;pointer-events:none;background:#2a2210;border:1px solid #e8bd4a;border-radius:3px;min-width:12px;padding:0 2px;font:800 8px/10px Segoe UI,system-ui,sans-serif;position:absolute;top:1px;right:1px}.gcell .gcell-count{z-index:2;white-space:nowrap;color:#f3f6fb;text-shadow:0 1px 2px #000,0 0 2px #000,0 0 2px #000;pointer-events:none;max-width:calc(100% - 4px);font-size:10px;font-weight:800;line-height:13px;position:absolute;bottom:0;right:2px;overflow:hidden}.gcell .gcell-tier{z-index:2;color:#c9d6ee;text-shadow:0 1px 2px #000,0 0 2px #000;pointer-events:none;font-size:8px;font-weight:800;line-height:10px;position:absolute;top:1px;left:2px}.ui-cell{color:inherit;font:inherit;background:0 0;border:0;border-radius:7px;margin:0;padding:0;line-height:0;display:inline-flex;position:relative}button.ui-cell{cursor:pointer}button.ui-cell:hover:not(:disabled){filter:brightness(1.25)}button.ui-cell:focus-visible{outline:2px solid var(--gold-bright,#f0d878);outline-offset:1px}.ui-cell.is-selected:after{content:"";pointer-events:none;border-radius:7px;position:absolute;inset:0;box-shadow:inset 0 0 0 2px #f2c94c,0 0 8px #f2c94c66}.ui-cell.is-disabled{opacity:.45;cursor:not-allowed}.omf-refine-light{place-items:center;width:100%;height:100%;display:grid;position:relative;overflow:visible}.omf-refine-light>.gi{filter:drop-shadow(0 0 calc(1px + var(--rl) * 3px) rgba(255, 221, 146, calc(.45 + var(--rl) * .45)));animation:4.8s ease-in-out infinite omf-rl-pulse}.omf-refine-light:before{content:"";z-index:-1;background:radial-gradient(circle, rgba(244, 225, 187, calc(.18 + var(--rl) * .3)), transparent 68%);pointer-events:none;border-radius:50%;position:absolute;inset:-10%}@keyframes omf-rl-pulse{0%,to{filter:drop-shadow(0 0 calc(1px + var(--rl) * 2px) rgba(255, 221, 146, calc(.4 + var(--rl) * .4)))}50%{filter:drop-shadow(0 0 calc(2px + var(--rl) * 4px) rgba(255, 221, 146, calc(.55 + var(--rl) * .45)))}}html[data-omf-fx-paused] .omf-refine-light>*{animation-play-state:paused}@media (prefers-reduced-motion:reduce){.omf-refine-light>.gi{animation:none}}
.cfm-backdrop{z-index:5100;background:#04060c9e;justify-content:center;align-items:center;padding:16px;display:flex;position:fixed;inset:0}.cfm{box-sizing:border-box;color:#e8ecf5;background:#171b26;border:1px solid #3a4157;border-radius:10px;width:min(460px,100%);max-height:calc(100vh - 32px);padding:16px 18px;font:14px/1.4 Segoe UI,system-ui,Noto Sans Thai,sans-serif;overflow:auto;box-shadow:0 10px 40px #0000008c}.cfm h2{color:#ffd76a;align-items:center;gap:8px;margin:0 0 10px;font-size:16px;display:flex}.cfm h2>img{object-fit:contain;flex:none}.cfm ul{gap:5px;margin:0;padding-left:18px;line-height:1.4;display:grid}.cfm .cfm-note{color:#9aa3b8;margin:10px 0 0;font-size:12.5px}.cfm-btns{justify-content:flex-end;gap:10px;margin-top:16px;display:flex}.cfm-btns button{color:#e8ecf5;min-width:96px;min-height:36px;font:inherit;cursor:pointer;background:#232a3a;border:1px solid #47506a;border-radius:7px;padding:6px 14px;font-weight:600}.cfm-btns button.pri{background:#3a6b3a;border-color:#5f9e5f}.cfm-btns button.danger{background:#7a2530;border-color:#c2414f}.cfm-btns button:focus-visible{outline-offset:2px;outline:2px solid #ffd76a}
.omf-grade{--size:32px;--fx:#c7cbd4;--period:4s;--delay:0s;vertical-align:middle;color:var(--fx);flex-direction:column;align-items:center;gap:3px;font:600 12px/1.25 Segoe UI,system-ui,sans-serif;display:inline-flex}.omf-grade__stage{width:var(--size);height:var(--size);flex:none;display:block;position:relative}.omf-grade__art{left:calc(var(--size) * -.4242);top:calc(var(--size) * -.4394);width:calc(var(--size) * 1.9394);height:calc(var(--size) * 1.9394);isolation:isolate;pointer-events:none;position:absolute}.omf-grade__image{z-index:1;object-fit:contain;image-rendering:auto;-webkit-user-drag:none;width:100%;max-width:none;height:100%;display:block;position:relative}.omf-grade__name{white-space:nowrap;text-align:center}.omf-grade__status{color:#c9ced8;white-space:nowrap;font:400 11px/1.2 Segoe UI,system-ui,sans-serif}.omf-grade.unknown .omf-grade__stage{border:1px dashed #5d6577;border-radius:50%}.omf-grade.unknown{color:#9aa3b5}.omf-grade[data-grade=cosmic] .omf-grade__name,.omf-grade-name.cosmic{color:#c5b4ff;-webkit-text-fill-color:transparent;background:linear-gradient(90deg,#ff9dca,#ffd68a,#a0efb6,#7ae7ff,#b8a1ff,#ff9dca);-webkit-background-clip:text;background-clip:text}.omf-grade[data-grade=beyond]{--delay:-1.3s}.omf-grade[data-grade=celestial]{--delay:-2.1s}.omf-grade[data-grade=divine]{--period:5s;--delay:-2.8s}.omf-grade[data-grade=cosmic]{--period:4.8s;--delay:-3.1s}.omf-grade__halo,.omf-grade__wash,.omf-grade__spark{pointer-events:none;display:none;position:absolute}.omf-grade[data-fx=true] .omf-grade__image{filter:drop-shadow(0 0 2px var(--fx))}.omf-grade[data-fx=true] .omf-grade__halo{z-index:0;background:radial-gradient(ellipse, var(--fx), transparent 68%);opacity:.16;animation:omf-halo var(--period) ease-in-out var(--delay) infinite;display:block;inset:15%}.omf-grade[data-fx=true] .omf-grade__wash{z-index:2;background:var(--fx);-webkit-mask:var(--asset) center / contain no-repeat;mask:var(--asset) center / contain no-repeat;-webkit-mask:var(--asset) center / contain no-repeat;opacity:.05;animation:omf-face var(--period) ease-in-out var(--delay) infinite;display:block;inset:0}.omf-grade[data-fx=true] .omf-grade__spark{z-index:3;opacity:0;clip-path:polygon(50% 0,62% 38%,100% 50%,62% 62%,50% 100%,38% 62%,0 50%,38% 38%);background:#f6ffff;width:5.36%;height:5.36%;animation:5s ease-in-out infinite omf-twinkle;display:block}.omf-grade__spark.a{top:29%;left:25%;animation-delay:-.5s!important}.omf-grade__spark.b{top:61%;left:69%;animation-delay:-2.7s!important}.omf-grade[data-fx=true] .omf-grade__spark.c{display:none}.omf-grade[data-grade=celestial] .a{top:43%;left:20%;animation-delay:-.9s!important}.omf-grade[data-grade=celestial] .b{top:43%;left:76%;animation-delay:-3.2s!important}.omf-grade[data-grade=divine] .a{top:18%;left:50%;animation-delay:-2s!important}.omf-grade[data-grade=divine] .b{top:49%;left:77%;animation-delay:-4.6s!important}.omf-grade[data-grade=beyond] .omf-grade__spark{background:#b9fff0;width:7.14%;height:7.14%;animation-name:omf-glint;animation-duration:3.6s}.omf-grade[data-grade=beyond] .a{top:40%;left:16%;animation-delay:-.15s!important}.omf-grade[data-grade=beyond] .b{top:40%;left:77%;animation-delay:-1.35s!important}.omf-grade[data-grade=beyond][data-fx=true] .c{width:6.25%;height:6.25%;display:block;top:49%;left:47%;animation-delay:-2.55s!important}.omf-grade[data-grade=cosmic] .omf-grade__spark{width:8.93%;height:8.93%;animation-name:omf-glint;animation-duration:3.2s}.omf-grade[data-grade=cosmic] .a{background:#f2fcff;top:18%;left:47%;animation-delay:-.25s!important}.omf-grade[data-grade=cosmic] .b{background:#b9a1ff;top:48%;left:24%;animation-delay:-1.3s!important}.omf-grade[data-grade=cosmic][data-fx=true] .c{background:#a5f4ff;width:7.14%;height:7.14%;display:block;top:47%;left:72%;animation-delay:-2.35s!important}html[data-omf-fx-paused] .omf-grade__art>*,.omf-grade[data-paused=true] .omf-grade__art>*{animation-play-state:paused!important}.omf-grade[data-locked=true] .omf-grade__stage{opacity:.6;filter:grayscale(.45)}@keyframes omf-halo{0%,to{opacity:.1}50%{opacity:.24}}@keyframes omf-face{0%,to{opacity:.015}50%{opacity:.1}}@keyframes omf-twinkle{0%,55%,to{opacity:0;transform:scale(.6)}68%{opacity:.85;transform:scale(1)}82%{opacity:0;transform:scale(.6)}}@keyframes omf-glint{0%,15%,75%,to{opacity:0;transform:scale(.35)}32%{opacity:1;transform:scale(1.15)}44%{opacity:.35;transform:scale(.6)}53%{opacity:.85;transform:scale(.9)}68%{opacity:0;transform:scale(.3)}}@media (prefers-reduced-motion:reduce){.omf-grade .omf-grade__art>*{animation:none!important}.omf-grade .omf-grade__spark{opacity:0!important}.omf-grade .omf-grade__halo{opacity:.12}.omf-grade .omf-grade__wash{opacity:.03}}@media (forced-colors:active){.omf-grade[data-grade=cosmic] .omf-grade__name,.omf-grade-name.cosmic{-webkit-text-fill-color:CanvasText;color:canvastext;background:0 0}}.omf-grade--row{flex-direction:row;gap:6px}.omf-grade[data-fx-soft=true] .omf-grade__halo,.omf-grade[data-fx-soft=true] .omf-grade__wash{display:none!important}.omf-grade[data-fx-soft=true][data-fx=true] .omf-grade__image{filter:drop-shadow(0 0 1px var(--fx))}.omf-grade[data-fx-soft=true] .omf-grade__spark{width:3.6%!important;height:3.6%!important}.omf-grade[data-fx-soft=true] .omf-grade__spark.a{top:38%!important;left:40%!important}.omf-grade[data-fx-soft=true] .omf-grade__spark.b{top:60%!important;left:58%!important}.omf-grade[data-fx-soft=true][data-fx=true] .omf-grade__spark.c{display:none!important}
.crm-backdrop{z-index:5000;background:#03060c9e;justify-content:center;align-items:center;padding:16px;display:flex;position:fixed;inset:0}.crm{box-sizing:border-box;color:#dfe6f1;background:radial-gradient(at top,#16233a,#0b1120 70%);border:1px solid #c7a24b;border-radius:10px;outline:none;flex-direction:column;align-items:stretch;gap:8px;width:min(470px,100%);max-height:calc(100dvh - 32px);padding:14px 18px 16px;font:13px/1.4 Segoe UI,system-ui,Noto Sans Thai,sans-serif;animation:.18s ease-out crm-in;display:flex;position:relative;box-shadow:0 0 0 1px #4e3c17,0 16px 46px #000c}.crm.crm--sm{width:min(380px,100%)}.crm.crm--lg{width:min(720px,100%)}@keyframes crm-in{0%{opacity:0;transform:scale(.96)}to{opacity:1;transform:none}}@media (prefers-reduced-motion:reduce){.crm{animation:none}}.crm-h{border-bottom:1px solid #4e3c17;flex:none;justify-content:center;align-items:center;min-height:32px;padding:0 34px 8px;display:flex;position:relative}.crm-h h2{letter-spacing:1px;color:#f4ce76;text-align:center;margin:0;font:700 21px Georgia,serif}.crm-x{color:#e6eaf2;cursor:pointer;background:0 0;border:1px solid #0000;border-radius:5px;min-width:32px;min-height:32px;font-size:16px;position:absolute;top:-4px;right:-4px}.crm-x:hover,.crm-x:focus-visible{border-color:#c7a24b;outline:none}.crm-body{scrollbar-width:thin;scrollbar-color:#7d6a3e transparent;flex:auto;min-height:0;overflow-y:auto}.crm-acts{border-top:1px solid #2a3346;flex-wrap:wrap;flex:none;justify-content:center;gap:10px;padding-top:10px;display:flex}.crm-btn{color:#dfe6f1;cursor:pointer;background:#0f1724;border:1px solid #5b6f8d;border-radius:6px;min-width:112px;min-height:34px;padding:6px 14px;font:600 13px Segoe UI,system-ui,sans-serif}.crm-btn:hover,.crm-btn:focus-visible{border-color:#e3b64e;outline:none}.crm-btn:disabled{opacity:.5;cursor:not-allowed}.crm-btn.gold{color:#171107;background:linear-gradient(#f8d67b,#c0902b);border:2px solid #f4ca67;font-weight:800}@media (max-width:560px){.crm-btn{min-width:96px}}
.ui-tabs{flex-wrap:wrap;gap:6px;margin:2px 0 8px;display:flex}.ui-tabs--stretch{grid-auto-columns:minmax(0,1fr);grid-auto-flow:column;display:grid}.ui-tab{color:#cfd6e4;min-width:0;min-height:32px;font:inherit;cursor:pointer;background:#141b2b;border:1px solid #3a4560;border-radius:6px;justify-content:center;align-items:center;gap:6px;padding:6px 10px;font-size:13px;font-weight:700;display:inline-flex}.ui-tab:hover:not(:disabled):not(.on){color:#e8ecf5;border-color:#5b6f8d}.ui-tab.on{color:#ffd479;background:#2a2412;border-color:#f0c040;box-shadow:inset 0 -2px #f0c040}.ui-tab:disabled{opacity:.45;cursor:not-allowed}.ui-tab:focus-visible{outline-offset:1px;outline:2px solid #ffd479}.ui-tab__ic{object-fit:contain;flex:none;width:18px;height:18px}.ui-tab__label{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.ui-tab__badge{color:#fff;text-align:center;background:#7a2530;border-radius:8px;flex:none;min-width:16px;padding:0 4px;font-size:10px;line-height:16px}@media (pointer:coarse){.ui-tab{min-height:40px}}
.ui-tip-anchor{display:contents}.ui-tt{z-index:6000;pointer-events:none;box-sizing:border-box;color:#cfd6e4;white-space:normal;background:#0d1017;border:1px solid #2a3040;border-radius:10px;width:max-content;max-width:min(300px,92vw);padding:7px 10px;font:12px/1.45 Segoe UI,system-ui,Noto Sans Thai,sans-serif;position:fixed;top:0;left:-9999px;box-shadow:0 12px 34px #000000a6}.ui-tt.ui-tt--card{width:300px;max-width:92vw;padding:0 0 10px}.ui-tt .tt-head{text-align:center;background:#11161f;border-top:2px solid;border-bottom:1px solid #232a38;border-radius:10px 10px 0 0;padding:7px 10px;font-size:13px;font-weight:700}.ui-tt .tt-id{align-items:center;gap:10px;padding:9px 11px 7px;display:flex}.ui-tt .tt-ico{background:#070a11;border:1px solid #232a38;border-radius:7px;flex:none;justify-content:center;align-items:center;width:42px;height:42px;font-size:20px;display:flex}.ui-tt .tt-ico>img{object-fit:contain;width:34px;height:34px}.ui-tt .tt-ico .gcell{width:42px;height:42px}.ui-tt .tt-grade{font-size:12px;font-weight:700}.ui-tt .tt-kind{color:#8b94a6;font-size:11px}.ui-tt .tt-desc{color:#98a1b4;border-bottom:1px solid #1c222d;margin-bottom:6px;padding:0 11px 8px;font-size:11px;line-height:1.45}.ui-tt .tt-sec{margin-bottom:7px;padding:0 11px}.ui-tt .tt-sech{color:#e3e9f5;margin-bottom:3px;font-size:11.5px;font-weight:700}.ui-tt .tt-row{justify-content:space-between;align-items:center;gap:8px;padding:1px 0;display:flex}.ui-tt .tt-st{color:#6ea8ff;font-size:11px}.ui-tt .tt-t{color:#7c8598;flex:none;font-size:10px}
