/* ---------- screens: hub, codex, pre-fight, results ---------- */
.btn.big.hub { align-items: center; }
.btn.big.hub .sub { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
.btn.item.add { color: #b3261e; justify-content: center; border-style: dashed; font-weight: 900; }
.btn.item .seal { width: 22px; height: 22px; font-size: 14px; }
.btn.slot .snm { font-size: 17px; }
.btn.look { font-size: 17px; }
.grid3 { align-content: start; grid-auto-rows: minmax(92px, auto); }

.pfpanel { display: flex; flex-direction: column; align-items: stretch; gap: 8px; padding: 12px 14px; text-align: center; animation: drop 0.32s cubic-bezier(0.3, 1.5, 0.5, 1) both; }
#root.pimg .pfpanel { padding: 0 2px; }
.pfpanel h2 { margin: 0; font-size: 22px; font-weight: 900; color: #5a544b; letter-spacing: 0.06em; }
.pfpanel .pfname { font-size: 27px; font-weight: 900; color: #b3261e; line-height: 1.15; text-shadow: 1px 1px 0 rgba(21, 19, 15, 0.15); }
.pfpanel p { margin: 0; font-size: 16px; font-weight: 700; color: #2a2620; line-height: 1.35; }
.pfpanel .pfhp { color: #b3261e; font-weight: 900; }
.pfmoves { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; margin: 2px 0 4px; }
.pfmoves span { font-size: 15px; font-weight: 800; padding: 3px 9px; border: 2px solid rgba(21, 19, 15, 0.6); border-radius: 3px 8px 4px 7px; background: rgba(255, 255, 255, 0.55); }
.pfpanel .grow { flex: 1; min-height: 0; }
.pfpanel .btn { width: 100%; flex: none; }

.result h2 { font-size: 50px; letter-spacing: 0.08em; line-height: 1.05; }
.result p.big { font-size: 22px; font-weight: 900; color: #15130f; }
.result .mbtns { flex-wrap: wrap; }

.namechips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.btn.namechip { flex: 1 1 28%; min-width: 0; font-size: 16px; padding: 0 6px; }
.modal .field + .namechips { margin-top: 10px; }
.modal textarea.field { margin-top: 2px; }
.mextra { flex: none; }
