.hero-tools{display:flex;align-items:center;justify-content:center;gap:10px;flex-wrap:wrap}.catalogue-shortcut{border:2px solid #ffe5a1;border-radius:9px;background:linear-gradient(#fff0b9,#f5c25e 52%,#de982f);color:#2b160b;font:700 14px var(--title);padding:11px 22px;min-height:46px;max-width:100%;box-shadow:inset 0 1px #fff8dd,0 0 0 3px #a573374a,0 5px 22px #efac3544;text-shadow:0 1px #fff4c680}.catalogue-shortcut:hover{filter:brightness(1.1)}
#cards-dialog{width:min(900px,calc(100vw - 26px));max-height:calc(100svh - 30px);padding:22px 24px 12px;overflow:hidden}#cards-dialog[open]{display:flex;flex-direction:column;gap:14px}.card-reference-heading{display:flex;align-items:center;gap:15px;justify-content:space-between;flex-shrink:0}.card-reference-heading>div{min-width:0}.card-reference-heading .eyebrow{font-size:9px;margin:0 0 5px}.card-reference-heading h2{font:600 25px var(--title);margin:0 0 5px}.card-reference-heading p:last-child{font:12px/1.5 'Segoe UI',sans-serif;color:#cfbddb;margin:0;text-wrap:balance}.card-reference-heading button{font-size:12px;padding:9px 14px;flex-shrink:0}.reference-scroll{min-height:0;overflow:auto;overscroll-behavior:contain;scrollbar-color:#a47d46 #1d1226}.reference-table{width:100%;table-layout:fixed;border-collapse:separate;border-spacing:0;font-family:'Segoe UI',sans-serif}.reference-family-column{width:24%}.reference-table th,.reference-table td{padding:5px;border-bottom:1px solid #aa844330}.reference-table thead th{position:sticky;top:0;z-index:2;background:#29182c;font:600 12px var(--title);padding:12px 4px;box-shadow:0 1px #ae854c80}.reference-table thead th:first-child{text-align:left;padding-left:10px}.reference-table tbody th{text-align:left;font:600 13px/1.35 var(--title);color:#edd4a0;text-wrap:balance;overflow-wrap:anywhere}.reference-rank{display:inline-grid;place-items:center;min-width:23px;height:23px;border:1px solid #b28b4a77;border-radius:50%;font:600 11px 'Segoe UI',sans-serif;color:#f8dfab;margin:0 8px 0 0;vertical-align:middle}.reference-table tbody th>span:last-child{vertical-align:middle}.reference-green{color:#a9e767}.reference-blue{color:#7bccff}.reference-orange{color:#ffa14f}.reference-purple{color:#cda2ff}.reference-card{position:relative;display:flex;align-items:center;justify-content:center;gap:12px;min-width:0;width:100%;padding:5px 2px;border:1px solid transparent;border-radius:7px;background:transparent;color:#fae7ba;cursor:zoom-in}.reference-card:hover{background:#51223d55;border-color:#bb905f77}.reference-card img{display:block;object-fit:contain;width:44px;height:60px;flex-shrink:0;filter:drop-shadow(0 2px 4px #0009)}.reference-value{font:600 22px var(--title)}.reference-value small{font:10px 'Segoe UI',sans-serif;color:#c5b2ca}.reference-attack{position:absolute;right:2px;bottom:4px;font-size:8px;color:#f3bd74}.reference-specials{margin:20px 0 8px}.reference-specials h3{font:600 17px var(--title);color:#edcf97;text-align:center;margin:0 0 13px}.reference-specials>div{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}.reference-special{height:100%;flex-direction:column;gap:7px;padding:12px 5px;background:#42243f38;border-color:#b38a4a44}.reference-special img{width:56px;height:77px}.reference-name{font:600 11px var(--title);text-wrap:balance;max-width:100%}.reference-power{font:10px/1.5 'Segoe UI',sans-serif;color:#d4bfd9;text-wrap:balance}.reference-triangle-note,.reference-clock-note{font:11px/1.5 'Segoe UI',sans-serif;color:#c9b5ce;text-align:center;margin:8px 0}.reference-clock-note{flex-shrink:0;font-size:10px;margin:0;color:#ae97b6}.sr-reference{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
@media(max-width:520px){.hero-tools{gap:8px}.catalogue-shortcut{font-size:9px;padding:6px 12px}#cards-dialog{padding:16px 10px 10px;width:calc(100vw - 18px);max-height:calc(100svh - 20px);gap:10px}.card-reference-heading{gap:8px}.card-reference-heading .eyebrow{font-size:7px;letter-spacing:1.6px}.card-reference-heading h2{font-size:19px}.card-reference-heading p:last-child{font-size:10px}.card-reference-heading button{font-size:10px;padding:8px}.reference-family-column{width:24%}.reference-table th,.reference-table td{padding:4px 1px}.reference-table thead th{font-size:8px;padding:9px 1px}.reference-table thead th:first-child{padding-left:3px}.reference-table tbody th{font-size:9px;padding-left:3px}.reference-rank{display:grid;width:19px;min-width:19px;height:19px;margin:0 0 5px;font-size:9px}.reference-card{flex-direction:column;gap:3px;padding:5px 0}.reference-card img{width:32px;height:44px}.reference-value{font-size:15px}.reference-value small{font-size:8px}.reference-attack{font-size:6px;right:0;bottom:20px}.reference-specials>div{grid-template-columns:repeat(2,minmax(0,1fr))}.reference-special{padding:9px 4px;gap:5px}.reference-special img{width:48px;height:66px}.reference-name{font-size:10px}.reference-specials h3{font-size:15px}.reference-power{font-size:9px}.reference-triangle-note{font-size:9px}.reference-clock-note{font-size:8px}}
@media(max-width:520px){.catalogue-shortcut{font-size:12px;padding:10px 17px;min-height:44px;width:min(270px,100%)}}
