@font-face{font-family:Miscria;src:url(/assets/fonts/329_Miscria-Medium.ttf) format("truetype");font-display:block}@font-face{font-family:BorisBlackBloxx;src:url(/assets/fonts/1_BorisBlackBloxxFont_BorisBlackBloxx.ttf) format("truetype");font-display:block}:root{--ink: #1d3347;--tile: 50px;--scale: 1;--cols: 16;--pool-cols: 19;--design-w: 1016px;--app-px: 16px;--label-w: 93px;--ctl-w: 71px}*{box-sizing:border-box}html,body{margin:0;min-height:100%}html{overflow-y:scroll}body{background:#0b1420 url(/assets/backgrounds/viewer.jpg) center / cover fixed;font-family:BorisBlackBloxx,system-ui,sans-serif;color:#fff;user-select:none;-webkit-user-select:none;-webkit-tap-highlight-color:transparent}input,textarea{user-select:text;-webkit-user-select:text;font-family:inherit}img{-webkit-user-drag:none}.app{width:var(--design-w);padding:16px var(--app-px) 48px;zoom:var(--scale)}.app.is-dragging,.app.is-dragging *{cursor:grabbing!important}.ink{-webkit-text-stroke:4px var(--ink);paint-order:stroke fill}.btn{height:36px;padding:0 14px;border:0;cursor:pointer;font:14px BorisBlackBloxx,sans-serif;color:#fefefe;background:transparent;-webkit-text-stroke:3px #000;paint-order:stroke fill;border-image:url(/assets/scenes/common/ButtonBGLightBlue.png) 5 fill / 5px / 0 stretch;white-space:nowrap}.btn-green{-webkit-text-stroke-color:#025a20;border-image:url(/assets/scenes/common/ButtonBGLightGreen.png) 5 fill / 5px / 0 stretch}.btn-red{color:#fff9e1;-webkit-text-stroke-color:#4a0c08;border-image:url(/assets/scenes/common/ButtonBGDarkRed.png) 5 fill / 5px / 0 stretch}.btn-gray{font-size:13px;-webkit-text-stroke:3px #2c3342;border-image:url(/assets/scenes/common/Gray.png) 16 fill / 16px / 0 stretch}.btn:hover:not(:disabled){filter:brightness(1.2)}.btn:disabled{filter:brightness(.7);cursor:default}.btn.is-on,.btn.is-on:hover{filter:brightness(.5)}.field{border:0;outline:0;color:#fff;background:transparent;font:16px BorisBlackBloxx,sans-serif;border-image:url(/assets/scenes/common/TextField.png) 5 fill / 5px / 0 stretch;padding:6px 10px}.field::placeholder{color:#9fb0c4}.bar{display:flex;gap:10px;align-items:flex-start;flex-wrap:wrap;margin-bottom:10px}.title-input{flex:1 1 280px;min-width:0;font-size:20px;height:40px;padding:4px 10px 8px}.bar-buttons{display:flex;gap:8px;flex-wrap:wrap}.copy-btn{min-width:104px}.copy-btn:disabled{filter:none;cursor:progress;animation:copy-pulse .9s ease-in-out infinite alternate}@keyframes copy-pulse{to{opacity:.55}}.compact .bar-buttons{flex:1 1 100%;flex-wrap:nowrap}.compact .bar-buttons .btn{flex:1}.tiers{padding:10px;border-image:url(/assets/scenes/common/FilterFrame.png) 16 fill / 16px / 0 stretch}.tier{display:flex;min-height:var(--tile);background:#1a1a17}.tier+.tier{margin-top:2px}.tier-label{flex:0 0 var(--label-w);display:flex;align-items:center;justify-content:center;padding:4px;text-align:center;cursor:pointer;overflow-wrap:anywhere;font-size:22px;line-height:1.1;color:var(--ink)}.tier-items,.pool{display:grid;align-content:start}.tier-items{flex:none;grid-template-columns:repeat(var(--cols),var(--tile))}.tier-ctl{flex:0 0 var(--ctl-w);display:flex;align-items:center;justify-content:center;gap:4px;background:#0f1720}.compact .tier-ctl{flex-direction:column;gap:2px}.compact .gear{width:28px;height:26px}.compact .arrows{flex-direction:row;gap:4px}.compact .up,.compact .down{width:16px;height:16px}.compact .tier-label{font-size:18px}.arrows{display:flex;flex-direction:column;gap:8px}.icon-btn{border:0;padding:0;background:transparent no-repeat center / contain;cursor:pointer}.icon-btn:hover:not(:disabled){filter:brightness(1.2)}.icon-btn:disabled{opacity:.35;cursor:default}.gear{width:34px;height:32px;background-image:url(/assets/scenes/common/Settings.png)}.up,.down{width:18px;height:18px;image-rendering:pixelated}.up{background-image:url(/assets/scenes/common/ScrollbarArrowUp.png)}.down{background-image:url(/assets/scenes/common/ScrollbarArrowDown.png)}.tile{position:relative;width:var(--tile);height:var(--tile);cursor:grab;touch-action:manipulation;-webkit-touch-callout:none}.tile img{position:absolute;inset:0;width:100%;height:100%;pointer-events:none}@media (hover: hover){.tile:hover .tile-av{filter:brightness(1.2)}}.tile.is-held{opacity:.35}.ghost{position:fixed;z-index:1000;transform:translate(-50%,-50%) scale(calc(var(--scale) * 1.08));pointer-events:none;filter:drop-shadow(0 4px 8px rgba(0,0,0,.7))}.pool-panel{position:relative;margin-top:52px;padding:17px;border-image:url(/assets/scenes/common/FilterFrame.png) 16 fill / 16px / 0 stretch}.pool-tab,.popup-tab{position:absolute;left:4px;top:-34px;width:170px;height:60px;z-index:-1;border-image:url(/assets/scenes/common/ButtonBGDarkGreen.png) 7 6 fill / 7px 6px / 0 stretch}.pool-tab span,.popup-tab span{display:flex;align-items:center;justify-content:center;height:42px;font-size:18px;-webkit-text-stroke:5px #304300;paint-order:stroke fill}.pool-tab.is-off{filter:brightness(.55)}.tab-hit{position:absolute;top:-34px;width:170px;height:34px;z-index:1;border:0;padding:0;background:transparent;cursor:pointer}.tab-hit[aria-pressed=true]{cursor:default}@media (hover: hover){.pool-tab.is-off:has(+.tab-hit:hover){filter:brightness(.8)}}.pool-filters{display:flex;flex-wrap:wrap;gap:8px;align-items:center;margin-bottom:7px}.search{flex:1 1 110px;min-width:110px;height:34px}.reset-filters{color:var(--ink);-webkit-text-stroke:0}.els{display:flex;gap:4px}.el{width:34px;height:34px;border:0;padding:0;background:none;cursor:pointer;filter:brightness(.8)}.el img{width:100%;height:100%}.el.is-on{filter:brightness(1.2)}.rars{display:flex;gap:4px;flex-wrap:wrap}.rar{height:32px;padding:0 10px}.count{flex:none;width:100px;text-align:right;white-space:nowrap;font-size:13px;color:#b5c9e4}.pool{grid-template-columns:repeat(var(--pool-cols),var(--tile));overflow-anchor:none;min-height:var(--tile);background:#0a10188c;border-radius:4px}.msg{grid-column:1 / -1;padding:20px;display:flex;gap:12px;align-items:center}.tt{position:fixed;z-index:1100;pointer-events:none;transform:scale(var(--scale));transform-origin:0 0;padding:1px;background:#fefefe;border-radius:4px;box-shadow:1px 1px 0 2px #000000e0}.tt-title{min-height:20px;padding:5px 5px 2px;border-radius:3px;background:linear-gradient(#fff,#d7d7d7);font-size:12px;color:#313c4d;white-space:pre}.toast{position:fixed;left:50%;bottom:24px;z-index:1200;transform:translate(-50%) scale(var(--scale));transform-origin:50% 100%;padding:10px 18px;font-size:15px;border-image:url(/assets/scenes/common/ContentBGDark3Corner.png) 16 4 5 16 fill / 16px 4px 5px 16px / 0 stretch;-webkit-text-stroke:3px var(--ink);paint-order:stroke fill}.scrim{position:fixed;inset:0;z-index:900;background:#00000059;display:flex;align-items:center;justify-content:center}.popup{position:relative;isolation:isolate;padding:8px 7px;flex:none;width:min(420px,calc((100vw - 32px) / var(--scale)));transform:scale(var(--scale));animation:pop-in .35s cubic-bezier(.39,.575,.565,1) both}@keyframes pop-in{0%{transform:translate(-60px) scale(var(--scale));opacity:0}to{transform:scale(var(--scale));opacity:1}}.popup-frame{position:absolute;inset:0;z-index:0;border-image:url(/assets/scenes/common/ButtonBGDarkLightBlue3Corner.png) 21 10 10 21 fill / 21px 10px 10px 21px / 0 stretch}.popup-content{position:relative;z-index:1;padding:18px 14px 16px;display:flex;flex-direction:column;gap:14px;border-image:url(/assets/scenes/common/ContentBGDark3Corner.png) 16 4 5 16 fill / 16px 4px 5px 16px / 0 stretch}.popup-close{position:absolute;right:-20px;top:-18px;width:47px;height:51px;z-index:2;border:0;padding:0;cursor:pointer;background:url(/assets/scenes/common/closebuttonlarge.png) 0 0 / 47px 51px no-repeat}.popup-close:hover{filter:brightness(1.2)}.compact .popup-close{right:-8px}.popup-msg{margin:0;text-align:center;line-height:1.3;-webkit-text-stroke:3.5px var(--ink);paint-order:stroke fill}.label-input{width:100%;height:64px;resize:none;font-size:18px}.swatches{display:flex;flex-wrap:wrap;gap:6px;justify-content:center}.swatch{width:30px;height:30px;border:2px solid rgba(0,0,0,.5);border-radius:50%;padding:0;cursor:pointer;position:relative;overflow:hidden}.swatch.is-on{border-color:#fff;box-shadow:0 0 0 2px var(--ink)}.swatch.custom{background:conic-gradient(red,#ff0,#0f0,#0ff,#00f,#f0f,red)}.swatch.custom input{position:absolute;inset:0;opacity:0;cursor:pointer}.row-actions{display:flex;flex-wrap:wrap;gap:8px;justify-content:center}.tier-items.is-teams{display:grid;grid-template-columns:repeat(auto-fill,calc(4 * var(--tile)));align-content:start;width:calc(var(--cols) * var(--tile))}.team-card{display:flex;flex-direction:column;width:calc(4 * var(--tile));--px: calc(1px / var(--scale) + .005px);border:calc(2 * var(--px)) solid var(--ink);padding:calc(2 * var(--px)) 0;background:#dce9f4;box-shadow:inset 0 var(--px) #fff,inset 0 calc(-2 * var(--px)) #597891;cursor:grab;touch-action:manipulation;-webkit-touch-callout:none}.team-card.is-held{opacity:.35}.team-card,.team-card *{cursor:pointer}.team-card .tile{pointer-events:none}@media (hover: hover){.team-card:hover{filter:brightness(1.08)}}.team-name{height:18px;padding:0 4px;line-height:18px;text-align:center;font-size:13px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;-webkit-text-stroke:3.5px var(--ink);paint-order:stroke fill}.team-mons{display:flex;gap:var(--px);background:#7d8791}.team-mons .tile,.mon.is-empty{flex:1 1 0;width:auto;height:auto;aspect-ratio:1}.mon.is-empty{background:#1d334740;box-shadow:inset 0 0 0 1px #1d334759}.slot{position:relative;width:40px;height:40px;background:#1d3347;flex:none}.mon-av{position:absolute;left:3px;top:3px;width:34px;height:33px;object-fit:contain;pointer-events:none}.mon-rar{position:absolute;left:3px;top:3px;width:33px;height:33px;pointer-events:none}.rating{position:absolute;left:-1px;bottom:-3px;z-index:1;font:12px/1 Miscria,sans-serif;color:var(--rc);-webkit-text-stroke:2px var(--ro);paint-order:stroke fill;pointer-events:none;white-space:nowrap}.rating-sign{font-size:9px;vertical-align:3px}.rating.is-button{pointer-events:auto;border:0;padding:0 3px 0 0;margin:0;background:transparent;cursor:pointer}@media (hover: hover){.rating.is-button:hover{filter:brightness(1.25)}}.tile .rating{left:1px;bottom:0}.builder{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin-bottom:7px}.builder-slots{display:flex;gap:10px;padding:7px 14px 6px;flex:none;border-image:url(/assets/scenes/common/ButtonBGLightBlue.png) 7 5 fill / 7px 5px / 0 stretch}.slot-col{display:flex;flex-direction:column;align-items:center;gap:4px}.slot:not(.is-empty){touch-action:none;cursor:grab}.slot-col.is-held{opacity:.45}.slot-col.is-held .slot{cursor:grabbing}.rating-switch{display:flex;gap:2px;height:17px}.rating-switch.is-empty{visibility:hidden}.rating-switch button{width:19px;height:17px;padding:0;border:0;border-radius:3px;cursor:pointer;display:flex;align-items:center;justify-content:center;background:#1d33472e;opacity:.45}.rating-switch button.is-on{background:var(--ink);opacity:1;cursor:default}@media (hover: hover){.rating-switch button:not(.is-on):hover{opacity:.8}}.rating-switch .rating{position:static}.slot.is-empty{background:#1d334759;box-shadow:inset 0 0 0 2px #1d3347b3}.slot-remove{position:absolute;inset:0;border:0;padding:0;background:transparent;cursor:pointer}@media (hover: hover){.slot-remove:hover .mon-av{filter:brightness(1.2) saturate(.6)}}.builder-name{flex:0 1 230px;min-width:150px;height:40px;padding:4px 10px 8px;margin-top:4px}.tile.is-pick{cursor:copy}.tier-pick{min-width:64px;height:40px;padding:0 14px;cursor:pointer;border:2px solid rgba(0,0,0,.45);border-radius:6px;font:18px BorisBlackBloxx,sans-serif;color:var(--ink)}@media (hover: hover){.tier-pick:hover{filter:brightness(1.12)}}.menu-card{display:flex;justify-content:center}.menu-card .team-card{cursor:default;filter:none}
