.phrase-illustration,.phrase-custom-icon{flex:none;display:block;object-fit:contain}.phrase-mode-options{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:5px;width:100%;max-width:300px;margin:6px auto 8px}.phrase-mode-options .phrase-mode-card{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:flex-start;gap:4px;min-width:0;min-height:76px;padding:6px 4px;border-radius:9px;text-align:center;background:#fff;color:#7e3aa9}.phrase-mode-card .phrase-illustration,.phrase-mode-card .phrase-custom-icon{width:22px;height:22px}.phrase-mode-copy{display:grid;gap:2px;min-width:0}.phrase-mode-copy strong{font-size:12px;line-height:1.2}.phrase-mode-options button small{display:block;margin:0;font-size:10px;font-weight:400;line-height:1.25}.phrase-mode-check{position:absolute;top:4px;right:4px;display:grid;place-items:center;width:14px;height:14px;border-radius:50%;background:#e72dae;color:#fff;font-size:10px}.phrase-category-dialog{width:min(420px,calc(100vw - 24px));max-width:calc(100vw - 24px);max-height:calc(100dvh - 40px);margin:auto;padding:0;overflow-y:auto;border:1px solid #e1aa42;border-radius:14px;color:#7e3aa9;background:#fff7fc;box-shadow:0 8px 30px #61277330;box-sizing:border-box;overscroll-behavior:contain;scrollbar-color:#d7a345 transparent}.phrase-category-dialog::backdrop{background:#33203b66;backdrop-filter:blur(3px)}.phrase-dialog-inner{padding:12px}.phrase-dialog-heading{position:relative;display:block;margin:0 0 10px;padding:0 25px;text-align:center}.phrase-dialog-heading h2{color:#7e3aa9;font-size:17px;line-height:1.25;margin:0 0 4px}.phrase-dialog-heading p{color:#7e3aa9;font-size:11px;line-height:1.3;margin:0 auto}.phrase-dialog-close{position:absolute;right:0;top:0;width:26px;height:26px;display:grid;place-items:center;border:1px solid #e1aa42;border-radius:50%;background:#fff;color:#7e3aa9;font-size:20px;font-weight:700;line-height:1;cursor:pointer}.phrase-category-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}.phrase-category-card{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:flex-start;gap:5px;min-width:0;min-height:104px;padding:7px 5px;border:1px solid #e1aa42;border-radius:9px;background:#fff;color:#7e3aa9;font:inherit;text-align:center;cursor:pointer}.phrase-category-card .phrase-illustration{width:34px;height:34px}.phrase-category-card>div{display:grid;gap:3px;min-width:0;width:100%}.phrase-dialog-heading h2,.phrase-category-card strong,.phrase-mode-copy strong{font-family:StudioRounded,StudioSans,sans-serif;font-weight:800}.phrase-category-card strong{font-size:12px;line-height:1.2;overflow-wrap:anywhere;text-wrap:balance}.phrase-category-card small{font-size:10px;color:#7e3aa9;line-height:1.25;text-wrap:balance}.phrase-category-card.selected{background:#fcebf6;box-shadow:inset 0 0 0 1px #fff1c5}.phrase-category-check{position:absolute;top:4px;right:4px;display:grid;place-items:center;border-radius:50%;background:#e72dae;color:#fff;width:14px;height:14px;line-height:1;font-size:10px}.phrase-mode-card:focus-visible,.phrase-category-card:focus-visible,.phrase-dialog-close:focus-visible{outline:2px solid #ad7724;outline-offset:2px}@media(max-width:329px){.phrase-category-grid,.phrase-mode-options{grid-template-columns:repeat(2,minmax(0,1fr))}.phrase-dialog-inner{padding:9px}}
