#meaning-groups{display:flex;flex-wrap:wrap;gap:5px;margin:15px 0}#meaning-groups button[aria-pressed=true]{outline:2px solid #b39a72}.mini-study{position:relative}.mini-client{display:flex;align-items:center;gap:18px;margin:20px 0}.mini-client img{width:96px;height:108px;image-rendering:pixelated;border:3px ridge #a28b74;flex:none}.mini-client blockquote{position:relative;margin:0;border-radius:12px 12px 12px 0;padding:18px;background:#382938;color:#eadcc7;flex:1}.mini-table{min-height:330px}.mini-table select{display:block;width:100%;margin:15px 0}.mini-study textarea{width:100%;box-sizing:border-box}.mini-study #mini-timer{position:sticky;top:12px;float:right;z-index:5;font:24px monospace;background:#211523;border:2px ridge #a28b74;color:#e4cfac;padding:8px}.mini-study .time-up{color:#f2a8aa!important}.nudge{animation:mini-nudge .5s ease-in-out infinite;animation-delay:.3s}@keyframes mini-nudge{0%,100%{transform:rotate(0)}30%{transform:rotate(-4deg)}70%{transform:rotate(4deg)}}@media(prefers-reduced-motion:reduce){.nudge{animation:none;outline:2px solid #c5ad87}}@media(max-width:520px){.mini-client{gap:10px}.mini-client img{width:72px;height:81px}.mini-client blockquote{padding:12px;font-size:14px}.mini-table .dealt-card{height:145px}}
.mini-client img{animation:client-arrives .35s steps(4,end) both}@keyframes client-arrives{from{transform:translateY(12px);opacity:0}to{transform:none;opacity:1}}@media(prefers-reduced-motion:reduce){.mini-client img{animation:none}}

.mini-client .mini-person{margin:0;flex:none;text-align:center}.mini-client .mini-person img{display:block;width:96px;height:112px;image-rendering:pixelated}.mini-client .mini-person figcaption{font:11px/1.3 Tahoma,sans-serif;color:#d7c1b0;margin-top:3px}@media(max-width:520px){.mini-client .mini-person img{width:78px;height:91px}.mini-client .mini-person figcaption{font-size:10px}}

.mini-saved-entry{margin:16px 0;padding:14px;border:1px solid #806d7c;background:#201825}.mini-saved-client{display:flex;gap:14px;align-items:center}.mini-saved-client img{width:70px;height:82px;image-rendering:pixelated;border:2px ridge #a28b74;object-fit:cover}.mini-saved-client h3{margin:5px 0}.mini-saved-entry h4{color:#c7b08b;margin-bottom:5px}.mini-saved-text{white-space:pre-wrap;overflow-wrap:anywhere}

/* Match the portraits' native 4:5 pixel grid without stretching. */
.mini-client .mini-person img{box-sizing:content-box;width:96px;height:120px;object-fit:contain;border:2px solid #8d7658;background:#291e2e}
.mini-saved-client img{width:64px;height:80px;object-fit:contain}
@media(max-width:520px){.mini-client .mini-person img{width:80px;height:100px}}
