.vocabulary-module{width:740px;height:530px;min-width:340px;min-height:330px}.vocabulary-wall{flex:1;display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,var(--vocab-width,180px)),1fr));gap:28px 20px;align-content:start;padding:25px 10px 18px;background-image:linear-gradient(transparent,transparent)}.vocabulary-module[data-card-size="small"]{--vocab-width:130px}.vocabulary-module[data-card-size="large"]{--vocab-width:235px}.vocabulary-card{position:relative;min-width:0;transform:rotate(var(--card-turn));border-radius:3px 3px 8px 8px;background:#fff5d6;color:#443b31;box-shadow:0 3px 2px #332a1812,0 9px 18px #332a1812;min-height:120px;animation:vocabularyHang .22s ease-out both}.vocabulary-card::before{content:'';position:absolute;top:-17px;left:-16px;right:-16px;height:1px;background:#b6a48d;pointer-events:none}.vocabulary-card::after{content:'';position:absolute;top:-24px;left:calc(50% - 5px);width:10px;height:33px;border:1px solid #b4966a;border-radius:2px;background:linear-gradient(90deg,#d8bd90,#eee0bd 55%,#ba9b6a);box-shadow:1px 2px 3px #2d251321;pointer-events:none}.vocabulary-card[data-tone="1"]{background:#e3eff9}.vocabulary-card[data-tone="2"]{background:#f5e6ee}.vocabulary-card[data-tone="3"]{background:#e7f1df}.vocabulary-card-content{display:flex;flex-direction:column;justify-content:center;gap:10px;width:100%;height:100%;min-height:120px;padding:25px 15px 19px;background:none;border:0;color:inherit;font-family:inherit;text-align:center;border-radius:inherit}.vocabulary-card-content strong{font-size:clamp(18px,3.2cqw,32px);line-height:1.25;overflow-wrap:anywhere}.vocabulary-card-content span{font-size:12px;line-height:1.55;overflow-wrap:anywhere}.vocabulary-remove{position:absolute;top:5px;right:5px;border:0;border-radius:50%;width:23px;height:23px;background:#ffffff99;color:#443b31;opacity:0}.vocabulary-card:hover .vocabulary-remove,.vocabulary-card:focus-within .vocabulary-remove{opacity:1}.vocabulary-card-content:focus-visible{outline:2px solid #7b7195;outline-offset:3px}@keyframes vocabularyHang{from{opacity:0;transform:translateY(-5px) rotate(0)}to{opacity:1;transform:rotate(var(--card-turn))}}@media(prefers-reduced-motion:reduce){.vocabulary-card{animation:none}}
